C U M E N TAT I O N “When the Angular router lazy-loads a module, it creates a new injector. This injector is a child of the root application injector.” Mariano Álvarez, Febrero 2019
E V “With, OnPush change detection will be triggered determines that any of the inputs of a component has changed or when an event in the component is triggered” Mariano Álvarez, Febrero 2019
G E D E T E C T I O N What’s it? App Component TodoListComponent IconComponent App Component BannerComponent IconComponent ContactComponent ListComponent Mariano Álvarez, Febrero 2019
G E D E T E C T I O N What’s it? App Component TodoListComponent IconComponent App Component BannerComponent IconComponent ContactComponent ListComponent Mariano Álvarez, Febrero 2019
G E D E T E C T I O N What’s it? App Component WrapperComponent ContactComponent BannerComponent IconComponent InputComponent Mariano Álvarez, Febrero 2019
S V S F U N C T I O N S Pipes • Pure pipes Angular executes a pure pipe only when it detects a pure change to the input value. • Impure pipes Angular executes an impure pipe during every component change detection cycle. Mariano Álvarez, Febrero 2019
“memoization or memoisation is an optimization technique used primarily to speed up computer programs by storing the results of expensive function calls and returning the cached result when the same inputs occur again” Mariano Álvarez, Febrero 2019 Mariano Álvarez, Febrero 2019