https://github.com/remix-run/react-router
Declarative routing for React
https://github.com/remix-run/react-router
Last synced: 7 days ago
JSON representation
Declarative routing for React
- Host: GitHub
- URL: https://github.com/remix-run/react-router
- Owner: remix-run
- License: mit
- Created: 2014-05-16T22:22:51.000Z (almost 11 years ago)
- Default Branch: main
- Last Pushed: 2025-04-05T07:06:23.000Z (9 days ago)
- Last Synced: 2025-04-06T04:16:21.714Z (9 days ago)
- Language: TypeScript
- Homepage: https://reactrouter.com
- Size: 35.5 MB
- Stars: 54,491
- Watchers: 809
- Forks: 10,517
- Open Issues: 299
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- best-of-react - GitHub - 1% open · ⏱️ 02.06.2024): (Routing)
- best-of-react - GitHub - 1% open · ⏱️ 02.06.2024): (Routing)
- awesome - remix-run/react-router - Declarative routing for React (TypeScript)
- awesome-ccamel - remix-run/react-router - Declarative routing for React (TypeScript)
- awesome-github-star - react-router - run | 51003 | (TypeScript)
- awesome-list - react-router - run | 43784 | (JavaScript)
- StarryDivineSky - remix-run/react-router
- awesome-react - react-router - Declarative routing for React (**Awesome React** [](https://github.com/sindresorhus/awesome) / React)
- best-of-react - GitHub - 1% open · ⏱️ 02.06.2024): (Routing)
- awesome-arsenal - Router - 路由。 (武器库 / 前端)
- stars - react-router - run | 54522 | (TypeScript)
- stars - react-router - run | 53443 | (TypeScript)
- awesome-engineering - React-Router
README
[![npm package][npm-badge]][npm] [![build][build-badge]][build]
[npm-badge]: https://img.shields.io/npm/v/react-router-dom.svg
[npm]: https://www.npmjs.org/package/react-router-dom
[build-badge]: https://img.shields.io/github/actions/workflow/status/remix-run/react-router/test.yml?branch=dev&style=square
[build]: https://github.com/remix-run/react-router/actions/workflows/test.ymlReact Router is a multi-strategy router for React bridging the gap from React 18 to React 19. You can use it maximally as a React framework or minimally as a library with your own architecture.
- [Getting Started - Framework](https://reactrouter.com/start/framework/installation)
- [Getting Started - Library](https://reactrouter.com/start/library/installation)
- [Upgrade from v6](https://reactrouter.com/upgrading/v6)
- [Upgrade from Remix](https://reactrouter.com/upgrading/remix)
- [Changelog](https://github.com/remix-run/react-router/blob/main/CHANGELOG.md)## Packages
- [`react-router`](./packages/react-router)
- [`@react-router/dev`](./packages/react-router-dev)
- [`@react-router/node`](./packages/react-router-node)
- [`@react-router/cloudflare`](./packages/react-router-cloudflare)
- [`@react-router/serve`](./packages/react-router-serve)
- [`@react-router/fs-routes`](./packages/react-router-fs-routes)## Previous Versions
- [v6](https://reactrouter.com/v6)
- [v5](https://v5.reactrouter.com/)