react-router
is a complete routing library for React.
React Router keeps your UI in sync with the URL. It has a simple API with powerful features like lazy code loading, dynamic route matching, and location transition handling built right in. Make the URL your first thought, not an after-thought.
- Tutorial - Do This First!
- Guides and API Docs
- Change Log
- Stack Overflow
- Codepen Boilerplate Please use for bug reports
Older Versions:
- 0.13.x - docs / code / upgrade guide
- 1.0.x - docs / code / upgrade guide
For questions and support, please visit our channel on Reactiflux or Stack Overflow. The issue tracker is exclusively for bug reports and feature requests.
We support all browsers and environments where React runs.
Using npm:
< 8000 div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ npm install --save react-router">$ npm install --save react-router