Emmanuil 73a9f0ffcf 20.07.2020 | %!s(int64=4) %!d(string=hai) anos | |
---|---|---|
.. | ||
cjs | %!s(int64=4) %!d(string=hai) anos | |
es | %!s(int64=4) %!d(string=hai) anos | |
esm | %!s(int64=4) %!d(string=hai) anos | |
modules | %!s(int64=4) %!d(string=hai) anos | |
node_modules | %!s(int64=4) %!d(string=hai) anos | |
umd | %!s(int64=4) %!d(string=hai) anos | |
BrowserRouter.js | %!s(int64=4) %!d(string=hai) anos | |
HashRouter.js | %!s(int64=4) %!d(string=hai) anos | |
LICENSE | %!s(int64=4) %!d(string=hai) anos | |
Link.js | %!s(int64=4) %!d(string=hai) anos | |
MemoryRouter.js | %!s(int64=4) %!d(string=hai) anos | |
NavLink.js | %!s(int64=4) %!d(string=hai) anos | |
Prompt.js | %!s(int64=4) %!d(string=hai) anos | |
README.md | %!s(int64=4) %!d(string=hai) anos | |
Redirect.js | %!s(int64=4) %!d(string=hai) anos | |
Route.js | %!s(int64=4) %!d(string=hai) anos | |
Router.js | %!s(int64=4) %!d(string=hai) anos | |
StaticRouter.js | %!s(int64=4) %!d(string=hai) anos | |
Switch.js | %!s(int64=4) %!d(string=hai) anos | |
generatePath.js | %!s(int64=4) %!d(string=hai) anos | |
index.js | %!s(int64=4) %!d(string=hai) anos | |
matchPath.js | %!s(int64=4) %!d(string=hai) anos | |
package.json | %!s(int64=4) %!d(string=hai) anos | |
warnAboutDeprecatedCJSRequire.js | %!s(int64=4) %!d(string=hai) anos | |
withRouter.js | %!s(int64=4) %!d(string=hai) anos |
DOM bindings for React Router.
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
.
If you find a bug, please file an issue on our issue tracker on GitHub.
React Router is built and maintained by React Training.