Packages

react-router

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

Upgrading react-router From 7.9.6 to 7.10.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 7.9.6Newest 7.x7.18.6Clears its 13 advisories7.18.0Latest8.5.1
  1. 7.9.6yours
  2. 7.10.0target
1
change to make
0
advisories fixed
2
new
6
fixes

Before you upgrade

Tick each one off as you go
  • Breaking7.10.0

Security

Release by release

  1. 7.10.0

    Migration needed2 Dec 20252 new · 6 fixes
    • Breaking

      ⚠️ This is a breaking change if you have begun using fetcher.unstable_reset()

    • New

      Add new unstable_useTransitions flag to routers to give users control over the usage of React.startTransition and React.useOptimistic.

    • New

      Optimize href() to avoid backtracking regex on splat

    • Fixed

      Fix a Framework Mode bug where the defaultShouldRevalidate parameter to shouldRevalidate would not be correct after action returned a 4xx/5xx response (true when it should have been false)

4 other lines we could not sort, mostly version bumps
  • The match.shouldLoad API is now marked deprecated in favor of these more powerful alternatives

    7.10.0
  • If you're using this API in a custom dataStrategy today, you can swap to the new API at your convenience:

    7.10.0
  • match.shouldRevalidateArgs is the argument that will be passed to the route shouldRevaliate function

    7.10.0
  • Combined with the parameter accepted by match.shouldCallHandler, you can define a custom revalidation behavior for your dataStrategy:

    7.10.0

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.