Github url


by ReactTraining

ReactTraining /react-router

Declarative routing for React

41.1K Stars 8.2K Forks Last release: 2 months ago (v5.2.0) MIT License 4.6K Commits 156 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:


React Router

Declarative routing for React


View the docs here

Migrating from 2.x/3.x?

3.x docs

2.x docs


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 | | ------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | | [


]( | npm | | The core of React Router | | [


]( | npm | | DOM bindings for React Router | | [


]( | npm | | React Native bindings for React Router | | [


]( | npm | | Static route config helpers |

Redux users: The [


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 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!



is developed and maintained by React Training and many amazing contributors. If you're interested in learning more about what React can do for your company, please get in touch!

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.