Update react-router-dom to the latest version 🚀 #1304
Merged
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.
The dependency react-router-dom was updated from
5.0.1to5.1.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.1.0
Changes
Features
useParams,useLocation,useHistory, anduseRouteMatchhooks (d6224d6)forwardRefin<Link>(b5528ed)Bugfixes
<Route children>elements when the<Route>does not match (9665659)Commits
The new version differs by 49 commits.
0c058adv5.1.0ce2fdc7Update size snapshots01ac3d7Update build step to use yarn instead of npm8f49b02Remove docs on context.router51325d8Update export style3debcd4Add hooks to documentation website0721144Update React to 16.80f29d23Update import/export style443126bRemove react-router-dom shim from websitec4a89e1Use react-app ESLint config and fix a few issues6372049Add some docs about hooks9c784beRename useMatch => useRouteMatcha5dd83fFixed up testing doc from #6903d6224d6Add some hooks for React 16.8 users19835fbremove clever example in testing guide (#6903)There are 49 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 🌴