Declarative routing for React
Note: You're currently viewing the v5
branch for React Router version 4 and 5. You can find the source code for version 6 on the main
branch.
View the docs for 4.x/5.x here
This repository is a monorepo that we manage using Lerna. That means that we actually publish several packages to npm from the same codebase, including:
Package | Version | Docs | Description |
---|---|---|---|
react-router |
The core of React Router | ||
react-router-dom |
DOM bindings for React Router | ||
react-router-native |
React Native bindings for React Router | ||
react-router-config |
Static route config helpers |
Redux users: The
react-router-redux
package is now deprecated. See Redux Integration for a better approach.
Detailed release notes for a given version can be found on our releases page.
For change notes prior to version 4, please see the CHANGES.md file.
You may provide financial support for this project by donating via Open Collective, attending one of our workshops, or purchasing one of our online courses. Thank you for your support!
React Router is developed and maintained by Remix and many amazing contributors.