This repository has been archived by the owner on Jan 16, 2020. It is now read-only.
Update react-router-dom to the latest version 🚀 #362
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.0
to5.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
, anduseRouteMatch
hooks (d6224d6)forwardRef
in<Link>
(b5528ed)Bugfixes
<Route children>
elements when the<Route>
does not match (9665659)Commits
The new version differs by 86 commits.
0c058ad
v5.1.0
ce2fdc7
Update size snapshots
01ac3d7
Update build step to use yarn instead of npm
8f49b02
Remove docs on context.router
51325d8
Update export style
3debcd4
Add hooks to documentation website
0721144
Update React to 16.8
0f29d23
Update import/export style
443126b
Remove react-router-dom shim from website
c4a89e1
Use react-app ESLint config and fix a few issues
6372049
Add some docs about hooks
9c784be
Rename useMatch => useRouteMatch
a5dd83f
Fixed up testing doc from #6903
d6224d6
Add some hooks for React 16.8 users
19835fb
remove clever example in testing guide (#6903)
There are 86 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 🌴