Tanstack Router Best Practices

Best-practice guidance for designing, reviewing, debugging, and modernizing TanStack Router routing in React apps, especially file-based route trees, `Link` and `useNavigate`, `validateSearch`, `beforeLoad`, loaders, `notFoundComponent`, auth guards, code splitting, and TanStack Query integration. Use this whenever the user is working with `@tanstack/react-router`, TanStack Start routing, route organization, URL state, or navigation behavior and needs current v1 guidance instead of stale class-based or React Router patterns.

mkgp-dev e22cd55 8 files · 26.4 KB Updated

File contents

mkgp-dev/codex-skills/tree/main/skills/.experimental/tanstack-router-best-practices commit e22cd553a2

Frequently asked questions

npx skillmds@latest add mkgp-dev/tanstack-router-best-practices