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%
Turns the oracle-mode fuzzing findings for the code splitter into tests (known-bugs-code-splitter.test.ts). Each pin was run once as a normal test and failed for the bug. - N1 (new main bug): an imported split component that other code still reads loses its import. Pins: head() reads PostsPage.title (loadRoute), an exported component renders the imported errorComponent, read through a real importer (adapted from examples/solid/start-supabase-basic posts.$postId.tsx), a pendingComponent split by custom groupings that an unsplit errorComponent renders, and real SSR builds on Vite and Rspack. Red: "PostsPage/ErrorComponent/Spinner is not defined". Control: the same head() route with the component declared in the route file passes. - N2 (new main bug): a top-level call reading a module-level binding runs again in every split chunk. Two rows in the "unreferenced top-level side effect" table (red: 3 calls instead of 1); the table's Bug comment now covers these calls. Control: calls reading only imports or literals run once. The harness body moved into expectEffectRunsOnce. - N3 (new main bug, upstream root cause): parenthesized JSX under `!` or a member call is printed without parentheses. Red: the split chunk does not parse. Root cause in @babel/generator 7.29.8; no workaround. Control: parenthesized JSX alone. - V3 (variant): rows for the split-option re-parse pin: an immediately invoked function, a typed arrow, `as any`, `!` and a type argument (the last one parses as comparisons and yields `false`). Red: Babel "Unexpected token" / "component is not a function". 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 »