An open API service indexing awesome lists of open source software.

https://github.com/tanstack/router

🤖 Fully typesafe Router for React (and friends) w/ built-in caching, 1st class search-param APIs, client-side cache integration and isomorphic rendering.
https://github.com/tanstack/router

framework fullstack javascript react route router routing rpc search searchparams server-functions ssr state-management typesafe typescript url

Last synced: about 2 months ago
JSON representation

🤖 Fully typesafe Router for React (and friends) w/ built-in caching, 1st class search-param APIs, client-side cache integration and isomorphic rendering.

Awesome Lists containing this project

README

          

![TanStack Router Header](https://github.com/tanstack/router/raw/main/media/header.png)

🤖 Type-safe router w/ built-in caching & URL state management for React!


#TanStack







semantic-release

Join the discussion on Github
Best of JS





Enjoy this library? Try the entire [TanStack](https://tanstack.com)! [TanStack Query](https://github.com/tannerlinsley/react-query), [TanStack Table](https://github.com/tanstack/react-table), [TanStack Form](https://github.com/TanStack/form), [TanStack Virtual](https://github.com/tannerlinsley/react-virtual), [TanStack Pacer](https://github.com/TanStack/pacer), [TanStack Store](https://github.com/TanStack/store), [TanStack Ranger](https://github.com/TanStack/ranger), [TanStack DB](https://github.com/TanStack/db), [TanStack Config](https://github.com/TanStack/config)

## Visit [tanstack.com/router](https://tanstack.com/router) for docs, guides, API and more!

## Partners


Clerk



AG Grid



Netlify



Neon



Prisma



Convex



Sentry



Speakeasy



Nozzle.io

## Quick Features

- 100% TypeSafe
- Route Defs
- Navigation
- Relative Navigation
- Search Params
- Path Params
- Loaders
- 1st Class Search Params
- Schemas + Validation
- Parsing + Serialization
- Immutable
- Structural Sharing
- Pre/Post Processing
- Built-in Caching
- Stale-While-Revalidate
- Max-Age
- Auto Garbage Collection
- Invalidation
- Prefetching
- Automatic Prefetching
- Transitions
- Error Boundaries
- Code Splitting
- Layout Routes
- Easy Integration w/ external caches and storage (eg. React Query, Apollo, SWR, RTKQuery)

## Example Usage

To run example React projects with Tanstack Router, see [CONTRIBUTING.md](./CONTRIBUTING.md)