Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ReactTraining/react-router
Declarative routing for React
https://github.com/ReactTraining/react-router
Last synced: about 2 months 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 (over 10 years ago)
- Default Branch: main
- Last Pushed: 2024-04-12T05:25:45.000Z (8 months ago)
- Last Synced: 2024-04-14T03:00:27.472Z (8 months ago)
- Language: TypeScript
- Homepage: https://reactrouter.com
- Size: 26.9 MB
- Stars: 51,860
- Watchers: 814
- Forks: 10,107
- Open Issues: 75
-
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 - react-router - V6 use react hook. (Frontend frameworks & libraries)
- awesome - react-router - V6 use react hook. (Frontend frameworks & libraries)
- awesome-frontend - react-router
- awesome-fe - **react-router** - React 路由方案。 (react 相关库 / macros)
- awesome-star-libs - ReactTraining / react-router - router (目录)
- awesome-web - react-router
- awesome-react - react-router - Declarative routing for React. ![](https://img.shields.io/github/stars/ReactTraining/react-router.svg?style=social&label=Star) (Utilities / Router)
- awesome-web-react - React Router - Declarative routing for React. (Routing)
- awesome - ReactTraining / react-router
- awesome-f2e-libs - **react-router** - React 路由方案。 (react 相关库 / macros)
- awesome-react-cn - react-router
README
# Welcome to React Router · [![npm package][npm-badge]][npm] [![build][build-badge]][build]
[npm-badge]: https://img.shields.io/npm/v/react-router-dom.svg?style=flat-square
[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 lightweight, fully-featured routing library for the [React](https://reactjs.org) JavaScript library. React Router runs everywhere that React runs; on the web, on the server (using node.js), and on React Native.
If you're new to React Router, we recommend you start with [the tutorial](https://reactrouter.com/en/main/start/tutorial).
If you're migrating to v6 from v5 (or v4, which is the same as v5), check out [the migration guide](/docs/upgrading/v5.md). If you're migrating from Reach Router, check out [the migration guide for Reach Router](/docs/upgrading/reach.md). If you need to find the code for v5, [it is on the `v5` branch](https://github.com/remix-run/react-router/tree/v5).
Documentation for v6 can be found [on our website](https://reactrouter.com/).
## Contributing
There are many different ways to contribute to React Router's development. If you're interested, check out [our contributing guidelines](CONTRIBUTING.md) to learn how you can get involved.
## Packages
This repository is a monorepo containing the following packages:
- [`react-router`](/packages/react-router)
- [`react-router-dom`](/packages/react-router-dom)
- [`react-router-native`](/packages/react-router-native)## Changes
Detailed release notes for a given version can be found [on our releases page](https://github.com/remix-run/react-router/releases).
## Funding
You may provide financial support for this project by donating [via Open Collective](https://opencollective.com/react-router). Thank you for your support!
## About
React Router is developed and maintained by [Remix Software](https://remix.run) and many [amazing contributors](https://github.com/remix-run/react-router/graphs/contributors).