DEV Community

Discussion on: React Context In Angular

Collapse
 
ezzabuzaid profile image
ezzabuzaid

It's totally fine and the preferred way to use services, of course, nonetheless, using context can reduce an necessary code when you just want to pass input to descendant components.

Collapse
 
chaos_monster profile image
little chaosmonster

How does it reduce code? I don't see that argument. because a simple service that uses only public properties and be provided and injected isn't more code than this approach AND it stays in the pattern suggested by the framework.