DEV Community

Dirk Hoekstra
Dirk Hoekstra

Posted on

Pitfalls of Vue's reactivity

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.

View the post here

Top comments (1)

Collapse
 
tobiobeck profile image
Tobi Obeck

You said "Unfortunately, you cannot call the Vue.set() function from the view."

It is possible to call the set function from the template via its alias $set.
vuejs.org/v2/api/#vm-set