DEV Community

Discussion on: Is this stack over-engineered?

Collapse
 
kryptonchain profile image
kryptonchain

Instead of vuex suggest to use Observable for simple global state.
vuedose.tips/tips/creating-a-store...

Collapse
 
adam_cyclones profile image
Adam Crockett 🌀

I have found something more suitable and built in to Vue. Provide, inject. This allows DI from a component to descendents. My App component is now a fundamentally a store as well. But because provide is not reactive it does mention passing observables. But there again I don't have a lot of data that needs to be reactive.