# TanStack Router

> Fully type-safe router for React and Solid apps

Source: https://talira.ai/catalog/tanstack-router-q7pzw63n
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library, Framework
- Categories: [libraries / routing / client side](https://talira.ai/categories/libraries/routing/client-side), [languages / typescript](https://talira.ai/categories/languages/typescript)
- Licence: MIT[^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [TanStack](https://talira.ai/orgs/tanstack.md)

TanStack Router is a router for React and Solid apps with fully inferred TypeScript types for routes, path params and navigation. It has nested and layout routes, file-based route generation, route loaders with built-in stale-while-revalidate caching, automatic prefetching, error boundaries, and typed JSON-first search params with schema validation. It's built to work with client-side data caches like [TanStack Query](https://talira.ai/catalog/tanstack-query-hhnbcek5.md), and TanStack Start, a full-stack framework with server rendering, is built on it in the same repository.

## Links

- Website: https://tanstack.com/router
- GitHub: https://github.com/TanStack/router
- Docs: https://tanstack.com/router/latest/docs/framework/react/overview

## Problems it solves

- get type errors when I link to a route that doesn't exist in my React app
- keep filter state in the URL's search params with types
- load data for a route before it renders, with caching

## Features

- fully inferred TypeScript types for routes, params and navigation
- nested and layout routes with file-based route generation
- route loaders with built-in stale-while-revalidate caching
- automatic route prefetching
- typed JSON-first search params with schema validation
- React and Solid bindings

## Trust

Overall: 0.73 out of 1.
Signals: maintenance 1.00, adoption 0.84, momentum 0.67, community 1.00, backing 0.30, extensibility 0.00.

- last commit 2 days ago
- 238 commits in the last 90 days
- latest release release-2026-11-19-1024 11 days ago
- 15.4k GitHub stars
- 758 contributors
- accepts sponsorship (Github)
- backed by TanStack

## Related

- Works with [React](https://talira.ai/catalog/react-a48drvqv.md)

## Alternatives

- [React Router](https://talira.ai/catalog/react-router-xzpy15wv.md): Multi-strategy router for React: use it as a full framework or as a routing library

## Sources

[^1]: https://tanstack.com/router/latest/docs/framework/react/overview (checked 28 Nov 2026)
[^2]: https://github.com/TanStack/router/blob/main/LICENSE (checked 28 Nov 2026)
