~/talk

Angular Router - Let's Get Lazy!

Talkat AngularUP 2017 · on Sunday, 2017-06-25· [angular, frontend-architecture]
slides:none on file

Covers how Angular Router uses loadChildren syntax to split modules into webpack chunks (Angular CLI emits chunk files), demonstrates ad-hoc lazy loading of employee and admin modules, and shows a custom PreloadingStrategy toggling background fetch so modules are already downloaded before first navigation. Explains using canLoad vs canActivate guards to prevent unnecessary downloads when unauthenticated, and the demo verifies chunks appear only when expected and preloading works as configured.

AI-written summary · about

  1. 0:00Introduction
  2. 1:11Angular Router basics
  3. 6:49Problem with big bundles
  4. 9:04Lazy loading setup
  5. 14:43Preloading strategy
  6. 19:49Router guards explained
  7. 23:11Demo overview
  8. 29:02Conclusion and Q&A
~/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.