Type Safety

Full type inference philosophy (never cast, never annotate inferred values), Register module declaration, from narrowing on hooks and Link, strict:false for shared components, getRouteApi for code-split typed access, addChildren with object syntax for TS perf, LinkProps and ValidateLinkOptions type utilities, as const satisfies pattern.

TanStack Updated 28.6k repo stars
TanStack Router

File contents

TanStack/router commit ce9204677e

Frequently asked questions

npx get-skill add tanstack/type-safety