software-students-fall2021 / project-setup-penguin

project-setup-penguin created by GitHub Classroom
3 stars 4 forks source link

update approach to state mgmt in creation flows #57

Closed janethuangg closed 2 years ago

janethuangg commented 2 years ago

This PR should not result in any visual changes; it instead simplifies state management in the creation flows. The key thing to note is that state has been lifted out of the CardEditor and that data is being passed between pages using the state prop of <Link> (some documentation here).

I also created a new file for tracking constants – this is very much a WIP and should be updated to include things like colors.