[Vuejs]-Vue watcher's first callback not ordered "correctly" on post-instantiation watchers

0👍

Watchers won’t be intialized on mounted by default, but you can force this behaviour writing your watchers like this:

watch: {
  watchedAtInit: {
    immediate: true,
    handler() {
    // something
    }
  }
}

Leave a comment