Question · Vue.js course · Module 1: Vue and Vite

Advanced: The watch() function in Vue

What is the watch() function used for in Vue 3?

Answer options

  • For creating CSS animations
  • For compressing files
  • For managing routing
  • For monitoring changes to reactive data and responding to them
Show the answer

Correct answer:

  • For monitoring changes to reactive data and responding to them