0👍
Your store is there to share information between components.
Getters should be reactive by default, so your getter isAuthenticated
should be reflected in all components when it changes, however it depends how you’re writing your getters.
If you’re adding properties to objects on the fly in your state, you need to use
Vue.Set/this.$set
Try and take a look at this example, it might help you out.
- [Vuejs]-Vuex: using moduled Mutations and vuex's createNamespacedHelpers API
- [Vuejs]-Vuetify simple table. Convert nested object propertied to <td> columns
Source:stackexchange.com