tanstack-router

Community

Type-safe file-based routing for React apps.

AuthorAndyMarigoldLabs
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a structured approach to implementing type-safe, file-based routing in React applications using TanStack Router, enabling scalable route definitions and predictable navigation.

Core Features & Use Cases

  • Type-safe route definitions via file-based routes that map to the filesystem
  • Dynamic and typed params support, including nested and index routes
  • Layouts, route guards, loaders, and error handling for robust UI flows
  • Programmatic navigation and preloading to optimize user experiences
  • Code-splitting with route.lazy.tsx for performance
  • Use Case: build a multi-page admin interface with shared layouts and dynamic user pages

Quick Start

Install @tanstack/react-router and create a routes directory (e.g., src/routes/). Create files like src/routes/index.tsx, src/routes/about.tsx, and dynamic routes such as src/routes/users/$userId.tsx. Use createFileRoute to declare routes, and Link/useNavigate for navigation.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: tanstack-router
Download link: https://github.com/AndyMarigoldLabs/continuous-funding/archive/main.zip#tanstack-router

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.