DEV Community

Discussion on: React: ContextAPI as a State solution? [ UPDATED ]

Collapse
dewaldels profile image
Dewald Els Author

Reading the post again, I’ve actually come to a very similar convulsion in the original referenced article linked at the top of this one. But I think mine might have been a bit unclear in the last conclusion that I don’t believe context should be used as a state management tool.

I’ll update this later this weekend to give more clarity. Thanks for the help.

On a side note, I much prefer the way Vue/Vuex works, and find it hard to adapt to the react way of immutable values. 🤷‍♀️

Collapse
peerreynders profile image
peerreynders

I much prefer the way Vue/Vuex works

Coming from Angular that isn't too surprising and lots of people find Vue's reactivity more natural. In the React ecosystem MobX/Valtio fill that niche.

Thread Thread
dewaldels profile image
Dewald Els Author

I recently discovered Redux Toolkit and I think I’m in love 🥰