https://github.com/ReactTraining/react-router
Declarative routing for React
https://github.com/ReactTraining/react-router
Last synced: 21 days ago
JSON representation
Declarative routing for React
- Host: GitHub
- URL: https://github.com/ReactTraining/react-router
- Owner: remix-run
- License: mit
- Created: 2014-05-16T22:22:51.000Z (almost 11 years ago)
- Default Branch: main
- Last Pushed: 2025-03-20T18:35:43.000Z (25 days ago)
- Last Synced: 2025-03-22T03:15:48.395Z (24 days ago)
- Language: TypeScript
- Homepage: https://reactrouter.com
- Size: 35.4 MB
- Stars: 54,359
- Watchers: 808
- Forks: 10,498
- Open Issues: 295
-
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
- awesome-frontend - react-router
- awesome-fe - **react-router** - React 路由方案。 (react 相关库 / macros)
- awesome-star-libs - ReactTraining / react-router - router (目录)
- awesome-f2e-libs - **react-router** - React 路由方案。 (react 相关库 / macros)
- awesome-react-cn - react-router
- awesome-web - react-router
- awesome-react - react-router - Declarative routing for React.  (Utilities / Router)
- awesome - react-router - V6 use react hook. (Frontend frameworks & libraries)
- awesome-web-react - React Router - Declarative routing for React. (Routing)
- awesome - ReactTraining / 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/)