Packages

react-router

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

Upgrading react-router From 5.0.1 to 5.1.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 5.0.1Newest 5.x5.3.4Latest8.5.1
  1. 5.0.1yours
  2. 5.1.0target
0
changes to make
0
advisories fixed
4
new
1
fix

Release by release

  1. 5.1.0

    24 Sep 20194 new · 1 fix
    • New

      Add useParams, useLocation, useHistory, and useRouteMatch hooks

    • New

      Add support for forwardRef in <Link>

    • New

      Add support for functions in <Link to> and <NavLink to> (#5331, #5368)

    • New

      Add <Link component> API

    • Fixed

      Don't render <Route children> elements when the <Route> does not match

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.