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%
The client checks of the fast tiers run in real Chromium pages and dev servers; that made router-plugin and start-plugin-core `test:unit` take 26-39 s against hard limits of 10 s and 8 s (FINAL-PASS #13, #19), and Chromium failed module requests under load (#40). - ctu browser: `runInPage` runs on a bounded pool of pages per test process (`runPageLimit`), each run holding its page alone and the page leaving the run's document before another run gets it; `openPage` keeps at most `openPageLimit` pages open. - ctu test-scope: the test a piece of work belongs to, also in concurrent files (an `aroundEach` setup file); per-test cleanups use it instead of Vitest's global `onTestFinished`. The setup file also gives each test file the environment and working directory it started with (a `vite build` of an earlier file left `NODE_ENV=production` behind). - ctu outcome: `failWhenQuietFor` ends an edit wait once every host stayed quiet without the outcome; route HMR pins fail after 3 s quiet instead of the 15 s bound. - router-plugin route apps: hosts leased to one test at a time and kept for the test process; the fast tier and the new `integration-pages` project run the tests of a file concurrently, keep modules across files. Twelve route-app files move to `tests/integration/pages/`. - start-plugin-core: Start hosts kept across the files of a worker, each host with a pool of pages for concurrent runs (in-flight requests reset on a new document: a hydrate pin waited 10 s on stale counts); five `<Hydrate>`/import-forms files move to `tests/integration/pages/`. - Files over the 15 s slow-tier limit split in two or three. - ctu import-gate control on a fixture workspace of its own (#51). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
History
|
|
|---|---|---|
| .agents/skills | ||
| .changeset | ||
| .devcontainer | ||
| .github | ||
| .nx/workflows | ||
| _artifacts | ||
| benchmarks | ||
| docs | ||
| e2e | ||
| examples | ||
| gpt | ||
| media | ||
| packages | ||
| scripts | ||
| skills/bundle-size-optimization | ||
| .coderabbit.yaml | ||
| .gitattributes | ||
| .gitignore | ||
| .npmrc | ||
| .nvmrc | ||
| .prettierignore | ||
| AGENTS.md | ||
| CONTRIBUTING.md | ||
| DEBUGGING.md | ||
| eslint.config.js | ||
| how-to-guides-implementation-plan.md | ||
| how-to-testing-plan.md | ||
| knip.json | ||
| labeler-config.yml | ||
| LICENSE | ||
| nx.json | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| prettier.config.js | ||
| README.md | ||
| top-10-how-to-guides.md | ||
| tsconfig.json | ||
TanStack RouterA modern router designed for type safety, data‑driven navigation, and seamless developer experience.
Read the Router Docs → |
TanStack StartA full‑stack framework built on Router, designed for server rendering, streaming, and production‑ready deployments.
Read the Start Docs → |
Get Involved
- We welcome issues and pull requests!
- Participate in GitHub discussions
- Chat with the community on Discord
- See CONTRIBUTING.md for setup instructions
Partners
|
|
|
|
|
|
|
|
|
|
|
|
We're looking for TanStack Router & Start Partners to join our mission! Partner with us to push the boundaries of TanStack Router & Start and build amazing things together.
LET'S CHATExplore the TanStack Ecosystem
- TanStack Config – Tooling for JS/TS packages
- TanStack DB – Reactive sync client store
- TanStack DevTools – Unified devtools panel
- TanStack Form – Type‑safe form state
- TanStack Pacer – Debouncing, throttling, batching
- TanStack Query – Async state & caching
- TanStack Ranger – Range & slider primitives
- TanStack Store – Reactive data store
- TanStack Table – Headless datagrids
- TanStack Virtual – Virtualized rendering
… and more at TanStack.com »