Packages

react-router

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

Your version

5.1.0

24 Sep 2019Where it was published

5.3.4 is the newest release of 5.x.

In short

4 new1 fixed

Release note

Features

  • Add useParams, useLocation, useHistory, and useRouteMatch hooks

  • Add support for forwardRef in <Link>

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

  • Add <Link component> API

Bugfixes

  • 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.