tanstack-router

Installation
SKILL.md

TanStack Router

Overview

TanStack Router is a fully type-safe router for React. Every route path, search param, path param, and loader is typed end-to-end — if you change a route, TypeScript catches every broken link at compile time. File-based routing with automatic code splitting, validated search params, and route-level data loading.

When to Use

  • React SPA or SSR app that needs type-safe routing (links, params, search)
  • Migrating from React Router and want compile-time route safety
  • Need validated and typed search/query params (not just string | undefined)
  • Route-level data loading with pending/error states
  • File-based routing with automatic code splitting

Instructions

Setup

Installs
2
GitHub Stars
128
First Seen
Jun 5, 2026
tanstack-router — terminalskills/skills