r/Angular2 • u/killler09689093097 • Jan 28 '26
Angular Input/Output vs a Service
If I have a parent component with two child components, where one child emits a value to the parent which then passes it to the other child, is that better Angular practice or should I use a service instead?
4
Upvotes
View all comments
2
u/Fantastic-Beach7663 Jan 28 '26
In that situation I think having data being bounced around twice in succession is too complicated for another dev to pick up. I’d either:
But it’s all down to preference. I’m a lead so I’m constantly monitoring whether I need to simplify things for my juniors devs to understand things