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%
Highly experimental: replaces TanStack's split server-fn transport for Solid Start with vite-plugin-solid ^3.0.0-next.16's native "use server" pipeline + the @solidjs/web/server-functions runtime, keeping the public createServerFn().validator().middleware().handler() API intact. React (and other frameworks) stay on the split transport. - start-plugin-core: new serverFnTransport: 'directive' option; compiler emits "use server" trampolines instead of splitting modules; dispatch now flows through #tanstack-start-server-fn-dispatch (package-imports default = split transport, virtual override for directive mode) - solid-start: appends the standalone serverFunctions() plugins, new createDirectiveClientRpc/createDirectiveServerRpc transports and createTanStackDispatchOptions wiring TanStack codec/result semantics into handleServerFunctionRequest - TanStack owns the wire ids (split-safe, generateFunctionId honored) and registers them via the runtime's public registerServerFunction — vite-plugin-solid's path+ordinal ids collide across router code-split modules and stay internal-only - registration coverage via pruned ?tss-serverfn-split provider modules (dynamic imports; "sideEffects": false tree-shakes static ones) - no-JS urlencoded form posts normalized back to FormData e2e: solid-start/server-functions 28 passed (2 assertions adapted to the new wire format), solid-start/basic 80 passed, react-start/ server-functions 53 passed; unit suites green. Co-Authored-By: Claude Fable 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 | ||
| .gitattributes | ||
| .gitignore | ||
| .npmrc | ||
| .nvmrc | ||
| .nxignore | ||
| .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 »

