-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor (project): component state cleanup #623
Comments
A couple of ideas to keep in mind while moving to a single redux store:
|
|
The cleanup here was mostly done. We need additional refractory but we will open dedicated issues for that |
We have too many redux stores; we should have just one redux store for the entire application. If a component needs local state, it should use react hooks.
While doing this, we should also reduce to a minimum the information passed to sub-components of the project page. Currently, they get the full project state, but they should only receive what they need.
Here are the locations where stores are created:
createStore
StateKind.REDUX
mix
StateKind.REACT
The text was updated successfully, but these errors were encountered: