~/talk

Type Safe Routing Shenanigans with TanStack Router

Talkat UtahJS Conf 2024 · on Friday, 2024-09-13· [typescript, frontend-architecture]
slides:none on file

Claims a router rebuilt for full compile-time safety: 100% type safe routing with no type-casting, fully inferred params, search and path types, and typed loader return values. Implements Zod schemas for params and search, custom parsing/serialization (compressed state in URL), hierarchical context and typesafe middleware, built-in caching and zero-config streaming hydration. Tests exercise IDE responsiveness with tens of thousands of routes, and demos show autocomplete for links and immediate typed useLoaderData without runtime casting.

AI-written summary · about

  1. 0:00Intro
  2. 1:34Why are we in danger
  3. 4:58State Management
  4. 11:20Developer Experience
  5. 15:38Demo
~/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.