
About TanStack Router
TanStack Router is an open source routing library for React apps. It keeps routes, parameters and search params typed, so mistakes show up in the editor instead of at runtime.
What it does
You define routes once, and the router carries their paths, params, search state and loaders through links and components. Search params are parsed and validated, so filters, pages and tabs survive a refresh and can be shared as a link. The router can also preload route code and data when a user hovers or focuses a link, so the next screen may already be ready when they click.
Key features
- Type-safe links, params and search params
- Search state stored in the URL
- Route loaders for fetching data
- Preloading on hover, focus or viewport entry
- Generated route tree that stays in sync
Who it's for
React teams building apps with many routes, filters or shareable views. It also suits projects that want strong types across every navigation.
Pricing and good to know
TanStack Router is free and open source under the MIT license. Typed routes rely on generated files, so keep the generator running during development. Check the docs for the current version when you upgrade.
Highlights
- Type-safe links, params and search params
- Search state stored in the URL
- Route loaders for fetching data
- Preloading on hover, focus or viewport entry
- Generated route tree kept in sync with files












