~/talk

Lazy-loading techniques beyond (Angular) router

Talkat NG-DE Conference 2022 · 2022-10-06..10-07· [angular, frontend-architecture]
slides:none on file

Shows concrete techniques and tools to cut payloads: use import-cost and bundlephobia to spot heavy libs, run webpack bundle analyzer and Angular CLI size reports, and inspect runtime with import-graph visualizer and bundle-wizard. Demonstrates dynamic import usage (including webpack magic comments for chunk naming, prefetch vs preload), lazy-loading heavy libs in pipes and a lazy-wrapper pattern for components, and a 95% reduction of highlight.js down to ~50KB by importing only needed highlighters.

AI-written summary · about

  1. 0:00Introduction to performance
  2. 1:17Tooling for bundle analysis
  3. 4:37Dynamic imports in Angular
  4. 8:05Optimizing library imports
  5. 11:36Advanced dynamic import usage
  6. 14:29Webpack magic comments
  7. 17:45Prefetching and preloading
  8. 21:05Understanding chunk types
  9. 24:01Visualizing dependency graphs
  10. 27:35Dynamic component loading
  11. 30:54Conclusion and bonus tips
~/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.