Skip to content

TanStack/router

beta
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
April 24, 2023 15:46
September 28, 2023 13:22
September 28, 2023 21:24
February 17, 2023 10:52
December 5, 2022 15:31
October 20, 2021 10:52
January 31, 2022 12:06
November 15, 2021 10:33
September 1, 2023 13:51
September 11, 2023 14:41
September 12, 2023 14:59
February 22, 2023 12:41
July 3, 2023 11:34
August 10, 2023 10:39
September 1, 2023 13:51
September 1, 2023 13:51

TanStack Router Header

🤖 Type-safe router w/ built-in caching & URL state management for React, Preact, and friends

#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!

Quick Features

  • 100% TypeSafe
    • Route Defs
    • Navigation
    • Relative Navigation
    • Search Params
    • Path Params
    • Loaders
    • Actions
  • 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)