Packages

react-router

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

Upgrading react-router From 6.8.2 to 6.9.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

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

Security

Release by release

  1. 6.9.0

    10 Mar 20232 new · 2 fixes
    • New

      React Router now supports an alternative way to define your route element and errorElement fields as React Components instead of React Elements. You can instead pass a React Component to the new Component and ErrorBoundary fields if you choose. There is no functional difference between the two, so use whichever approach you prefer 😀. You shouldn't be defining both, but if you do Component/ErrorBoundary will "win".

    • New

      Introducing Lazy Route Modules!

    • Fixed

      Fix generatePath incorrectly applying parameters in some cases

    • Fixed

      Improve memoization for context providers to avoid unnecessary re-renders

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.