Update react-router-dom to the latest version 🚀 #629
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🚨 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.2to5.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'scomponentprop and support asensitiveprop on NavLink for control over case sensitive matching.Enjoy!
Changes
sensitiveprop on NavLink (#7251 by @caseywebdev)componentprop type check (#7276 by @ypyakymiv)mini-create-react-context(#7288 by @patricksmms)historyto its own context (#7103 by @illuminist)Commits
The new version differs by 76 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 76 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 🌴