One significant change coming with Vue 3 is the reactivity system implementation.
Vue 2
In Vue 2, to make data reactive, getters and setters of Object.defineProperty
were used. However, this came with a few reactivity caveats.
For instance, to ensure the reactivity of a property on a data object, it must be added to the state during initialization. Vue 2 can’t detect property addition or deletion, as shown in the example below:
Get hands-on with 1400+ tech skills courses.