Type-Safe Routing for Modern Web Apps
TanStack Router delivers end-to-end type safety, built-in caching, and powerful data loading capabilities for React, Solid, and Vue applications.
Why TanStack Router?
Build applications with confidence using a router designed for the modern web
Type-Safe Routes
Full TypeScript inference for routes, params, search params, and loaders
Built-in Caching
Automatic caching and revalidation of route data with fine-grained control
Smart Prefetching
Intelligent prefetching strategies for instant navigation experiences
Search Params
First-class support for type-safe, validated search parameters
Nested Routes
Powerful nested routing with layouts, error boundaries, and transitions
Full-Stack Ready
Scale to full-stack with TanStack Start for SSR, streaming, and server functions
Quick Start
Get up and running with TanStack Router in minutes
Explore TanStack Router
Deep dive into routing concepts and advanced features
Core Concepts
Learn about routing fundamentals, type safety, and data loading patterns
Explore concepts
Routing Guides
Step-by-step guides for file-based routing, nested routes, and error handling
View guides
TanStack Start
Build full-stack applications with SSR, streaming, and server functions
Learn about Start
API Reference
Complete API documentation for Router, Route, Link, hooks, and components
Browse API docs
Ready to build with TanStack Router?
Start building type-safe, performant routing for your React, Solid, or Vue application today