Skip to content
Declarative routing for React
Branch: master
Clone or download
Latest commit 536e184 Mar 22, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Use Lock to automatically lock old closed issues Jun 4, 2018
scripts Use static instead of public dir Feb 28, 2019
website merge pr Mar 22, 2019
.browserslistrc Add browserslist config Oct 30, 2018
.gitignore Remove pre-built versions of React Oct 13, 2018
.prettierignore Fix broken build Dec 3, 2018
.travis.yml Release from Travis CI Mar 16, 2019 Prettify some more files Nov 17, 2018 Prettify some more files Nov 17, 2018 Prettify some more files Nov 17, 2018 Prettify some more files Nov 17, 2018
LICENSE Update copyright year Jan 11, 2018 Remove react-router-redux package Oct 9, 2018
lerna.json v5.0.0 Mar 18, 2019
package-lock.json switch to sandbox examples Mar 21, 2019
package.json Give the monorepo package a name Feb 26, 2019
website_deploy_key.enc Update website deploy key Feb 26, 2019


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
react-router npm The core of React Router
react-router-dom npm DOM bindings for React Router
react-router-native npm React Native bindings for React Router
react-router-config npm Static route config helpers

Redux users: The react-router-redux package is now deprecated. See Redux Integration for a better approach.


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

You can’t perform that action at this time.