~/talk

Angular Router - Undiscovered Parts

Talkat NG-BE 2023 · 2023-03-23..03-24· [angular, frontend-architecture]
slides:none on file

Shows concrete APIs and demos: using provideRouter/standalone routing instead of forRoot, loadComponent lazy loading that drops modules, functional guards via canMatch and inject() replacing canActivate/canLoad, a custom preloading strategy that checks network and route flags, overriding TitleStrategy for dynamic titles, onSameUrlNavigation reload to re-run guards, a RouteReuseStrategy that caches component instances (avoids rerunning API calls), custom URL matchers, and the Router Harness (15.2) for concise tests.

AI-written summary · about

  1. 0:00Angular Router intro
  2. 1:29Meet guide & community
  3. 3:19Router config with Standalone
  4. 4:44Debug router events
  5. 7:16Standalone API functions
  6. 7:57Same URL reloads
  7. 10:03Preloading strategies
  8. 13:52Page titles dynamically
  9. 16:01Lazy loading components
  10. 17:47Simplify imports
  11. 20:15NgModule to Standalone
  12. 20:36Functional route guards
  13. 23:07Cache components reuse
  14. 28:46Dynamic route matching
  15. 30:49Test routes harness
  16. 31:32Resources & closing
~/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.