Skip to main content

React Router 8.5.3

Release Date: November 24, 2026

React Router 8.5.3 landed on November 24, 2026, one week after 8.5.2. I pulled it into a Data mode app and a Framework mode app to see what actually changes day to day. Short version: nothing breaks, and a few annoying edge cases that used to cost an afternoon are gone.

The Fix I Care About Most

<RouterProvider> now forwards every NavigateOptions from its navigator.push() and navigator.replace() calls into router.navigate(). That means options like mask, defaultShouldRevalidate, flushSync, and viewTransition now reach the router when a link, useNavigate(), or useSearchParams() sits inside a descendant <Routes> in Data or Framework mode. Before this, those options were silently dropped in nested route trees, which is exactly the setup most real apps have. If you set viewTransition on a link and wondered why the animation never ran, this is the patch that explains it.

Navigation and History

  • A masked hash history entry restores the correct router location on back and forward navigation.
  • <HydratedRouter> no longer re-renders the previous route during a navigation, which removes a loop with <Navigate state={...} replace> that could exceed Safari's limit on history.replaceState() calls.
  • useBlocker no longer blocks a second time when the destination route updates search params inside a mount effect.
  • Blocked back and forward navigations in a memory router land on the correct history entry even when the requested delta goes past the first entry.
  • Clicks on links carrying a download attribute are left to the browser. This applies to <Link download> and anything built with useLinkClickHandler, so file downloads stop being intercepted as client side navigations.

Data Loading and Submissions

Two fixes target stale data. Fetcher action revalidation can no longer complete a navigation with stale route matches while lazy route discovery is still pending. And the current route's actionData is kept while a submission to a different route is loading, so a form in flight elsewhere no longer blanks out the page you are looking at.

<Form> and useSubmit now read encType and formEncType case insensitively, which fixes submissions written as Multipart/Form-Data being sent with the wrong content type. They go out as multipart/form-data now.

TypeScript and Hydration

A circular type error is gone for arrow function route components that read matches from Route.ComponentProps. The types now use the current route's loaderData directly instead of evaluating the component's own props again, so matches resolves in editors that previously gave up.

Nonce hydration warnings are suppressed when using <ServerRouter nonce>, covering critical CSS and HTML link descriptors from <Links> as well as developer scripts in the default root error boundary and hydrate fallback. If you run a strict CSP with per-request nonces, your console is quieter after this update.

One guardrail was added: matchPath rejects excessively large optional route path combinations, with a ceiling of 12 optional markers per pattern. That will only surface if you generated paths programmatically.

Worth It?

For a patch release, yes. No API changes to learn, and the NavigateOptions forwarding alone fixes behaviour that was quietly wrong. Bump react-router and @react-router/* together, run your test suite, and pay attention to any test that asserts on history entries after a blocked navigation.

Other Versions

We use cookies for ads and analytics.