[Vuejs]-Vue 3 โ€“ Deeply nested reactive object prop cannot be watched or computed on

0๐Ÿ‘

I think you need to add the deep option to your watch:

watch(state.value.myComp[0], (old, newValue) => {
  console.log(newValue);
}, { deep: true });

More information here

Leave a comment