TanStack
Router
v1
Auto
Framework
React
Version
Latest
Search...
+ K
Menu
Home
Frameworks
Contributors
GitHub
Discord
Getting Started
Overview
react
Quick Start
react
Devtools
react
Decisions on DX
react
LLM Assistance Support
react
Comparison
react
Frequently Asked Questions
react
Installation Guides
Manual Setup
react
Vite
react
Rspack/Rsbuild
react
Webpack
react
Esbuild
react
Router CLI
react
Migrate from React Router
react
Migrate from React Location
react
Routing
Routing Concepts
react
Route Trees
react
Route Matching
react
File-Based Routing
react
Virtual File Routes
react
Code-Based Routing
react
File Naming Conventions
react
Guides
Code Splitting
react
Automatic Code Splitting
react
Creating a Router
react
Outlets
react
Navigation
react
Path Params
react
Search Params
react
Link Options
react
Custom Links
react
Data Loading
react
Deferred Data Loading
react
External Data Loading
react
Data Mutations
react
Type Safety
react
Type Utilities
react
Preloading
react
Document Head Management
react
Route Masking
react
Navigation Blocking
react
Custom Search Param Serialization
react
History Types
react
Router Context
react
Not Found Errors
react
Authenticated Routes
react
Scroll Restoration
react
Static Route Data
react
SSR
react
Render Optimizations
react
API
File-Based Routing
core
Router
react
Integrations
TanStack Query
react
ESLint
ESLint Plugin Router
core
Create Route Property Order
core
Router Examples
Quickstart (file-based)
react
Quickstart (code-based)
react
Basic (file-based)
react
Basic (code-based)
react
Basic + React Query (file-based)
react
Basic + React Query (code-based)
react
Basic + SSR (file-based)
react
Basic + SSR Streaming (file-based)
react
Kitchen Sink (file-based)
react
Kitchen Sink (code-based)
react
Kitchen Sink + React Query (file-based)
react
Kitchen Sink + React Query (code-based)
react
Location Masking
react
Authenticated Routes
react
Scroll Restoration
react
Deferred Data
react
Navigation Blocking
react
View Transitions
react
With tRPC
react
With tRPC + React Query
react
Monorepo basic
react
Monorepo basic (with lazy loading)
react
Monorepo with React Query
react
TanStack
Router
v1
Auto
Search...
+ K
Framework
React
Version
Latest
Menu
Home
Frameworks
Contributors
GitHub
Discord
Getting Started
Overview
react
Quick Start
react
Devtools
react
Decisions on DX
react
LLM Assistance Support
react
Comparison
react
Frequently Asked Questions
react
Installation Guides
Manual Setup
react
Vite
react
Rspack/Rsbuild
react
Webpack
react
Esbuild
react
Router CLI
react
Migrate from React Router
react
Migrate from React Location
react
Routing
Routing Concepts
react
Route Trees
react
Route Matching
react
File-Based Routing
react
Virtual File Routes
react
Code-Based Routing
react
File Naming Conventions
react
Guides
Code Splitting
react
Automatic Code Splitting
react
Creating a Router
react
Outlets
react
Navigation
react
Path Params
react
Search Params
react
Link Options
react
Custom Links
react
Data Loading
react
Deferred Data Loading
react
External Data Loading
react
Data Mutations
react
Type Safety
react
Type Utilities
react
Preloading
react
Document Head Management
react
Route Masking
react
Navigation Blocking
react
Custom Search Param Serialization
react
History Types
react
Router Context
react
Not Found Errors
react
Authenticated Routes
react
Scroll Restoration
react
Static Route Data
react
SSR
react
Render Optimizations
react
API
File-Based Routing
core
Router
react
Integrations
TanStack Query
react
ESLint
ESLint Plugin Router
core
Create Route Property Order
core
Router Examples
Quickstart (file-based)
react
Quickstart (code-based)
react
Basic (file-based)
react
Basic (code-based)
react
Basic + React Query (file-based)
react
Basic + React Query (code-based)
react
Basic + SSR (file-based)
react
Basic + SSR Streaming (file-based)
react
Kitchen Sink (file-based)
react
Kitchen Sink (code-based)
react
Kitchen Sink + React Query (file-based)
react
Kitchen Sink + React Query (code-based)
react
Location Masking
react
Authenticated Routes
react
Scroll Restoration
react
Deferred Data
react
Navigation Blocking
react
View Transitions
react
With tRPC
react
With tRPC + React Query
react
Monorepo basic
react
Monorepo basic (with lazy loading)
react
Monorepo with React Query
react
TanStack React Router Documentation
Use the menu to select a documentation page.
Home
Our Partners
Wow, it looks like you could be our first partner for this library!
Chat with us!
TanStack
Start
Full-document SSR, Streaming, Server Functions, bundling and more, powered by TanStack Router and Vite - Ready to deploy to your favorite hosting provider.
Learn More
TanStack
Store
The immutable-reactive data store that powers the core of TanStack libraries and their framework adapters.
Learn More