Revisiting a Reactive Router with Ivy
summary
A reactive router prototype maps a stream of URLs into a stream of components using Ivy features and standard web APIs: it listens to the browser history via Location, parses URLs with the URL Web API, matches routes with path-to-regexp, and renders lazily-loaded components with the renderComponent API and new loadComponent patterns. Routes are declared as components, route params are observable streams (observable in, observable out), and a GitHub demo exists as a working prototype.
AI-written summary · about
chapters (8)
- 0:00Start
- 3:39Angular V2 Router
- 7:00Ivy Features
- 8:58What does it mean?
- 10:05What do we need?
- 10:49History API
- 11:31URL Parser
- 16:38Recap
related talks
24mBuilding with Ivy: rethinking reactive Angular
34mAngular Ivy by example
32mReact Fiber vs. Angular Ivy
14mLearn Once, Route Anywhere
31mDon't Rewrite, React!
19mAngular Hidden Gems: Hybrid Rendering, SSR and Modern Routing
31mAngular IVY with Composition API: the next level of reusability
33mAngular Router - Undiscovered Parts
