-1
I have 3 components that exchange an Object among themselves, as I do for when updating one another also upgrade alone?
Example: I have components 1, 2 and 3, 1 calls 2 passing an Object and 2 calls 3 passing the same Object, all this in the creation of the components. I have to update component 3 when Object in component 1 changes.
You have to notify the parent event, and so on that an event took place in the child component. You need this directive: https://angular.io/api/core/EventEmitter. Demo here:https://stackblitz.com/ we’ll know the problem better.
– Marconi