↧
Answer by dynamiclynk for How to update Vue component property when Vuex...
I had this issue when trying to add new properties to my user state so I ended up with this and it works well.Action in Vuex store updateUser (state, newObj) { if (!state.user) { state.user = {} } for...
View ArticleAnswer by António Quadrado for How to update Vue component property when Vuex...
I ended up solving this problem in a different way than what I asked in the question but it may be of interest for some. So here it goes:First I abdicated from having my vue store communicating an...
View ArticleHow to update Vue component property when Vuex store state changes?
I'm building a simple presentation tool where I can create presentations, name them and add/remove slides with Vue js and Vuex to handle the app state. All is going great but now I'm trying to...
View Article