stackpicks.dev
Back to gallery
TanStack/router preview
TanStack
TanStack/

router

🤖 A client-first, server-capable, fully type-safe router and full-stack framework for the web (React and more).

Stars
14.5k
Forks
1.7k
Watchers
14.5k
Open issues
572
TypeScriptMIT main Updated 9 hours ago~5 stars/day lifetime
Editor's take

Type-safe router with first-class search-param handling. The router that powers TanStack Start. Stronger types than React Router but newer ecosystem.

Use this if

You want truly typed routes and search params, especially in SPAs without Next.js.

Skip if

You need maturity and community size — React Router is safer.

Routing
Topics
frameworkfullstackjavascriptreactrouterouterroutingrpcsearchsearchparamsserver-functionsssrstate-managementtypesafetypescripturl
Quick install
# Install via npm / pnpm / bun:
pnpm add router
# or
npm install router

Inferred from TypeScript · always double-check against the official README below.

README — rendered from TanStack/router

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

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

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 »

Live data via GitHub REST API · Cached 30 min · Created 14 Jan 2019
TanStack/router — Live preview — StackPicks