DEV Community


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

singhshemona profile image
Shemona Singh Author

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

Do you feel like Redux can be overkill?

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.

Forem Open with the Forem app