Edearth / daruma-goals

This is yet another to-do/goal tracking app, based on how daruma toys work
0 stars 0 forks source link

Introduce redux and restructure code #12

Open Edearth opened 3 years ago

Edearth commented 3 years ago

I have attained knowledge of frontend architecture. Thanks to this guy:

I'd like to introduce redux and restructure this mess of an app to make it cleaner, more scalable and easier to understand.

Edearth commented 3 years ago

Before starting I should split state (goals) and features (dancing darumas to show goal progress, goal creation and deletion dialogs, etc) and then split those features into presentation (dumb) and container (smart) components. I should also define user events and how they affect the state with redux.