DEV Community

Discussion on: React state management. What should I use?

Collapse
 
dorshinar profile image
Dor Shinar

There's no one size fits all answer. It heavily depends on your application size, scale, team size and experience and what kind of things you'll store in your application. I find redux the more powerful of the two (time travel debugging is awesome), and I like having one store for all my FE data. However, context (with hooks) is really easy to work with (I find redux to have quite a steep learning curve), and it comes built in with react, so it saves you one dependency.
I suggest you experiment with both before you make a decision.

Collapse
 
asimdahall profile image
Asim Dahal

Debugging is awesome in redux, totally agree on that.