3 ms·
It's important to remember that not all of your state needs to be in Redux. Redux is supposed to supplement local state, not replace it. Create namespaces in y
by Etheryte 10y ago
It's important to remember that not all of your state needs to be in Redux. Redux is supposed to supplement local state, not replace it.
Create namespaces in your store, it helps a ton with maintainability in the long run. Name your mutations consistently: describe what you're doing to what kind of data as briefly as you can.
Keeping these few guidelines in mind, building huge applications using any flux-like pattern is quite straight-forward and easy to reason about.