Put in order · Vue.js course · Module 4: Computed & Watch

Watcher operation stages

Arrange the watch operation stages from source change to callback:

Items to put in order

  • Side effects (e.g., fetch) are executed
  • The callback receives newValue and oldValue
  • Vue detects the change in the next tick
  • The value of the observed source changes

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