Vue · Middle · Question 55 of 75

What does { once: true } do on a watcher (Vue 3.4+)?

Explanation

It replaces manually calling the stop handle inside the callback.

Further reading

Problem with a question

Vue · Middle · question 55

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