How can I monitor changes in Vue $refs?
I'm trying to apply some logic to a child component that is nested within my current Vue instance. However, when trying to access '$refs.childcomponent' inside the 'ready' callback, it appears as 'undefined' during processing.
inside 'ready()'
this.$watch('$refs', function() {
console.log("not firing");
}, { deep: true });
Outcome: Error message - Maximum call stack exceeded
'watch' property of the instance
watch: {
'$refs': {
handler: function() { console.log("hit"); },
deep: true
}
}
Outcome: No response.