Vue · Senior · Question 1 of 75

How does Vue 3 track reactive dependencies?

Explanation

Effects (render functions, computed, watchers) register themselves while they run. Proxies also catch property addition/deletion and array index changes, which Vue 2's getters/setters could not.

Further reading

Problem with a question

Vue · Senior · question 1

Test yourself

Take the Vue · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz