Chapter 12: Embracing Ahead-of-Time Compilation
Angular Ivy is the most recent generation of the Angular framework. It features a new compiler and a new runtime, both of which maintain compatibility with most of the APIs used by the previous generation of Angular's compiler and runtime known as Angular View Engine.
In this chapter, we will learn about how Angular Ivy makes ahead-of-time the default Angular compiler across all phases of development and what impact it has on our developer workflow.
Following that, we will explore metadata errors that might occur when using the ahead-of-time Angular compiler, with accompanying techniques to fix the errors.
Finally, we will demonstrate two techniques for resolving asynchronous dependencies before bootstrapping our Angular Ivy application.
We will cover the following topics in this chapter:
- Using the ahead-of-time compiler for all development phases
- Dealing with the ahead-of-time compiler's limitations ...