![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)! [React Query](https://github.com/tannerlinsley/react-query), [React Table](https://github.com/tanstack/react-table), [React Charts](https://github.com/tannerlinsley/react-charts), [React Virtual](https://github.com/tannerlinsley/react-virtual) ## Visit [tanstack.com/router](https://tanstack.com/router) for docs, guides, API and more! ## Partners
Convex

Clerk

AG Grid

Sentry

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)