Packages

react-router

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

Upgrading react-router From 6.18.0 to 6.19.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 6.18.0Newest 6.x6.30.6Clears its 4 advisories7.18.0Latest8.5.1
  1. 6.18.0yours
  2. 6.19.0target
0
changes to make
0
advisories fixed
2
new
2
fixes

Security

Release by release

  1. 6.19.0

    16 Nov 20232 new · 2 fixes
    • New

      Add unstable_flushSync option to useNavigate/useSumbit/fetcher.load/fetcher.submit to opt-out of React.startTransition and into ReactDOM.flushSync for state updates

    • New

      Remove the unstable_ prefix from the useBlocker hook as it's been in use for enough time that we are confident in the API. We do not plan to remove the prefix from unstable_usePrompt due to differences in how browsers handle window.confirm that prevent React Router from guaranteeing consistent/correct behavior.

    • Fixed

      Fix useActionData so it returns proper contextual action data and not any action data in the tree

    • Fixed

      Fix bug in useResolvedPath that would cause useResolvedPath(".") in a splat route to lose the splat portion of the URL path.

1 internal line (docs, tests, tooling) left out.

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.