Packages

react-router

8.5.1 · 27 Oct 2026MIT80.5M / weekRepositorynpmAtom feed

Your version

6.26.0

1 Aug 2024Where it was published

6.30.6 is the newest release of 6.x.

In short

1 new1 fixed1 internal

Security

Release note

The section about react-router of a note shared by several packages.

Minor Changes

  • Add a new replace(url, init?) alternative to redirect(url, init?) that performs a history.replaceState instead of a history.pushState on client-side navigation redirects

Patch Changes

  • Fix initial hydration behavior when using future.v7_partialHydration along with unstable_patchRoutesOnMiss

    • During initial hydration, router.state.matches will now include any partial matches so that we can render ancestor HydrateFallback components

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.