What it does
A short rules file for Cursor on TanStack Router v1 with React and TypeScript. It covers file-based routing with the Vite plugin, route definitions with loaders and error components, and type-safe search params defined with Zod.
Use cases
- 01Define a dynamic route with typed params
- 02Add error and pending components to a route
- 03Read type-safe search params in a component