What it does
A rules file for Cursor on type-safe routing with TanStack Router, React and TypeScript. It recommends file-based routes, data loading in route loaders instead of effects, validated search params with Zod or Valibot, and a clear route folder layout.
Use cases
- 01Create a file-based route with a loader
- 02Validate search params with a Zod schema
- 03Set up a root layout and index route