My Vue views would sometimes refuse to automatically re-render. After slamming Vue.$forceUpdate() everywhere in my codebase, I decided enough was enough and dove into Vue’s reactivity system.
My Vue views would sometimes refuse to automatically re-render. After slamming Vue.$forceUpdate() everywhere in my codebase, I decided enough was enough and dove into Vue’s reactivity system.
Top comments (1)
You said "Unfortunately, you cannot call the Vue.set() function from the view."
It is possible to call the
setfunction from the template via its alias$set.vuejs.org/v2/api/#vm-set