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

When to use watch vs computed

When is it better to use watch instead of computed?

Answer options

  • When you want to calculate display values
  • When you want to filter lists
  • When the data is simple
  • When you need old/new values or need to execute a side effect

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