Skip to content

Send back all data from server. #64

@ronanyeah

Description

@ronanyeah

Your reducers are manually keeping in sync with the database using filter etc. This is not scalable. Every time you change the database, send back all the posts and set that as the state. This might seem excessive but its much easier to manage. Make sure to use the database ids as component keys so react knows what to render and remove.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions