A New Vue Router
summary
A new router called kitbag router focuses on real TypeScript safety: route params and query params share the same typing system, params can be declared as number, boolean, regex or custom types, and routes only match if param values validate against those types. The router ships built‑in rejection handling (including a not found rejection) and lets apps throw custom rejections to control flow. The demo shows TypeScript errors when types mismatch and a path() wrapper to declare nonstring param types; source and a StackBlitz are linked.
AI-written summary · about
chapters (4)
related talks
31mType-Safe URLs
33mStop writing your own routes
31mGet the Most Out of Vue Router
01h 14mWhat's new in Vue 3 Routing
35mExciting New Features for Routing in Vue3; Vue Router 4
26mVue-router and its techniques
01h 00mHow does a frontend router work? Deep dive with Vue Router
30mVue Router, Hoisting Mocks and Unit Test Spaghetti
