Oct 9, 2019 in Vue.JS
Q: What is $parent in Vue?

1 Answer

0 votes
Oct 9, 2019
Similar to $root, the $parent property can be used to access the parent instance from a child.

Although it provides direct access, it makes the application hard to test and debug. And we can not easily find out the where the mutation come from.

Vue also provides $child just like $parent, but it can be used to access the child instance.
Click here to read more about Vue JS
Click here to read more about Insurance
...