~/talk

Dynamic and Lazy Loading: A Deep Dive

Talkat ngVikings 2019 · 2019-05-27..05-28· [angular, web-performance]
slides:none on file

Detailed, actionable coverage of how Angular actually lazy loads: shows the dynamic import('d3') pattern that produces a separate bundle and a demo that proves it, explains CLI → webpack/bazel and the lazyModules array in angular.json, exposes the surprising commons chunk behavior (shared code moves into a common bundle and turning it off duplicates bytes), and ships an open‑source hero loader that registers a lazy bundle with Angular and injects a chosen component (via bootstrap array) into the DOM when triggered.

AI-written summary · about

  1. 0:00Start
  2. 3:55Lazy Loading - High Level
  3. 6:11Moving Parts of Lazy Loading
  4. 7:09The Magic String
  5. 8:41Two Steps of Lazy Loading
  6. 9:50Misconception
  7. 22:18Lazy Loading non-Angular Code
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.