0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
🤖 A client-first, server-capable, fully type-safe router and full-stack framework for the web (React and more). https://tanstack.com/router
  • TypeScript 98.2%
  • JavaScript 1.2%
  • CSS 0.4%
  • Vue 0.1%
  • HTML 0.1%
Find a file
History 2024-07-02 09:11:09 +00:00
.github docs(examples): Correctly set "type": "module" (#1863) 2024-06-30 15:10:11 +10:00
.nx/workflows ci: Optimise Nx workflow (#1862) 2024-06-30 13:07:09 +10:00
docs style: prettier on the docs (#1872) 2024-07-02 12:16:28 +12:00
examples/react release: v1.43.6 2024-07-02 09:11:09 +00:00
gpt feat: Migrate build to @tanstack/config and common Nx config (#1037) 2024-01-19 22:35:39 -07:00
media docs: update github header 2024-01-03 13:30:18 -07:00
packages release: v1.43.6 2024-07-02 09:11:09 +00:00
scripts refactor: setup the @tanstack/router-plugin package using "unplugin" (#1778) 2024-06-19 15:43:31 +12:00
.gitattributes chore: better build system 2022-01-31 12:06:06 -07:00
.gitignore feat: New Serialization Paradigm (#1824) 2024-06-28 09:45:01 -06:00
.npmrc ci: Update workspace dependencies (#1757) 2024-06-17 13:51:32 +10:00
.nvmrc docs(examples): Correctly set "type": "module" (#1863) 2024-06-30 15:10:11 +10:00
.prettierignore chore(workspace): prettier to ignore the .vercel output directories (#1828) 2024-06-26 11:19:27 +12:00
.prettierrc chore: better build system 2022-01-31 12:06:06 -07:00
CONTRIBUTING.md docs: fix contributing guide to explicilty mention build:all command (#1244) 2024-03-01 22:22:15 +01:00
eslint.config.js chore: Update ESLint and Vitest config (#1854) 2024-06-29 11:19:11 +10:00
knip.json chore: Migrate to ESLint flat config (#1846) 2024-06-28 11:59:39 +10:00
LICENSE Update outdated LICENSE year (#335) 2022-11-10 08:49:28 -07:00
nx.json chore: Migrate to ESLint flat config (#1846) 2024-06-28 11:59:39 +10:00
package.json fix: add react-router-with-query experimental package 2024-07-01 00:15:41 -06:00
pnpm-lock.yaml fix(router-plugin): bump babel-dead-code-elimination to 1.0.6 (#1873) 2024-07-02 18:52:16 +10:00
pnpm-workspace.yaml feat: Migrate build to @tanstack/config and common Nx config (#1037) 2024-01-19 22:35:39 -07:00
README.md docs: update the project README to be react-only (#1750) 2024-06-14 23:20:08 +12:00
tsconfig.json chore: Migrate to ESLint flat config (#1846) 2024-06-28 11:59:39 +10:00

TanStack Router Header

🤖 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! React Query, React Table, React Charts, React Virtual

Visit tanstack.com/router for docs, guides, API and more!

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