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%
From the review of design 3 steps 0-1, before the Rsbuild host forwards every compiler's events: - The same text proves that no fact of the file moved, not that the file was there all along. A change with the text the caches read is a repeat; an add, or a removal of a file that reads back, still moves the file set (fileSetVersion, failed and shadowed resolutions asked again) without marking its facts. Fixes finding 1 (removed and created again with the same text: an importer compiled in the gap kept its failed resolution; Rspack reports the second event as a change) and step 2 item 3 (a created file reaches each compiler's make separately; the second environment's resolver answered the first add from before the file existed). The `ADDED` mark of `seen` goes: `seen` is a revision or UNKNOWN. `readChange` returns the text and whether it is the same. - A compile of a newer text that ends without a plan (untouched, empty, not parsed) drops the key's plan of the old text and its rows (finding 2: a later edit of what the old text read reported the file; Vite's liveModules reads the plan at the path). - `staleHits` counts plan hits that failed on a fact (a defect: invalidate() checks every fact); hits that failed only on a resolution or a route-registry digest, asked again at the next request by design (a tsconfig edit), are `lazyHits` (finding 3). - Property (b): a stash and pop (removed, modules requested, back with the same text, reported as add or change). 240 seeds pass; with the rule reverted, seed 24481 fails. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
History
|
|
|---|---|---|
| .agents/skills | ||
| .changeset | ||
| .devcontainer | ||
| .github | ||
| .nx | ||
| _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 »