Closed lauraluiz closed 5 years ago
Instead of using Vuex, Apollo Cache allows us to save and read local state. https://dev.to/n_tepluhina/apollo-state-management-in-vue-application-8k0
Pros: get rid of any additional state management library such as Vuex and keeping only one state source.
Cons: Vuex is very well known and documented, whereas using Apollo for that is still quite obscure and difficult to find information of it.
@lauraluiz what about this issue? That we are actually using Vuex for local state
Yep, I would drop this idea. Specially now that we will have it stored in the localstorage.
Instead of using Vuex, Apollo Cache allows us to save and read local state. https://dev.to/n_tepluhina/apollo-state-management-in-vue-application-8k0
Pros: get rid of any additional state management library such as Vuex and keeping only one state source.
Cons: Vuex is very well known and documented, whereas using Apollo for that is still quite obscure and difficult to find information of it.