概要
This skill provides comprehensive guidance for implementing TanStack Router in React projects, focusing on modern patterns like type-safe navigation, file-based routing structures, and integrated data loading. It assists developers in setting up the initial routing infrastructure, configuring Vite plugins, defining complex nested layouts, and handling type-safe search parameters and route guards. It is particularly useful when building scalable single-page applications that require rigorous type safety across the entire routing lifecycle, from link creation to programmatic navigation and data prefetching.