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%
Measured first (spc test:integration, idle box): hydrate-dev 11.4 s and known-bugs-start-compiler 11.4 s at 1 worker, the two slowest files (13.4-17 s at 4 workers under load, against the 15 s per-file limit). - hydrate-dev.test.ts split per bundler: the Vite rows stay (React edit, split route composition, Solid edit), the Rsbuild rows move to hydrate-dev-rsbuild.test.ts, the shared apps and edit scenario to hydrate-dev-edits.ts. Every row edits its app, so no server is shared. No assertion changed. - known-bugs-start-compiler: the Vite dev server block moves to known-bugs-start-compiler-dev.test.ts (unchanged, plus two lint fixes: the settled flag is read through a function, `isRunnableDevEnvironment` alone guards the SSR environment). - The control "SSR: a server fn the client references is callable over HTTP ..." and the D6 pin "... only server code references is not callable over HTTP" read one build and run per bundler (`callClientAccess`, memoised): one build less per bundler. - The build pin "client: the server-only module of a class only server code uses is not bundled" runs on Vite only. The compiler decides it (the import it leaves in the client module loads the server-only module in any bundler); the in-process pin "client: a class used by a server fn handler does not load its server-only import" (../known-bugs-start-compiler.test.ts) decides it, and the Vite cell stays its build canary. Removed: the Rsbuild cell (1 xfail). 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 »