Skip to content

Redux persist #11

@awellsbiz

Description

@awellsbiz

When we reload the page we dont want the data that has been collected to change if we re-render. Look up Redux persist

todo:

  • in the fetchTemplateFromDB function in the FirebaseService.jsx iterate through the array and return the properties needed to display information from the database. The logic is to fetch the data from the DB and display that to the user and allow the user to edit it need be. However, if user clicks create template from the explore page it is to create a new instance of the template in redux, and if published then add to DB.
  • This is making me think that i should use Push instead of set for Firebase

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions