×
SO MUCH
SMALLER
FASTER
EASIER
WOW
WOW
WOW
GDE in Angular
Women Techmakers Ambassador
Trainer and Consultant
@MartinaKraus11
@MartinaKraus11
ɵmarkDirty
ɵrenderComponent
ɵcompileComponent
ɵcompilePipe
ɵcreateInjector
@MartinaKraus11
@MartinaKraus11
@MartinaKraus11
@MartinaKraus11
https://indepth.dev/component-features-with-angular-ivy
Introduced by Ivy
Changing behavior of a component at runtime
@MartinaKraus11
@MartinaKraus11
ngc
Component annotations available at runtime
stored inside the static property
AppComponent.ɵcmp
type, selectors, template, styles ...
@MartinaKraus11
@MartinaKraus11
@MartinaKraus11
@MartinaKraus11
@MartinaKraus11
@MartinaKraus11
What about Decorators?
@MartinaKraus11
@MartinaKraus11
@MartinaKraus11
https://github.com/angular/angular/pull/35464
@MartinaKraus11
@MartinaKraus11
Custom Decorators aren't tree shakable
Component Features are used for changing behavior at runtime
Not exposed yet
@MartinaKraus11
me@martina-kraus.io
@MartinaKraus11
martina-kraus.io
Ping me:
Slides: slides.com/martinakraus/component-features