How to Watch Props Change with Vue Composition API / Vue 3?
If you take a look at watch typing here it’s clear the first argument of watch can be array, function or Ref<T> props passed to setup function is reactive object (made probably by readonly(reactive()), it’s properties are getters. So what you doing is passing the value of the getter as the 1st argument of watch … Read more