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

Watch on multiple sources syntax

Arrange the watch observing multiple refs simultaneously:

Items to click

  • ([newA, newB], [oldA, oldB]) => { ... }
  • )
  • watch(
  • [refA, refB],

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