Advanced DI by Ward Bell

preview_player
Показать описание
You Don’t Know DI? Go beyond Dependency Injection basics. Learn about the two parallel DI hierarchies and which one wins, what happens when you provide the same token twice … when multi is true, what’s the effect of lazy loading, what’s going on in forRoot and forFeature, what’s in a component’s injector, and how to talk to the components in content children when you don’t know their types. It’ll be fast, code-frontal, fun.

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

Single-most important lesson from this talk:
The {read:} option gets a value from the child component injector.
Used with @ContentChild, @ContentChildren, @ViewChild, and @ViewChildren.

LarsGyrupBrinkNielsen
Автор

He provides a deep insight in an easily digested form. Thanks Ward Bell!!

sagarrout
Автор

Ward Bell is an underestimated genius!!

hansschenker
Автор

wooooaaaah, this is awesome Ward Bell!

fetis
Автор

Second-most important lesson from this talk:
A {useClass:} provider creates a second instance of an already-provided class-based service.

LarsGyrupBrinkNielsen
Автор

Isn't this kinda the same lesson that Alex Rickabaugh already gave in 2017? Take a look at this ... and watch it from 27:48

i-heart-google