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:

PackageVersionDocsDescription
react-routernpmThe core of React Router
react-router-domnpmDOM bindings for React Router
react-router-nativenpmReact Native bindings for React Router
react-router-reduxnpmIntegration with React Router and Redux
react-router-confignpmStatic route config helpers

About

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!