AngularAir - So, about that inject function in Angular v14 😎

preview_player
Показать описание
With the release of Angular v14 we are now able to use the inject() function in a lot more places, opening the door for things like creating functions that utilize providers retrieved from the injection provider. In this episode we discuss this new-found world of opportunity and the potential pros and cons of what it might mean to our Angular development experience.

-----------------------------------------------

Angular docs on the inject() function

-----------------------------------------------

Рекомендации по теме
Комментарии
Автор

Code against interfaces not real implementations (classes)!

hansschenker