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
Built-in Caching
Smart Prefetching
Search Params
Nested Routes
Full-Stack Ready
Quick Start
Get up and running with TanStack Router in minutes
Install the package
Create your routes
Set up the router
Start navigating
Explore TanStack Router
Deep dive into routing concepts and advanced features
Core Concepts
Learn about routing fundamentals, type safety, and data loading patterns
Routing Guides
Step-by-step guides for file-based routing, nested routes, and error handling
TanStack Start
Build full-stack applications with SSR, streaming, and server functions
API Reference
Complete API documentation for Router, Route, Link, hooks, and components
Ready to build with TanStack Router?
Start building type-safe, performant routing for your React, Solid, or Vue application today