Skip to content
Declarative routing for React
JavaScript Objective-C CSS HTML Python Java Shell
Branch: master
Clone or download

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Exclude fresh issues/PRs Dec 27, 2019
packages Replace npm -g with npx (#7106) Jan 21, 2020
scripts Update build link Oct 17, 2019
website fix(#7003): style collapse on 1350px view (#7027) Jan 16, 2020
.browserslistrc Add browserslist config Oct 30, 2018
.eslintignore Update ESLint configs and fix warnings/errors Oct 18, 2019
.eslintrc Use json instead of json5 Oct 21, 2019
.gitignore Update website deploy key Oct 16, 2019
.huskyrc.js Revert "Remove husky" Oct 18, 2019
.prettierignore Do not Prettify build output Oct 18, 2019
.prettierrc Prettify some more files Nov 17, 2018
.travis.yml Update website deploy key Oct 16, 2019
CHANGELOG.md eeeeeeeeeeeeeeeeee Jun 11, 2019
CONTRIBUTING.md Update contributing guidelines Sep 16, 2019
FAQ.md Ran prettier Oct 18, 2019
LICENSE Update copyright year Jan 11, 2018
README.md Add funding info Oct 22, 2019
babel.config.js Fix react native test setup (reworked jest configs) Oct 4, 2019
jest-preset.js Remove react-router-native moduleNameMapper in root Oct 17, 2019
lerna.json Add changelog generator Oct 7, 2019
package.json Revert "Remove husky" Oct 18, 2019
website-deploy-key.enc Update website deploy key Oct 16, 2019
yarn.lock Revert "Remove husky" Oct 18, 2019

README.md

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-config npm Static route config helpers

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

Changes

Detailed release notes for a given version can be found on our releases page.

For change notes prior to version 4, please see the CHANGES.md file.

Funding

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!

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!

You can’t perform that action at this time.