Adventures in Angular
Is Dependency Injection Broken? - AiA 339
Well, it depends. In this episode, Charles sits down with Aristeidis Bampakos, a Greek developer at Google who knows a thing or two (or seven) about how to use dependency injectors right. They talk about why DI’s could be a blessing OR a curse, how the “component hierarchy” can affect your whole structure, and the ONE thing you should know before you give up on your injector.
“We must never forget that Angular is cross-platform. The actual way Angular works with injection is when you provide the service. It’s like using a recipe!”
- Aristeidis Bampakos
In This Episode
- Why dependency injection can be a blessing OR a curse (it all depends on YOU)
- How the “component hierarchy” affects the entire structure of your Angular work
- The BIGGEST difference between using the injector vs. the component in Angular (and how to know which to use)
- Before you get frustrated and create a workaround for your injector, consider THIS first (and the lightbulb may turn on)
Sponsors
Picks
- Aristeidis- Assassins’s Creed Valhalla
- Aristeidis- Prioritize your health!
- Charles- Weekly date nights, puzzles with the kids, and putting family first
- Charles- Get involved with your local community!
- Charles- Calico | Board Game | BoardGameGeek
- Charles- IRONMAN
Special Guest: Aristeidis Bampakos.