The mighty Angular compiler – packed with benefits, such static analysis of your application templates, runtime performance benefits, and reduced production payload size using ahead-of-time compilation.
But how does it actually work? In this workshop, we are going to learn about ngc, the angular compiler, by taking apart an angular Component and hand-crafting the code for the change detection, dependency injection, and DOM manipulation, applying the same performance optimization techniques used by the compiler. That is – we are going to play the compiler’s role to learn how it works and uncover some of the its magic.