0
Fork 0
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
  • TypeScript 98.2%
  • JavaScript 1.2%
  • CSS 0.4%
  • Vue 0.1%
  • HTML 0.1%
Find a file
Sheraff d863de0a6b
Merge branch 'compiler-tests/w4-shared' into compiler-tests/baseline
W4-shared cross-slice harness fixes (lazy probe, effective-artifact
validator with the amended dangling-name attribution, host graph and
logger channel, semantic determinism, location oracle, prose/causes,
warning fallbacks, Chromium client runs, added-code oracle, kept dynamic
imports, stop()) and the outside-compiler-corpus selection convention
(test:implementation). Tests and test infrastructure only.

Conflicts with the merged W4 slice branches, resolved keeping both sides:
- rg determinism: both sides wrote determinism-app.ts. Kept W4-shared's
  structure (expectDeterministic project option) with W4-gen's semantics
  (logging enabled, diagnostics sorted, cwd variants compare routes only);
  W4-gen's outside-compiler-corpus/tree-bytes.test.ts deleted as a
  duplicate of W4-shared's route-tree-bytes.test.ts (same byte assertions
  over listing order and cwd).
- rp generator-dev-app/scenarios: W4-shared's mark()/diagnostics(since)
  capture replaces W4-gen's reportMark/reportsSince (same outcome, more
  channels); W4-gen's close() kept beside diagnostics().
- rp integration regression-helpers: W4-shared's moved file under
  outside-compiler-corpus/ plus W4-hmr's delayed-observation control and
  W4-split's page-console warning row (W4-shared's bundler-channel rows kept).
- rp known-bugs-route-hmr / route-hmr-browser-plugin: shared
  expectEditShownOrReportedFallback (same rule as W4-hmr's inline check).
- rp known-bugs-dev-server: HMR-27 block as moved to the integration tier.
- rp production-bundle: ctu addedCode (all frameworks) instead of
  W4-split's react-only bundleAtoms oracle.
- rp dev-source-maps: isServedAppModule; route-hmr: W4-hmr comment kept.
- spc createServerFn: shared missingHandler matcher; W4-start's matcher
  controls kept on top of it; resolver block as moved outside the corpus.
- spc rsbuild/dev-server: W4-start's hydrated-page rows kept (they already
  replace the VM runner that W4-shared migrated to runInClient).

Validated (Nx, --skip-nx-cache, --maxWorkers=4): ctu 232 / 106 x2;
rp 437/179, 355/193 x2, implementation 53; spc 919/189, 814/201 x2,
implementation 223/7; rg 274/26, 60/3 x2, implementation 80/2;
rsc 49, 87/10 x2; types and eslint pass for all five.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
History 2026-10-20 09:36:16 +02:00
.agents/skills improve bundle size benchmarks and add initial skill (#7450) 2026-06-04 22:48:53 +02:00
.changeset refactor(router-plugin): remove enableRouteGeneration option (#8737) 2026-10-17 12:22:15 +02:00
.devcontainer docs: add devcontainer config (#6970) 2026-03-18 15:10:30 +01:00
.github test(compiler): select the corpus by default and run implementation tests in their own targets 2026-10-20 07:59:23 +02:00
.nx/workflows test: fix Nx sandbox violations in CI tasks (#8400) 2026-09-14 10:54:23 +02:00
_artifacts docs: use new query methods (#7100) 2026-10-06 17:59:20 +02:00
benchmarks bump node version to 26.10.0 (#8509) 2026-10-17 17:04:18 +02:00
docs perf: lower manifest script preload priority (#8212) 2026-10-16 15:35:33 +02:00
e2e build: bump @rsbuild/plugin-solid to ^1.2.2 (solid-refresh 0.7 broke Solid hydration in Rsbuild dev) 2026-10-19 12:12:49 +02:00
examples build: bump @rsbuild/plugin-solid to ^1.2.2 (solid-refresh 0.7 broke Solid hydration in Rsbuild dev) 2026-10-19 12:12:49 +02:00
gpt chore: use tinyglobby instead of glob (#2880) 2024-11-28 21:28:27 +01:00
media docs: use the dynamic README header endpoint (#7940) 2026-08-03 21:03:29 +02:00
packages Merge branch 'compiler-tests/w4-shared' into compiler-tests/baseline 2026-10-20 09:36:16 +02:00
scripts ci: keep bundle-size measurement out of the Test workflow (#8669) 2026-10-17 12:35:23 +02:00
skills/bundle-size-optimization ci: keep bundle-size measurement out of the Test workflow (#8669) 2026-10-17 12:35:23 +02:00
.coderabbit.yaml docs: clarify contribution guidelines (#8163) 2026-08-25 05:14:16 +02:00
.gitattributes chore: better build system 2022-01-31 12:06:06 -07:00
.gitignore chore: update nx to 23.2.0 (#8341) 2026-09-10 18:28:24 +02:00
.npmrc ci: move pnpm settings to pnpm-workspace.yaml (#6076) 2025-12-12 15:25:17 +11:00
.nvmrc bump node version to 26.10.0 (#8509) 2026-10-17 17:04:18 +02:00
.prettierignore fix: harden URL handling across Router and Start (#8308) 2026-09-09 23:03:49 +02:00
AGENTS.md docs(compiler): test tiers in AGENTS.md and CONTRIBUTING.md; point split suites at their other half 2026-10-18 19:13:10 +02:00
CONTRIBUTING.md docs(compiler): test tiers in AGENTS.md and CONTRIBUTING.md; point split suites at their other half 2026-10-18 19:13:10 +02:00
DEBUGGING.md feat: optional path params (#4597) 2025-07-16 13:41:58 -06:00
eslint.config.js test: migrate lint from tanstack/config to tanstack/eslint-config (#6915) 2026-03-13 03:02:00 +01:00
how-to-guides-implementation-plan.md docs: search param sharing/inheritance how-to 2025-07-30 11:09:18 -06:00
how-to-testing-plan.md ci: apply automated fixes 2025-07-28 19:18:28 +00:00
knip.json chore: Migrate to ESLint flat config (#1846) 2024-06-28 11:59:39 +10:00
labeler-config.yml chore: remove experimental Nitro v2 Vite plugin (#8537) 2026-10-13 00:42:07 +02:00
LICENSE Update outdated LICENSE year (#335) 2022-11-10 08:49:28 -07:00
nx.json test(compiler): select the corpus by default and run implementation tests in their own targets 2026-10-20 07:59:23 +02:00
package.json test(compiler): select the corpus by default and run implementation tests in their own targets 2026-10-20 07:59:23 +02:00
pnpm-lock.yaml Merge branch 'compiler-tests/w3-harness2' into compiler-tests/baseline 2026-10-19 20:09:16 +02:00
pnpm-workspace.yaml chore(deps): upgrade Vitest to 5 and migrate benchmarks to the bench fixture (#8723) 2026-10-16 00:41:32 +02:00
prettier.config.js ci: enable renovate automerge, pin actions (#2012) 2024-07-23 11:13:39 +10:00
README.md docs: use the dynamic README header endpoint (#7940) 2026-08-03 21:03:29 +02:00
top-10-how-to-guides.md docs: Identify top 10 how-to docs, add deployment guide (#4701) 2025-07-18 15:15:07 -06:00
tsconfig.json optimize streaming (#8204) 2026-09-16 22:38:25 +02:00

TanStack Router

TanStack Router

A modern router designed for type safety, data‑driven navigation, and seamless developer experience.

  • End‑to-end type safety (routes, params, loaders)
  • Schema‑driven search params with validation
  • Built‑in caching, prefetching & invalidation
  • Nested layouts, transitions & error boundaries

Read the Router Docs →

TanStack Start

TanStack Start

A full‑stack framework built on Router, designed for server rendering, streaming, and production‑ready deployments.

  • Full‑document SSR & streaming
  • Server functions & end‑to‑end type safety
  • Deployment‑ready bundling & builds
  • All the power of TanStack Router, plus full‑stack features

Read the Start Docs →


npm downloads GitHub stars Bundle size

semantic-release Best of JS Follow @TanStack

Get Involved

Partners

CodeRabbit Cloudflare Netlify
Neon Clerk Convex
Sentry Prisma Strapi
Router & you?

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 CHAT

Explore the TanStack Ecosystem

… and more at TanStack.com »