DEV Community

loading...

Discussion on: The biggest mistake library and framework maintainers make

Collapse
sergiodxa profile image
Sergio Daniel Xalambrí

But Vuex is the official solution for state management in Vue right? Redux is an external library, compatible not only with React, and is not even officially enforced. Also there are a lot of data fetchings libs for Redux since data fetching is also not part of the core of Redux, you could just fetch(url).then(res => res.json()).then(data => dispatch(action(data))) and that's all you really need.

Collapse
leoyli profile image
Leo Y. Li • Edited

No one enforce you to use Vuex, if you like you can use Redux even MobX. There are also Rx binding provide from the core team to use those fancy operators. I will say they choose different philosophy. Although Redux is claim to be framework agnostic, but does really people use Redux in Angular... uhm. I'm a both end user, depending on who I'm working with, I can switch Vue and React back and forth.

Thread Thread
buinauskas profile image
Evaldas

NGRX is redux inspired library for angular state management. So people kinda use it. Not directly though

Thread Thread
leoyli profile image
Leo Y. Li

Vuex is also inspired by Redux and Flux too.