Type-safe file-based routing for React with validated search params, loaders backed by an SWR cache, beforeLoad guards, per-route SSR, and automatic code splitting. Use when working with @tanstack/react-router or @tanstack/router-plugin: createFileRoute or createRootRouteWithContext, validateSearch and loaderDeps, Link/useNavigate/redirect/ notFound, retainSearchParams or stripSearchParams, tanstackRouter Vite setup and routeTree.gen.ts, useBlocker, route masking, selective ssr and shellComponent, or debugging missing autocomplete on `to`, pendingMatches gone from router.state, routes never generating.