router-core
OfficialType-safe core concepts for TanStack Router.
AuthorTanStack
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Provides a framework-agnostic, strongly-typed core for TanStack Router that enables consistent route definitions, type inference, and safe composition across React, Solid, and SSR scenarios.
Core Features & Use Cases
- Framework-agnostic core concepts: route trees, createRouter, createRoute, createRootRoute, and shared context/registration.
- End-to-end type inference: params, search params, loader data, and route context flow without manual casts.
- Production-grade routing patterns: beforeLoad, loaders, notFound, error handling, and route masking with code-splitting guidance.
- SSR-friendly integration: dehydration/hydration hooks and compatibility with TanStack Start for server rendering.
Quick Start
Create a root route with createRootRoute and wire up a router using createRouter, then progressively add typed routes and context.
Dependency Matrix
Required Modules
None requiredComponents
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: router-core Download link: https://github.com/TanStack/router/archive/main.zip#router-core Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.