Reactivity In Vue.js (And Its Pitfalls) – Vue.js Developers

Reactivity In Vue.js (And Its Pitfalls) – Vue.js Developers

One thing we love about Vue is the reactivity system. If we change a data value it triggers an update of the page to reflect that change.

[…]

A student in the Ultimate Vue.js Developers course brought an interesting problem to me the other day. He was working on Vue.js Poster Shop, the first project of the course, which requires you to make a shopping cart using Vue.

[…]

After Vue instantiates we can view this object in the console and see the getters and setters that Vue has defined on it:

[…]