how to listen for props changes 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,
},