1 Answer

0 votes
by
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

Related questions

0 votes
asked Oct 9, 2019 in Vue.JS by Indian
0 votes
asked Oct 7, 2019 in Vue.JS by Tate
0 votes
asked Oct 7, 2019 in Vue.JS by Tate
0 votes
asked Oct 7, 2019 in Vue.JS by Tate
0 votes
asked Oct 1, 2019 in Vue.JS by tiger
...