I want to use watch for a props on a child component, but it's not working.
Here is my code :
props: {
searchStore: {
type: Object
}
},
watch: {
searchStore(newValue) {
alert('yolo')
console.log(newValue)
}
And it's unfortunately not working
I've looked on this post and tried everything and nothing work : VueJs 2.0 - how to listen for `props` changes
I checked my props with Vue Devtools and it's changing.
Thanks in advance to the community !