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