React Router Home

React Router Home

React Router is a multi-strategy router for React bridging the gap from React 18 to React 19. You can use it maximally as a React framework or as minimally as you want.

Getting Started

There are three primary ways, or "modes", to use it in your app, so there are three guides to get you started.

Learn which mode is right for you in Picking a Mode.

Using These Guides

Across the docs you'll see the following icons:

These icons indicate which mode the content is relevant to.

Additional auto-generated reference documentation is available:

Autogenerated Reference Docs ↗

Upgrading

If you are caught up on future flags, upgrading from React Router v6 or Remix v2 is generally non-breaking. Remix v2 apps are encouraged to upgrade to React Router v7.

Docs and examples CC 4.0