In the component Parent, I make an ajax request and receive the data a, pass a.b Child1, out b.c to Child2. In Child2 I update them, say, through user input. Vue does not allow them to change from a child:
Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop''s value. Prop being mutated: "c"
For example, a Parent can be a page with names of people, Child1 - list name, Child2 - list item names (one name).
If you use $emit, it will have to be routed through both child component and make to the parent? There are other ways realizovati it?