tanstack-router Documentation
TanStack Router documentation. Use for type-safe React routing, file-based routing, search params, loaders, data fetching, and navigation.
Quick Reference
| Task | Entry Point |
|---|---|
| Getting started | contents/router/quick-start.md |
| Overview | contents/router/overview.md |
| File-based routing | contents/router/routing/file-based-routing.md |
| API reference | contents/router/api/router/ |
| Search params | contents/router/guide/search-params.md |
| Data loading | contents/router/guide/data-loading.md |
| TanStack Start (React) | contents/start/framework/react/getting-started.md |
| TanStack Start (Solid) | contents/start/framework/solid/getting-started.md |
| FAQ | contents/router/faq.md |
When to use
Use this skill when the user asks about:
- TanStack Router setup, installation, and configuration
- File-based and code-based routing, route trees, route matching
- Search params, path params, and URL handling
- Data loading, loaders, deferred data, and external data fetching
- Navigation, links, redirects, route masking, authentication
- SSR, code splitting, and preloading
- TanStack Start (React or Solid): server functions, server routes, middleware
How to find information
- First, read
TOC.mdfor complete file listing organized by directory - Identify relevant section based on user's question
- Read specific files for details
TOC.md contains all files organized by directory - always check it first.