Many Vue.js app components will probably have some sort of parent-child relationship. In this part of the series I aim to talk about common patterns as well as anti-patterns that you should avoid.
If you follow the basic structure you should be safe for the future.
The goal is to understand how to write reusable components that are independent from the parent.
This is the second article of a series of Vue.js communication articles.
- Vue.js communication: single components
- Vue.js communication: parent-child components (you are here)
- Vue.js communication: any component (using vuex)