Update react-router-dom to the latest version 🚀
🚨 Reminder! Less than one month left to migrate your repositories over to Snyk before Greenkeeper says goodbye on June 3rd! 💜 🚚💨 💚
Find out how to migrate to Snyk at greenkeeper.io
The dependency react-router-dom was updated from 5.1.0 to 5.2.0.
This version is not covered by your current version range.
If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.
Publisher: mjackson License: MIT
Release Notes for v5.2.0
This release includes a notable performance boost by separating the "Router" context from the "History" context internally. We also allow every element type for Link's component prop and support a sensitive prop on NavLink for control over case sensitive matching.
Enjoy!
Changes
- Add
sensitiveprop on NavLink (#7251 by @caseywebdev) - Fix Link
componentprop type check (#7276 by @ypyakymiv) - Update
mini-create-react-context(#7288 by @patricksmms) - Separate
historyto its own context (#7103 by @illuminist)
Commits
The new version differs by 98 commits.
21a62e5v5.2.0742f035Revert "chore: Replace deprecated "componentWillMount" with "componentDidMount" (#7259)" (#7329)7d64842Revert "perf: Use PureComponent to avoid useless re-renders (#7258)" (#7328)fc53733Separate history object to its own context (#7103)973cf52chore(package): update mini-create-react-context to v0.4.0 (#7288)ce6f59cmissing tag (#7284)65bbc09Clearly describe API of callback in code (#7279)e632747Fixed Link component prop type check (#7276)8439fddupdate the docs for browserrouter in the example of basename. (#7277)26aa871Fixes #7272 (#7274)c0b8ce4chore: Replace deprecated "componentWillMount" with "componentDidMount" (#7259)bfe0d2bperf: Use PureComponent to avoid useless re-renders (#7258)291bfd0SupportsensitivematchPath option in NavLink (#7251)402ecabUpdate links to history docs (#7228)926d7a4Update docs to reference useRouteMatch (#7193)
There are 98 commits in total.
See the full diff
FAQ and help
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper bot :palm_tree: