Packages

react-router

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

Your version

2.2.0

13 Apr 2016Where it was published

2.8.1 is the newest release of 2.x.

In short

3 fixed3 changed

Release note

Changes

  • Feature/Deprecation: Call getComponent and getComponents with nextState; deprecate accessing location directly in favor of nextState.location there (#3298, Upgrade Guide)

  • Bugfix: Do not ignore extraneous slashes in matching

  • Bugfix: Do not unnecessarily set empty className on <Link>

  • Minor: Update PropTypes

  • Minor: Move ES module build from es6/ to es/

  • Minor: Do not include unused deprecation logic in production builds

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.