Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-router-dom

Package Overview
Dependencies
Maintainers
3
Versions
459
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-router-dom - npm Package Versions

1
46

6.1.0

Diff

Changelog

Source

v6.1.0

Date: 2021-12-10

Minor Changes

  • <Outlet> can now receive a context prop. This value is passed to child routes and is accessible via the new useOutletContext hook. See the API docs for details. (#8461)
  • <NavLink> can now receive a child function for access to its props. (#8164)
  • Improved TypeScript signature for useMatch and matchPath. For example, when you call useMatch("foo/:bar/:baz"), the path is parsed and the return type will be PathMatch<"bar" | "baz">. (#8030)

Patch Changes

  • Fixed a bug that broke support for base64 encoded IDs on nested routes (#8291)
  • A few error message improvements (#8202)

Full Changelog: v6.0.2...v6.1.0

mjackson
published 6.0.2 •

Changelog

Source

v6.0.2

Date: 2021-11-09

Patch Changes

  • Added the reloadDocument prop to <Link>. This allows <Link> to function like a normal anchor tag by reloading the document after navigation while maintaining the relative to resolution (#8283)

Full Changelog: v6.0.1...v6.0.2

mjackson
published 6.0.1 •

Changelog

Source

v6.0.1

Date: 2021-11-05

Patch Changes

  • Add a default <StaticRouter location> value (#8243)
  • Add invariant for using <Route> inside <Routes> to help people make the change (#8238)

Full Changelog: v6.0.0...v6.0.1

mjackson
published 6.0.0 •

Changelog

Source

v6.0.0

Date: 2021-11-03

React Router v6 is here!

Please go read our blog post for more information on all the great stuff in v6 including notes about how to upgrade from React Router v5 and Reach Router.

mjackson
published 6.0.0-beta.8 •

mjackson
published 6.0.0-beta.7 •

mjackson
published 6.0.0-beta.6 •

mjackson
published 6.0.0-beta.5 •

mjackson
published 6.0.0-beta.4 •

chancestrickland
published 5.3.0 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc