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 2022-10-20 16:47:05 -06:00
.github checkpoint 2022-08-12 14:57:33 -06:00
docs @tanstack/router-devtools -> @tanstack/react-router-devtools 2022-10-17 17:01:00 +01:00
examples/react feat: layout routes 2022-10-20 16:47:05 -06:00
media fix: use search filters when preloading 2021-11-09 14:48:07 -07:00
packages feat: layout routes 2022-10-20 16:47:05 -06:00
scripts devtools fix 2022-10-17 16:59:43 +01:00
.browserslistrc fix: add browserslist config (#236) 2022-03-15 11:45:13 -06:00
.gitattributes chore: better build system 2022-01-31 12:06:06 -07:00
.gitignore checkpoint 2022-09-23 07:06:11 -06:00
.nvmrc chore: 2021-10-20 10:52:47 -06:00
.prettierrc chore: better build system 2022-01-31 12:06:06 -07:00
babel.config.js fix(bundling): update babel externals 2022-01-31 14:58:13 -07:00
jest.config.ts fix: build 2022-10-17 14:14:11 +01:00
lerna.json fix: generics, react-location-simple-cache 2021-10-20 22:52:40 -06:00
LICENSE Create LICENSE 2021-11-15 10:33:17 -07:00
package.json example update 2022-10-17 17:14:42 +01:00
README.md fix: build 2022-10-17 17:29:49 +01:00
rollup.config.js chore: better build system 2022-01-31 12:06:06 -07:00
rollup.config.ts checkpoint 2022-08-10 08:13:07 -06:00
tsconfig.base.json @tanstack/router-devtools -> @tanstack/react-router-devtools 2022-10-17 17:01:00 +01:00
tsconfig.json example update 2022-10-17 17:14:42 +01:00
yarn.lock example 2022-10-17 23:26:18 +01:00

TanStack Router Header

🤖 Application Routing for JS/TS, React, Solid, Vue and Svelte

#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

  • Asynchronous routing
    • Promise-based route loaders & actions
    • Asynchronous route elements
    • Threshold-based pending route elements
    • Error boundary route elements
    • Code-splitting
    • Post-render async loader APIs (stale-while-revalidate, external cache integration)
    • Navigation batching with graceful replace/push escalation
  • Deeply integrated Search Params API
    • JSON-first Search Params
    • Full <Link> and useNavigate integration
    • Full cmd+click support
    • Search Param Immutability w/ Structural Sharing
    • Batched Updates / Functional Updates
    • Route Matching
    • Optional Compression w/ JSURL plugin or your own custom parser/serializer!
  • Hooks for everything: Router, Matches, Route Matching, Preloading
  • Optional route filtering/ranking
  • Optional JSX route definitions
  • Prepackaged simple cache implementation for route loader caching
  • Easy Integration w/ external caches and storage (eg. React Query, Apollo, SWR, RTKQuery)