react-router-dom
DOM bindings for React Router
Last updated 5 months 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.1.2                                ...           latest (5 months ago)
  • 6.0.0-alpha.2                                ...           next (18 hours ago)

40 Versions

  • 6.0.0-alpha.2                                ...           18 hours ago
  • 6.0.0-alpha.1                                ...           22 days ago
  • 6.0.0-alpha.0                                ...           22 days ago
  • 5.1.2                                ...           5 months ago
  • 5.1.1                                ...           5 months ago
  • 5.1.0                                ...           5 months ago
  • 5.0.1                                ...           9 months 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                                ...           a year ago
  • 4.4.0-beta.5                                ...           a year ago
  • 4.4.0-beta.4                                ...           a year ago
  • 4.4.0-beta.3                                ...           a year ago
  • 4.4.0-beta.2                                ...           a year ago
  • 4.4.0-beta.1                                ...           a year ago
  • 4.4.0-beta.0                                ...           a year 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                                ...           2 years ago
  • 4.2.1                                ...           2 years ago
  • 4.2.0                                ...           2 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 152
This Week 29,039
This Month 84,894
Last Day 2,341
Last Week 28,691
Last Month 95,507
Dependencies (7)
Dev Dependencies (0)
None
Dependents (7123)