react-router-dom
DOM bindings for React Router
Last updated 15 days ago by mjackson .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install react-router-dom 
SYNC missed versions from official npm registry.

react-router-dom

DOM bindings for React Router.

Installation

Using npm:

$ npm install --save react-router-dom

Then with a module bundler like webpack, use as you would anything else:

// using ES6 modules
import { BrowserRouter, Route, Link } from "react-router-dom";

// using CommonJS modules
const BrowserRouter = require("react-router-dom").BrowserRouter;
const Route = require("react-router-dom").Route;
const Link = require("react-router-dom").Link;

The UMD build is also available on unpkg:

<script src="https://unpkg.com/react-router-dom/umd/react-router-dom.min.js"></script>

You can find the library on window.ReactRouterDOM.

Issues

If you find a bug, please file an issue on our issue tracker on GitHub.

Credits

React Router is built and maintained by React Training.

Current Tags

  • 5.2.0                                ...           latest (15 days ago)
  • 6.0.0-alpha.5                                ...           next (11 days ago)

44 Versions

  • 6.0.0-alpha.5                                ...           11 days ago
  • 5.2.0                                ...           15 days ago
  • 6.0.0-alpha.4                                ...           22 days ago
  • 6.0.0-alpha.3                                ...           2 months ago
  • 6.0.0-alpha.2                                ...           3 months ago
  • 6.0.0-alpha.1                                ...           4 months ago
  • 6.0.0-alpha.0                                ...           4 months ago
  • 5.1.2                                ...           8 months ago
  • 5.1.1                                ...           8 months ago
  • 5.1.0                                ...           8 months ago
  • 5.0.1                                ...           a year ago
  • 5.0.0                                ...           a year ago
  • 4.4.0-beta.8                                ...           a year ago
  • 4.4.0-beta.7                                ...           a year ago
  • 4.4.0-beta.6                                ...           2 years ago
  • 4.4.0-beta.5                                ...           2 years ago
  • 4.4.0-beta.4                                ...           2 years ago
  • 4.4.0-beta.3                                ...           2 years ago
  • 4.4.0-beta.2                                ...           2 years ago
  • 4.4.0-beta.1                                ...           2 years ago
  • 4.4.0-beta.0                                ...           2 years ago
  • 4.4.0-alpha.1                                ...           2 years ago
  • 4.4.0-alpha.0                                ...           2 years ago
  • 4.3.1                                ...           2 years ago
  • 4.3.0                                ...           2 years ago
  • 4.3.0-rc.3                                ...           2 years ago
  • 4.3.0-rc.2                                ...           2 years ago
  • 4.3.0-rc.1                                ...           2 years ago
  • 4.2.2                                ...           3 years ago
  • 4.2.1                                ...           3 years ago
  • 4.2.0                                ...           3 years ago
  • 4.1.2                                ...           3 years ago
  • 4.1.1                                ...           3 years ago
  • 4.1.0                                ...           3 years ago
  • 4.0.0                                ...           3 years ago
  • 4.0.0-beta.8                                ...           3 years ago
  • 4.0.0-beta.7                                ...           3 years ago
  • 4.0.0-beta.6                                ...           3 years ago
  • 4.0.0-beta.5                                ...           3 years ago
  • 4.0.0-beta.4                                ...           3 years ago
  • 4.0.0-beta.3                                ...           3 years ago
  • 4.0.0-beta.2                                ...           3 years ago
  • 4.0.0-beta.1                                ...           3 years ago
  • 0.0.0                                ...           3 years ago
Maintainers (2)
Downloads
Today 1,623
This Week 19,915
This Month 158,265
Last Day 9,280
Last Week 50,238
Last Month 172,734
Dependencies (7)
Dev Dependencies (0)
None
Dependents (8096)