Declarative routing for React
JavaScript Objective-C CSS HTML Python Java
Latest commit c5c40aa Apr 25, 2017 @Floriferous Floriferous committed with timdorr Added note on use of withRouter (#5032)


React Router

Declarative routing for React


View the docs here

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-redux npm Integration with React Router and Redux
react-router-config npm Static route config helpers


Thanks to our sponsors for supporting the development of React Router.

Also, thanks to BrowserStack for providing the infrastructure that allows us to run our build in real browsers.