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
framework
fullstack
javascript
react
route
router
routing
rpc
search
searchparams
server-functions
ssr
state-management
typesafe
typescript
url
- TypeScript 98.2%
- JavaScript 1.2%
- CSS 0.4%
- Vue 0.1%
- HTML 0.1%
Feature Requests & Questions should point to this repository's discussions rather than react-table discussion |
History
|
|
|---|---|---|
| .github | ||
| docs | ||
| examples | ||
| media | ||
| packages | ||
| scripts | ||
| .browserslistrc | ||
| .gitattributes | ||
| .gitignore | ||
| .nvmrc | ||
| .prettierrc | ||
| babel.config.js | ||
| jest.config.ts | ||
| lerna.json | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| rollup.config.js | ||
| rollup.config.ts | ||
| tsconfig.base.json | ||
| tsconfig.json | ||
| yarn.lock | ||
Enterprise Client-Side Routing for React
Enjoy this library? Try the entire TanStack! React Query, React Table, React Charts, React Virtual
Visit react-location.tanstack.com for docs, guides, API and more!
Quick Features
- Asynchronous routing
- Promise-based data loaders
- 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>anduseNavigateintegration - Full
cmd+clicksupport - 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)
