Data architecture when using Vuex

Aditya Agrawal Response • 1 Posted • Jun 13 2019
I just started using Vuex while reading about the Flux Pattern. I think I understood how it works but I'm not sure how to implement it in my projects.

Let's say I got a usermanagement application. All users are stored in a backend and retrievable via a REST API. Without Vuex I would fetch all members for a list, get single members for update and post/put or delete them after edit. But now with Vuex: Should I fetch all Members, store them in den Vuex Store and send HTTP-Updates whenever the Vuex Store updates? Or is this not what the Vuex Store is ment to be?

I'm thankfull for your ideas, thoughts or links. :)

Write your response...

On a mission to build Next-Gen Community Platform for Developers