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
Manuel Schiller 75637991a3 fix(router): reject notFoundRoute and explain not-found rejections
- Neither test router supports the deprecated `notFoundRoute` option. The
  option types declare it as `never`, and both functions throw when it is
  passed anyway. In `createIsolatedTestRouter` it rendered the app's
  not-found route after a navigation, and the root used it to catch a
  `notFound()` thrown by the element, which then crashed.
- When `params.parse` threw `notFound()`, `createIsolatedTestRouter`
  rejected with "is not matched", although the route was matched with a
  not-found. When `validateSearch` threw it, the router wraps it in a
  `SearchParamError` without a message, so the rejection had none. Both
  now name the route and the step that threw.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
History 2026-11-15 00:34:23 +01:00
.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 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 »