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%
Criterion 5 re-audit fixes (no re-implementation; client semantics in a browser):
- ctu dev server `load()` follows Vite's own module graph (`importedModules`
of each served module: static and lazy imports, `import.meta.glob`)
instead of parsing the served code for static imports; a marker leaked
into a lazily imported module is now seen. The deprecated Node stand-in
`evaluateServed` (no caller left but its own controls) is deleted with
its controls. The perEnvironmentStartEndDuringDev pin requests the eager
modules itself, so it keeps reproducing "the client loads late.ts after
the server rendered".
- start-plugin-core: server fns are identified by their public `url`
(SPEC J4.1), never by Start's own `serverFnMeta` field (§5.19):
`serverFnId()` in the SSR prelude and `callServerFn()` (dev) derive the
id from the URL and the base `createClientRpc('').url` gives; a value
without a server fn URL throws outside any `try`. The #42-held rows'
reads (start-compiler-dev-server :58, known-bugs-start-compiler-dev
:166) stay as they are.
- Diagnostics by content: `suggestedDirections` reads a direction from the
API named or from an explained suggestion naming one environment (no verb
list); `expectAliasFailure` uses `explains` and the resolver's name (no
wording regexes); `expectSourceError` requires `explains`; the imported
route options refusal or warning names the option and explains (J2.8).
- router-plugin: the Rspack entry's `addHmr: false` is decided by
behaviour on an Rsbuild dev page (the edit reloads, not applied in
place) instead of a regex on today's local name `hot`; the out-of-order
dev pins re-request every module the page loaded from the route on (no
path filter, #29 class); the inert `vi.mock('node:url')` leftover in
code-splitter-determinism is gone.
- Hydrate source-map row reads the case's split code (`client.chunks`),
not lazy URLs under the case directory (§5.3).
- Nx: start-plugin-core `test:integration` builds `@tanstack/vue-start`
(its Vue rows failed in a fresh worktree).
- FINAL-PASS #58: bundled-dev-styles listens and fetches on 127.0.0.1.
- Dead helper `start-plugin-core/tests/source-maps.ts` removed.
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 »