Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tanstack/router
🤖 Fully typesafe Router for React (and friends) w/ built-in caching, 1st class search-param APIs, client-side cache integration and isomorphic rendering.
https://github.com/tanstack/router
javascript location params preact react route router routing search searchparams state-management typesafe typescript url
Last synced: 4 days ago
JSON representation
🤖 Fully typesafe Router for React (and friends) w/ built-in caching, 1st class search-param APIs, client-side cache integration and isomorphic rendering.
- Host: GitHub
- URL: https://github.com/tanstack/router
- Owner: TanStack
- License: mit
- Created: 2019-01-14T13:54:39.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2024-11-20T06:45:44.000Z (23 days ago)
- Last Synced: 2024-11-20T10:23:09.769Z (23 days ago)
- Topics: javascript, location, params, preact, react, route, router, routing, search, searchparams, state-management, typesafe, typescript, url
- Language: TypeScript
- Homepage: https://tanstack.com/router
- Size: 17.7 MB
- Stars: 8,226
- Watchers: 38
- Forks: 649
- Open Issues: 121
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-typesafe - TanStack/router - Type-safe router with built-in caching & URL state management for various frameworks. (**1. Libraries** / Web)
- awesome-javascript - router - safe router w/ built-in caching & URL state management for JS/TS, React, Preact, Solid, Vue, Svelte and Angular (Packages)
- awesome-javascript - router - safe router w/ built-in caching & URL state management for JS/TS, React, Preact, Solid, Vue, Svelte and Angular (Packages)
README
![TanStack Router Header](https://github.com/tanstack/router/raw/main/media/header.png)
🤖 Type-safe router w/ built-in caching & URL state management for React!
Enjoy this library? Try the entire [TanStack](https://tanstack.com)! [React Query](https://github.com/tannerlinsley/react-query), [React Table](https://github.com/tanstack/react-table), [React Charts](https://github.com/tannerlinsley/react-charts), [React Virtual](https://github.com/tannerlinsley/react-virtual)
## Visit [tanstack.com/router](https://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](./CONTRIBUTING.md)