Join 10350+ others. No spamming.
I promise!

Follow us at github.



ReactTraining/react-router

22623

ReactTraining / react-router

JavaScript

Declarative routing for React


READ ME

react-router

React Router

Declarative routing for React

Docs

View the docs here

Migrating from 2.x/3.x?

3.x docs

2.x docs

Packages

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

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.