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

Flush order in watch

Arrange the watch flush modes from earliest to latest execution:

Items to put in order

  • sync - immediately on change
  • post - after DOM update
  • pre - before DOM update (default)

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