[Vuejs]-Vue.js – state updates but not DOM

0πŸ‘

In vue certain types of data are not reactive (such as nested data), therefore you need to manually force a rerender, in your case put a key on whatever elements are getting updated and in the function where the data is mutated change the key that will force a rerender, if you already have a key then change the existing key and it will rerender the element.

Leave a comment