Question · Vue.js course · Module 4: Computed & Watch

Difference between watch and watchEffect

What is the key difference between watch and watchEffect?

Answer options

  • watch requires an explicit source, watchEffect automatically tracks dependencies
  • There is no difference
  • watchEffect is slower
  • watch does not work in Vue 3

You can check the correct answer by solving this task in the CodeWorlds game.