Package Exports
- @reach/router
- @reach/router/es
- @reach/router/es/index
- @reach/router/es/lib/utils
- @reach/router/lib/history
- @reach/router/lib/utils
- @reach/router/package.json
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@reach/router) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Next Generation Routing for React
Documentation
Installation
yarn add @reach/router
And then import it:
import { Router, Link, Redirect } from "@reach/router";
Or use script tags and globals.
<script src="https://unpkg.com/@reach/router"></script>
<script>
ReactionsRouter.Router;
ReactionsRouter.Link;
ReactionsRouter.Redirect;
</script>
For usage information please see the docs. You can also find the docs in the website directory.
Legal
MIT License Copyright (c) 2018-present, Ryan Florence