Vue · Middle · Question 4 of 75

What does { deep: true } do on a watcher?

Explanation

Watching a reactive object directly is deep by default; watching a getter is not. Deep watching large structures is expensive - in 3.5 you can pass a number to limit depth.

Further reading

Problem with a question

Vue · Middle · question 4

Test yourself

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

Take this quiz