Question · Vue.js course · Module 9: Composables & VueUse

Performance: watch vs watchEffect

When is watch more performant than watchEffect?

Answer options

  • When you need to react to a specific source change without tracking other refs
  • Never, watchEffect is always faster
  • Only in production mode
  • When using TypeScript

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