tanstack-router-guide

Community

Master TanStack Router with type-safe routing.

Authordanghungtb26
Version1.0.0
Installs0

System Documentation

What problem does it solve?

TanStack Router helps teams build scalable, type-safe routing in React using file-based routes, reducing boilerplate and navigation errors.

Core Features & Use Cases

  • File-based routing: map URLs to TS/TSX files under src/routes to mirror app structure.
  • Data loading and navigation: declare loaders, loaderDeps, and navigation helpers to manage data flow and transitions.
  • Protected routes and redirects: beforeLoad guards and route context to enforce authentication and permissions.

Quick Start

Create a new TanStack Router example by adding a root route and several file-based routes under src/routes, then wire up navigation with Link and useNavigate. Start the dev server to explore routes like /, /login, and protected sections. Use the guide to implement routing, route guards, and data loading in your React app.

Dependency Matrix

Required Modules

None required

Components

references

💻 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-guide
Download link: https://github.com/danghungtb26/admin-react-typescript-template/archive/main.zip#tanstack-router-guide

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.