Angular: Component Communications (Child to Child)
April 1, 2020
How to pass data from sibling components (transitive). One method is to use a parent component to act as the mediator and pass the data from one child to another child. The process is a combination of the two methods shown above between Parent π Child and Child π Parent.
ChildA π Parent π ChildB
ChildA π Parent π ChildB
Or
ChildA β¬ Parent β¬ ChildB
Note: In Angular, the Child component has no way of knowing its parent component.