{"id":13469629,"url":"https://github.com/TanStack/router","last_synced_at":"2025-03-26T07:30:44.667Z","repository":{"id":37596212,"uuid":"165670309","full_name":"TanStack/router","owner":"TanStack","description":"🤖 Fully typesafe Router for React (and friends) w/ built-in caching, 1st class search-param APIs, client-side cache integration and isomorphic rendering.","archived":false,"fork":false,"pushed_at":"2024-10-29T17:56:02.000Z","size":18592,"stargazers_count":8081,"open_issues_count":89,"forks_count":626,"subscribers_count":38,"default_branch":"main","last_synced_at":"2024-10-29T18:54:08.234Z","etag":null,"topics":["javascript","location","params","preact","react","route","router","routing","search","searchparams","state-management","typesafe","typescript","url"],"latest_commit_sha":null,"homepage":"https://tanstack.com/router","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TanStack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"tannerlinsley"}},"created_at":"2019-01-14T13:54:39.000Z","updated_at":"2024-10-29T18:42:18.000Z","dependencies_parsed_at":"2022-07-13T19:10:27.079Z","dependency_job_id":"e94034d2-130f-4619-8e6b-4ba22f1a70c4","html_url":"https://github.com/TanStack/router","commit_stats":{"total_commits":2879,"total_committers":297,"mean_commits":9.693602693602694,"dds":0.577978464744703,"last_synced_commit":"84dbdd8dd2ca938cf68a22aea4134fdba6312337"},"previous_names":["tanstack/react-location","tannerlinsley/react-location","tanstack/location"],"tags_count":904,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TanStack%2Frouter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TanStack%2Frouter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TanStack%2Frouter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TanStack%2Frouter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TanStack","download_url":"https://codeload.github.com/TanStack/router/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222103249,"owners_count":16931732,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["javascript","location","params","preact","react","route","router","routing","search","searchparams","state-management","typesafe","typescript","url"],"created_at":"2024-07-31T15:01:47.696Z","updated_at":"2025-03-26T07:30:44.651Z","avatar_url":"https://github.com/TanStack.png","language":"TypeScript","readme":"\u003cimg src=\"https://static.scarf.sh/a.png?x-pxid=d988eb79-b0fc-4a2b-8514-6a1ab932d188\" /\u003e\n\n![TanStack Router Header](https://github.com/tanstack/router/raw/main/media/header.png)\n\n🤖 Type-safe router w/ built-in caching \u0026 URL state management for React!\n\n\u003ca href=\"https://twitter.com/intent/tweet?button_hashtag=TanStack\" target=\"\\_parent\"\u003e\n  \u003cimg alt=\"#TanStack\" src=\"https://img.shields.io/twitter/url?color=%2308a0e9\u0026label=%23TanStack\u0026style=social\u0026url=https%3A%2F%2Ftwitter.com%2Fintent%2Ftweet%3Fbutton_hashtag%3DTanStack\"\u003e\n\u003c/a\u003e\u003ca href=\"https://discord.com/invite/WrRKjPJ\" target=\"\\_parent\"\u003e\n  \u003cimg alt=\"\" src=\"https://img.shields.io/badge/Discord-TanStack-%235865F2\" /\u003e\n\u003c/a\u003e\u003ca href=\"https://npmjs.com/package/@tanstack/react-router\" target=\"\\_parent\"\u003e\n  \u003cimg alt=\"\" src=\"https://img.shields.io/npm/dm/@tanstack/react-router.svg\" /\u003e\n\u003c/a\u003e\u003ca href=\"https://bundlephobia.com/result?p=@tanstack/react-router\" target=\"\\_parent\"\u003e\n  \u003cimg alt=\"\" src=\"https://badgen.net/bundlephobia/minzip/@tanstack/react-router\" /\u003e\n\u003c/a\u003e\u003ca href=\"#badge\"\u003e\n    \u003cimg alt=\"semantic-release\" src=\"https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg\"\u003e\n  \u003c/a\u003e\u003ca href=\"https://github.com/tanstack/router/discussions\"\u003e\n  \u003cimg alt=\"Join the discussion on Github\" src=\"https://img.shields.io/badge/Github%20Discussions%20%26%20Support-Chat%20now!-blue\" /\u003e\n\u003c/a\u003e\u003ca href=\"https://bestofjs.org/projects/router\"\u003e\u003cimg alt=\"Best of JS\" src=\"https://img.shields.io/endpoint?url=https://bestofjs-serverless.now.sh/api/project-badge?fullName=tanstack%2Frouter%26since=daily\" /\u003e\u003c/a\u003e\u003ca href=\"https://github.com/tanstack/router\" target=\"\\_parent\"\u003e\n  \u003cimg alt=\"\" src=\"https://img.shields.io/github/stars/tanstack/router.svg?style=social\u0026label=Star\" /\u003e\n\u003c/a\u003e\u003ca href=\"https://twitter.com/tan_stack\" target=\"\\_parent\"\u003e\n  \u003cimg alt=\"\" src=\"https://img.shields.io/twitter/follow/tan_stack.svg?style=social\u0026label=Follow @TanStack\" /\u003e\n\u003c/a\u003e\u003ca href=\"https://twitter.com/tannerlinsley\" target=\"\\_parent\"\u003e\n  \u003cimg alt=\"\" src=\"https://img.shields.io/twitter/follow/tannerlinsley.svg?style=social\u0026label=Follow @TannerLinsley\" /\u003e\n\u003c/a\u003e\n\nEnjoy 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)\n\n## Visit [tanstack.com/router](https://tanstack.com/router) for docs, guides, API and more!\n\n## Partners\n\n\u003cdiv\u003e\u003ca href=\"https://convex.dev?utm_source=tanstack\"\u003e\n  \u003cimg alt=\"Convex\" src=\"https://raw.githubusercontent.com/tannerlinsley/files/master/partners/convex.svg\" height=\"40\"\n\u003c/a\u003e\u003c/div\u003e\u003cbr /\u003e\n\u003cdiv\u003e\u003ca href=\"https://go.clerk.com/wOwHtuJ\"\u003e\n  \u003cimg alt=\"Clerk\" src=\"https://raw.githubusercontent.com/tannerlinsley/files/master/partners/clerk.svg\" height=\"40\"\n\u003c/a\u003e\u003c/div\u003e\u003cbr /\u003e\n\u003cdiv\u003e\u003ca href=\"https://ag-grid.com/react-data-grid/?utm_source=reacttable\u0026utm_campaign=githubreacttable\"\u003e\n  \u003cimg alt=\"AG Grid\" src=\"https://raw.githubusercontent.com/tannerlinsley/files/master/partners/ag-grid.svg\" height=\"40\"\n\u003c/a\u003e\u003c/div\u003e\u003cbr /\u003e\n\u003cdiv\u003e\u003ca href=\"https://sentry.io?utm_source=tanstack\"\u003e\n  \u003cimg alt=\"Sentry\" src=\"https://raw.githubusercontent.com/tannerlinsley/files/master/partners/sentry.svg\" height=\"40\"\n\u003c/a\u003e\u003c/div\u003e\u003cbr /\u003e\n\u003cdiv\u003e\u003ca href=\"https://nozzle.io/?utm_source=tanstack\u0026utm_campaign=tanstack\"\u003e\n  \u003cimg alt=\"Nozzle.io\" src=\"https://raw.githubusercontent.com/tannerlinsley/files/master/partners/nozzle.svg\" height=\"40\"\n\u003c/a\u003e\u003c/div\u003e\u003cbr /\u003e\n\n## Quick Features\n\n- 100% TypeSafe\n  - Route Defs\n  - Navigation\n  - Relative Navigation\n  - Search Params\n  - Path Params\n  - Loaders\n- 1st Class Search Params\n  - Schemas + Validation\n  - Parsing + Serialization\n  - Immutable\n  - Structural Sharing\n  - Pre/Post Processing\n- Built-in Caching\n  - Stale-While-Revalidate\n  - Max-Age\n  - Auto Garbage Collection\n  - Invalidation\n- Prefetching\n- Automatic Prefetching\n- Transitions\n- Error Boundaries\n- Code Splitting\n- Layout Routes\n- Easy Integration w/ external caches and storage (eg. React Query, Apollo, SWR, RTKQuery)\n\n## Example Usage\n\nTo run example React projects with Tanstack Router, see [CONTRIBUTING.md](./CONTRIBUTING.md)\n\n\u003c!-- Use the force, Luke!!!! --\u003e\n","funding_links":["https://github.com/sponsors/tannerlinsley"],"categories":["六、路由管理","TypeScript","Uncategorized","UI Utilities","Code Design","前端开发框架及项目","typescript","📖 Categories"],"sub_categories":["3.  Immutable 工具（辅助状态管理）","Uncategorized","Syntax highlighting","Router","React工具库","React Routing"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTanStack%2Frouter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FTanStack%2Frouter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTanStack%2Frouter/lists"}