Skip to content

🤖 Fully typesafe Router for React (and friends) w/ built-in caching, 1st class search-param APIs, client-side cache integration and isomorphic rendering.

License

Notifications You must be signed in to change notification settings

TanStack/router

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d873999 Â· Jan 1, 2025
Dec 2, 2024
Jun 30, 2024
Dec 31, 2024
Dec 28, 2024
Dec 29, 2024
Nov 28, 2024
Jan 3, 2024
Jan 1, 2025
Dec 19, 2024
Jan 31, 2022
Nov 1, 2024
Jul 11, 2024
Jul 11, 2024
Jul 23, 2024
Mar 1, 2024
Nov 10, 2022
Dec 24, 2024
Oct 12, 2024
Jun 28, 2024
Jul 23, 2024
Dec 27, 2024
Jan 1, 2025
Oct 18, 2024
Jul 23, 2024
Dec 6, 2024

Repository files navigation

TanStack Router Header

🤖 Type-safe router w/ built-in caching & URL state management for React!

#TanStack semantic-release Join the discussion on Github Best of JS

Enjoy this library? Try the entire TanStack! React Query, React Table, React Charts, React Virtual

Visit tanstack.com/router for docs, guides, API and more!

Partners






Quick Features

  • 100% TypeSafe
    • Route Defs
    • Navigation
    • Relative Navigation
    • Search Params
    • Path Params
    • Loaders
  • 1st Class Search Params
    • Schemas + Validation
    • Parsing + Serialization
    • Immutable
    • Structural Sharing
    • Pre/Post Processing
  • Built-in Caching
    • Stale-While-Revalidate
    • Max-Age
    • Auto Garbage Collection
    • Invalidation
  • Prefetching
  • Automatic Prefetching
  • Transitions
  • Error Boundaries
  • Code Splitting
  • Layout Routes
  • Easy Integration w/ external caches and storage (eg. React Query, Apollo, SWR, RTKQuery)

Example Usage

To run example React projects with Tanstack Router, see CONTRIBUTING.md