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-05-15 19:36:16 +00:00
.github docs: Update bug_report template with latest Stackblitz links (#1424) 2024-04-04 18:46:09 +02:00
.nx/workflows ci: Use Nx Agents (#1192) 2024-02-17 12:03:04 +11:00
docs perf: new addChildren signature and generate more (#1564) 2024-05-13 16:54:41 +02:00
examples/react release: v1.32.8 2024-05-15 19:36:16 +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.32.8 2024-05-15 19:36:16 +00:00
scripts fix: rename react-router-server to start 😜 2024-05-08 16:51:45 -06:00
.eslintrc.cjs refactor: eslint (#1365) 2024-03-26 09:08:49 +01:00
.gitattributes chore: better build system 2022-01-31 12:06:06 -07:00
.gitignore fix(react-router): stabilizing the encoding of path parameters (#1490) 2024-04-20 09:56:09 +12:00
.npmrc feat: Migrate build to @tanstack/config and common Nx config (#1037) 2024-01-19 22:35:39 -07:00
.nvmrc chore(examples): upgrade examples dependencies (#947) 2024-01-09 00:55:48 +01:00
.prettierignore fix: correctly support to for unions which include the index route / (#1393) 2024-03-29 23:20:54 +01: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
LICENSE Update outdated LICENSE year (#335) 2022-11-10 08:49:28 -07:00
nx.json fix: relative resolvePath + tests 2024-04-08 11:23:50 -06:00
package.json chore: Update @tanstack/config to v0.7.3 (#1586) 2024-05-13 17:06:58 +10:00
pnpm-lock.yaml release: v1.32.8 2024-05-15 19:36:16 +00: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: remove Actions from README (#1477) 2024-04-17 19:23:10 +02:00
tsconfig.json chore: Update @tanstack/config to v0.7.3 (#1586) 2024-05-13 17:06:58 +10:00

TanStack Router Header

🤖 Type-safe router w/ built-in caching & URL state management for React, Preact, and friends

#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