What problem does it solve? Building React applications with type-safe navigation, validated URL search parameters, and route-level data loading requires significant boilerplate and manual type wiring, often leading to runtime errors and stale data. ## Core Features & Use Cases - File-Based Routing: Automatically generate route trees from file structure using the Vite plugin, with conventions for dynamic params, pathless layouts, and catch-all routes. - Type-Safe Search Params & Loaders: Validate search parameters with Zod or custom validators, and load route data with loaders that integrate directly with TanStack Query. - Authentication & Navigation Guards: Protect routes using beforeLoad hooks with redirects, and block navigation on unsaved forms with useBlocker. - Use Case: Build a dashboard app where the /posts route validates page and filter search params, preloads data on link hover, and redirects unauthenticated users to /login. ## Quick Start Set up TanStack Router in my React Vite project with file-based routing and a posts route that validates search params and loads data with a loader.