N Things You Didn’t Know About the Router
summary
Concrete patterns and code-level fixes for routing emerge: a nested router outlet shell lets some pages show the menu and others not, a resolver waits for HTTP observable so templates render only after data arrives, router events drive a global spinner while navigation stalls, canDeactivate checks component dirty to block accidental navigation, and feature modules require lazy load via loadChildren string to keep routes scoped and bundles small. Code, slides, and a full sample app accompany the talk.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 0:23How does routing work
- 2:05N Things Menu or Not
- 4:25Nested Router Outlets
- 5:42Prevent Partial Page Display
- 9:13Display a Spinner
- 11:49Guards
- 15:45Feature Modules
- 18:25Lazy Loading
related talks
33mAngular Router - Undiscovered Parts
14mLearn Once, Route Anywhere
16mThe New Router
58mRouting into the Sunset with Angular
17mModern Routing
19mAngular Hidden Gems: Hybrid Rendering, SSR and Modern Routing
31mHidden gems in Angular: hybrid rendering, new routing features, and beyond
43mRoute Recalculating
