Vue Watch Deep Property
watch: {
item: {
handler(val){
// do stuff
},
deep: true
}
}
Krushn
watch: {
item: {
handler(val){
// do stuff
},
deep: true
}
}
...
watch:{
'item.someOtherProp'(newVal){
//to work with changes in "myArray"
},
'item.prop'(newVal){
//to work with changes in prop
}
}