TanStack Router is a type-safe, data-driven React router with built-in caching, prefetching, and nested layouts, while TanStack Start extends it into a full-stack SSR framework.

Stars

14,861

7-day growth

No data

Forks

1,783

Open issues

288

License

MIT

Last updated

2026-07-27

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It provides end-to-end type safety for routes, params, and loaders, combined with schema-driven search params validation and integrated caching, making it a standout in the React routing ecosystem with strong community backing.

Who it is for

  • React developers seeking type-safe routing
  • TypeScript-focused frontend teams
  • Full-stack developers building SSR applications
  • Teams wanting to reduce boilerplate with built-in data fetching and caching

Use cases

  • Building complex single-page applications with type-safe navigation and data loading
  • Developing full-stack web applications with server-side rendering and streaming
  • Implementing nested layouts and transitions with error boundaries
  • Optimizing performance through automatic prefetching and caching of route data

Strengths

  • End-to-end type safety for routes, parameters, and loaders reduces runtime errors
  • Built-in caching, prefetching, and invalidation improve performance
  • Schema-driven search params with validation ensure consistent URL state
  • Nested layouts and transitions simplify complex UI structures

Considerations

  • Primarily designed for React applications, limiting use in other frameworks
  • Full-stack features require TanStack Start, adding an extra dependency
  • Learning curve for developers unfamiliar with type-safe routing patterns

README quick start

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

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 →

Become a Sponsor!

Get Involved

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 CHAT

Explore 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
  • Ta

Description

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

Related repositories

Similar projects matched by category, topics, and programming language.

react
Featured
react GitHub avatar

react

React is a JavaScript library for building user interfaces with declarative, component-based, and cross-platform design.

Web DevelopmentFrontend Frameworks
246,741
NUber-dev
Featured
NUber-dev GitHub avatar

YTubic

YTubic is a fast, responsive, open-source YouTube Music desktop client for Windows, Linux, and macOS that uses direct InnerTube API communication and aggressive caching to provide instant navigation and playback.

Web DevelopmentFrontend Frameworks
226
yetone
Featured
yetone GitHub avatar

kill-ai-slop

Kill AI Slop is a multilingual field guide and agent skill that catalogues 33 common AI-generated design tells with interactive before-after demos, and provides a tool to scan and fix web projects.

AI & Machine LearningAI Agents
805