DEV Community

loading...

Discussion on: Do you need Vuex?

Collapse
kzagoris profile image
Konstantinos Zagoris

You can already apply this technique in Vue 2 using the Observable.Of. I am already doing that in my project using the class-based API. I always favor a reactive class/service for the wide-app state (for login-auth ex) for Angular using Observables, for Vue using Observable.off and local state(which can mutate freely) in each component.