I have an Angular app where I have One parent component and two children components. One of the childrens have some data that the other children needs to be rendered, etc. I implemented a shared service with an Observable where children one updated the data and children two subscribes to the observable using the service and it was working good.
But then I discussed my implementation with my boss and he didn0t like the sharedService implementation, so he suggest that I communicate the children through the parent component and using EventEmitter (@Input, @Output) just as the image:
The thing is, that before I do any changes I would like to know witch implementation is better in terms of good practices and performance. I apprecciate any help.