Packages

react-router

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

Your version

6.14.2

17 Jul 2023Where it was published

6.30.6 is the newest release of 6.x.

In short

2 new5 fixed

Security

Release note

Patch Changes

  • Add missing <Form state> prop to populate history.state on submission navigations

  • Trigger an error if a defer promise resolves/rejects with undefined in order to match the behavior of loaders and actions which must return a value or null

  • Properly handle fetcher redirects interrupted by normal navigations

  • Initial-load fetchers should not automatically revalidate on GET navigations

  • Properly decode element id when emulating hash scrolling via <ScrollRestoration>

  • Typescript: Enhance the return type of Route.lazy to prohibit returning an empty object

  • SSR: Support proper hydration of Error subclasses such as ReferenceError/TypeError

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.