DEV Community

Discussion on: You don't have to use Redux

Collapse
 
tapaibalazs profile image
Tápai Balázs

Nice article!

I believe the Context API could be more useful (in certain situations at least), because you are not limited to only one context.

You can create multiple contexts and use them at their places. For example, I can imagine a context related to the user/login state and another context related to application specifics and whatnot.

I don't have much experience with redux, but to me, it feels like it is an excuse for global variables. I'm not so fond of keeping everything in one place. Adds unnecessary complexity. :)