Modern Routing
summary
Explains how browser history APIs like pushState/replaceState and location parts (path, search, hash) become the objects routers match against, demonstrates that URLSearchParams is buggy in Safari while Firefox decodes for devs and users, and shows why always encoding parts matters. Shows how route patterns turn into regexes and how routers use path scoring (70 for static segments, ~16 for dynamic, +5 for custom regex) to rank matches, then hands those matches to components for rendering.
AI-written summary · about
chapters (6)
related talks
26mVue-router and its techniques
01h 00mHow does a frontend router work? Deep dive with Vue Router
31mModern Front End Routing
43mRoute Recalculating
29mHandle routes data using stateless protocol (using React Router)
22mN Things You Didn’t Know About the Router
28mStop Breaking the Web
41mThe future of routing with the Navigation API
