TanStack Router: Type-safe React routing framework
Type-safe routing library for React and Solid applications.
Learn more about TanStack Router
TanStack Router is a type-safe routing library designed for React applications with optional full-stack capabilities through TanStack Start. The library implements compile-time type checking for routes, parameters, and data loaders while providing schema validation for search parameters. It includes built-in caching mechanisms, prefetching strategies, and data invalidation patterns alongside support for nested layouts and error boundaries. The framework targets applications requiring type safety across routing logic, server-side rendering, and full-stack development workflows.
End-to-end Type Safety
Provides compile-time type checking for routes, parameters, and data loaders. Schema validation ensures search parameters match expected types throughout the application.
Built-in Data Management
Includes caching, prefetching, and invalidation mechanisms as part of the routing system. Eliminates the need for separate data fetching libraries in many use cases.
Full-stack Integration
TanStack Start extends the router with server-side rendering, streaming, and server functions. Maintains type safety across client and server boundaries.
TanStack Router v1.159.5 reverts to using Response instead of FastResponse for performance reasons and adds related documentation.
- –Reverted to Response and added docs regarding FastResponse
This patch release fixes an issue with the useParams hook to ensure it returns properly parsed parameters when strict mode is disabled.
- –Fixed useParams to return parsed params when strict is false
TanStack Router v1.159.3 introduces a performance improvement by implementing FastResponse from srvx in the start functionality.
- –Added FastResponse from srvx to start functionality
Related Repositories
Discover similar tools and frameworks used by developers
React Grid Layout
Responsive React grid system with drag-and-drop resizing.
AdminLTE
Production-ready Bootstrap 5 template with SCSS build tooling.
React Router
Component-based navigation and URL management for React.
OpenCut
Timeline-based browser video editor with multi-track support.
chenyuluoyan_thin
Thin-weight Chinese font family for modern digital interfaces with graceful readability.