Angular’s new renderer Ivy: a deep dive into the heart of Angular
summary
Ivy replaces ngfactory files by emitting a template function and metadata like defineComponent/defineInjector, so the component code calls framework helpers rather than the framework iterating over static instruction arrays. Result: hello‑world bundles drop from ~36 KB to ~2.3 KB minified and ~0.7 KB gzipped in demos, real apps see much smaller payloads, compilation becomes faster via the single-file compilation and locality principle, and runtime is more tree‑shakable and easier to debug; Angular 8 supports Ivy opt‑in, v9 defaults to it.
AI-written summary · about
chapters (7)
- 0:00Start
- 3:05Why Do We Need a New Rendering Engine
- 5:46Create Smaller Bundle Sizes
- 7:33Aesthetic Definer
- 11:56Template Function
- 14:07The Faster Compilation
- 15:51Single File Compilation








