Problem Statement
Explain Vue’s reactivity system at a high level.
Explanation
Vue tracks dependencies while rendering: when reactive properties are read, they are recorded; when they change, Vue schedules an update for the components that used them. Vue 3 uses ES2015 Proxies (reactive, ref) to observe reads and writes, enabling more accurate tracking and fewer caveats than Vue 2’s getters/setters.
Practice Sets
This question appears in the following practice sets: