DEV Community

Discussion on: Front-end Fisticuffs: Angular vs React vs Vue in 2019

Collapse
 
seanmclem profile image
Seanmclem

Sorry to nit-pick, but react does have a built in state management functionality now. Context API

Collapse
 
leewarrickjr profile image
Lee Warrick

Thanks for reading!

There's an easy way to share state between multiple components, but as far as a "global state management system" you're either building reducers in your context, building multiple contexts, or using Redux or something similar.

You can use the context API, but you have to build the whole "system" yourself.

Collapse
 
seanmclem profile image
Seanmclem

Only if you choose to make it that complex. It can be less than 20 lines in one file. Seems just as built in as vuex to me. Except you have to install vuex separately