DEV Community

Discussion on: Dependency Injection in JavaScript 101

Collapse
 
leonormes profile image
Leon Ormes

Jeremy,
Thanks for this post. It actually made me excited like Christmas. I have been trying to work out how and why this is useful and your example clears up all doubts I might have had.
Next, how do I get my team to adopt this pattern? :)

Collapse
 
jeremylikness profile image
Jeremy Likness ⚡️

I always prefer to lead by example and show the value it provides so they want to adopt it.