React Router is a lightweight, fully-featured routing library for theReactJavaScript library. React Router runs everywhere that React runs; on the web, on the server (using node.js), and on React Native.
If you're new to React Router, we recommend you start withthe tutorial.
If you're migrating to v6 from v5 (or v4, which is the same as v5), check outthe migration guide.If you're migrating from Reach Router, check outthe migration guide for Reach Router.If you need to find the code for v5,it is on thev5
branch.
Documentation for v6 can be foundon our website.
There are many different ways to contribute to React Router's development. If you're interested, check outour contributing guidelinesto learn how you can get involved.
This repository is a monorepo containing the following packages:
Detailed release notes for a given version can be foundon our releases page.
You may provide financial support for this project by donatingvia Open Collective.Thank you for your support!
React Router is developed and maintained byRemix Softwareand manyamazing contributors.