Packages

react-router

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

Your version

2.7.0

20 Aug 2016Where it was published

2.8.1 is the newest release of 2.x.

In short

2 new1 changed

Release note

Changes

Aug 20, 2016

  • Feature: Support router as a prop on withRouter-wrapped components for overriding the router object from context

  • Feature: Add withRef option to withRouter that enables getWrappedInstance (#3735, #3740)

  • Bugfix: Warn on invalid router middlewares

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.