DEV Community

loading...

Discussion on: what Backend is recommended for VUE or REACT?

aisirachcha21 profile image
Ryan Kuruppu

Not if you're using for it's designated purpose. If you end up making contexts for too many things then you've missed out on using something like Redux to reduce that problem. But using Contexts for the right problem is what makes it useful

Thread Thread
devhammed profile image
Hammed Oyedele

You have been lied to, there is absolutely nothing wrong with context API or creating contexts to handle different things, even react-redux uses it under the hood.

Thread Thread
aisirachcha21 profile image
Ryan Kuruppu

I never said there was anything wrong with it. I simply meant that there's a time and place to use the Context API and that you shouldn't use it for everything. There are times where you may need to shift to something bigger like redux. But you shouldn't if it's not required.