Angular Router - Undiscovered Parts
summary
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
chapters (16)
- 0:00Angular Router intro
- 1:29Meet guide & community
- 3:19Router config with Standalone
- 4:44Debug router events
- 7:16Standalone API functions
- 7:57Same URL reloads
- 10:03Preloading strategies
- 13:52Page titles dynamically
- 16:01Lazy loading components
- 17:47Simplify imports
- 20:15NgModule to Standalone
- 20:36Functional route guards
- 23:07Cache components reuse
- 28:46Dynamic route matching
- 30:49Test routes harness
- 31:32Resources & closing
related talks
29mAngular Router - Let's Get Lazy!
44mThe amazing Angular 2 Router
31mHidden gems in Angular: hybrid rendering, new routing features, and beyond
18mAngular's Future w/out NgModules Architectures w/Standalone Components
16mThe New Router
22mN Things You Didn’t Know About the Router
58mRouting into the Sunset with Angular
19mAngular Hidden Gems: Hybrid Rendering, SSR and Modern Routing
