watcher on a list Vusjs code example
Example: how to watch for changes within a prop in vue
watch: {
$props: {
handler() {
this.parseData();
},
deep: true,
immediate: true,
},
watch: {
$props: {
handler() {
this.parseData();
},
deep: true,
immediate: true,
},