DEV Community

Discussion on: State Management in React: When to Use What

Collapse
 
singhshemona profile image
Shemona Singh

I like that pattern - letting each page manage its own state!

Do you feel like Redux can be overkill?

Collapse
 
cullophid profile image
Andreas Møller

No I think it solves the wrong problem.
Redux separates your state logic from your view logic. Initially that sounds simpler, but in actuality that doesn't help you when your app scales.

Each new feature you add to your app will lost likely require both view and state updates, so it's usually much more scalable to split your code by feature, than by state/view.