React Router logo, nine dots in an upward triangle (one on top, two in the middle, three on the bottom) with a path of three highlighted and connected from top to bottom, next to the text React Router

A user‑obsessed, standards‑focused, multi‑strategy router you can deploy anywhere.

What to expect from this version:

Non-breaking
Upgrading from v6 to v7 is a non-breaking upgrade. Keep using React Router the same way you already do.
Bridge to React 19
All new bundling, server rendering, pre-rendering, and streaming features allow you bridge the gap from React 18 to 19 incrementally.
Type Safety
New typegen provides first class types for route params, loader data, actions, and more.

Choose Your Adventure:

© 2024 Shopify, Inc.