Vue Watch Properti Deep
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
}
}