Adventures In Angular

Is Dependency Injection Broken? - AiA 339

Informações:

Sinopse

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 EpisodeWhy 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 workThe 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)SponsorsTop End DevsRaygun | Click here to get started on your f