Summary
In this chapter, we learned how the enhanced Angular Ivy compiler and runtime make the ahead-of-time Angular compiler a good choice for all phases of development. The tree-shakable, reusable Ivy Instruction Set leaves a smaller bundle for a range of applications.
We discussed how ahead-of-time compilation affects our application builds, component templates, unit tests, and the browser at runtime.
Next, we explored solutions for metadata errors that occur when using the ahead-of-time Angular compiler. Metadata errors that are detected by strict TypeScript and Angular compilation settings were not discussed. Read about strict template type checking in Chapter 2, Boosting Developer Productivity Through Tooling, Configuration, and Convenience.
In the final sections, we learned how to resolve and initialize asynchronous dependencies before bootstrapping our application using two techniques:
- Providing an asynchronous dependency with a static platform provider ...