Adv Lazy Loading w/ Angular
summary
Shows how Angular lazy loading actually works: the Angular CLI/webpack step creates separate bundles via dynamic import() promise syntax (Angular v8 change) while webpack pulls shared code into a Commons chunk, so many βlazyβ pieces still end up in the main bundle. Covers angular.json lazyModules configuration, manual loading and registration with Angular (you must register/ bootstrap the component), and demos using webpack-built bundles to lazily load d3 and a modal with the hero loader utility.
AI-written summary Β· about
chapters (7)
- 0:00Introduction to lazy loading
- 2:17Lazy loading basics
- 5:18Mechanism and implementation
- 8:37Under the hood
- 12:26Manual lazy loading
- 14:13Common misconceptions
- 19:17Live demo and conclusion
related talks
30mDynamic and Lazy Loading: A Deep Dive
34mLazy-loading techniques beyond (Angular) router
27mLazy Loading Web Applications
45mLazy Loading: Supercharge your Angular apps!
34mImproving Start-up Performance with Lazy Loading in Angular 2
30mStep by Step Improving Startup Performance with Lazy Loading in Angular
32mImproving Startup Performance with Lazy Loading in Angular
29mAngular Router - Let's Get Lazy!
