~/talk

TanStack Router: Beyond the Basics

Talkat JNation 2025 · 2025-05-27..05-28· [react, frontend-architecture]
slides:none on file

Live demo builds a mini-dashboard with TanStack Router using file-based routes like routes/cities/index.tsx and dynamic segments like $cityId.tsx, adds a Zod page schema that catches page=1 when missing, and uses TRPC calls getFirst/getAll in typed loaders. It implements a beforeLoad guard that redirects to / when no city, a location mask route that keeps /cities?page=1 while rendering a modal file, defers long getAll requests with defer + Await, and shows preloadIntent prefetch on hover so loader data is already available when navigation completes.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 1:27Why TanStack Router
  3. 3:23Getting started with TanStack Router
  4. 4:03Nested routes and parameters
  5. 5:51Search validation and pagination
  6. 8:20Demo setup and live coding
  7. 10:52Route guards and authentication
  8. 13:02Location masking techniques
  9. 14:26Smart data fetching with loaders
  10. 15:27Deferring data loading
  11. 16:32Preloading data for performance
  12. 20:24Recap and closing remarks
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.