DEV Community

Discussion on: How to manage global data with Context API, without Redux on React

Collapse
 
faiwer profile image
Stepan Zubashev

That's why you can replace Redux with Context API with ease

If you want to replace Redux with your own solution using context API (btw redux uses it too under the hood), you need to implement much more code than you did in this article. Otherwise your solution would be extremely slow at big projects.

Thread Thread
 
leob profile image
leob • Edited

That's also what I fear, having read about that in other articles - you can get unnecessary re-renders and so on unless you implement further optimizations - by then you'd start wondering if you threw out the baby with the bath water.