React Router, the widely used routing library for React that now underpins the Remix framework, has released React Router v8, shipping on June 17, 2026 with a deliberately small set of breaking changes, modernised baselines, and a commitment to a predictable yearly release cadence.

React Router v8 introduces updated minimum versions, an ESM-only build, middleware enabled by default, and the graduation of several future flags into standard behaviour. It also marks React Router v6 and Remix v2 as End of Life, so neither will receive further security updates.

Writing on the Remix blog, Developer Relations Manager Brooks Lybrand framed the release as intentionally uneventful, explaining that the team's aim for the past several major versions has been to make them "as boring as possible". He added that "it's not a major version if nothing broke", while stressing that every breaking change in v8 is one developers could already adopt in v7 through future flags.

The new baselines are Node 22.22.0+, React 19.2.7+, and Vite 7+. To modernise the library, React Router is now published as an ESM-only module, with tsconfig target and lib fields updated to ES2022. Four future flags, including v8_middleware and v8_viteEnvironmentApi, have been removed and their behaviours made default, while splitRouteModules moves to a top-level config option that is enabled by default.

Middleware becoming a baseline drew particular attention. In a piece titled "React Router v8 Makes Middleware a Baseline", Roman Fedyskyi wrote that the change pushes frontend teams to "centralize auth, logging, headers", arguing that "many frontend incidents are policy incidents". Not all coverage was reassuring, with byteiota warning that "three breaking changes will catch teams off guard" for a package pulling more than 50 million weekly npm downloads.

In his React Router v8 and Beyond talk, Lybrand joked that they "broke all your apps, and we did it just to make you mad", a nod to the sceptical reaction on Reddit. Some developers have already looked elsewhere, with The New Stack reporting that some are turning to TanStack Router after the Remix and React Router merger. TanStack Router remains the main challenger, promoted for its end-to-end type safety and built-in stale-while-revalidate caching, while Next.js continues to lead on React Server Components maturity.

Migration is designed to be straightforward. The official upgrade guide advises updating peer dependencies, adopting the future flags, and removing deprecated APIs before installing. A key deprecation is the removal of the react-router-dom package:


- import { Link, useLocation } from "react-router-dom"; + import { Link, useLocation } from "react-router";
DOM-specific APIs now import from react-router/dom instead. React Router v8 is already supported on Netlify and by the Sentry SDK, with minor releases up to v8.3.0 following since launch.

React Router is an open-source library developed via an Open Governance model and maintained by the team at Shopify, with upgrade instructions available at reactrouter.com.