~/talk

A New Vue Router

Talkat VueConf US 2024 · 2024-05-15..05-17· [vue, web-platform]
links:none on file
slides:none on file

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

  1. 0:00A New Vue Router
  2. 0:51Motivation
  3. 1:45Stretch Goals
  4. 3:30Developer Demo
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.