Upgrade to react-router 7.x - #2053
Open
labkey-alan wants to merge 8 commits into
Open
Conversation
labkey-nicka
approved these changes
Aug 10, 2026
| "react-datepicker": "~7.6.0", | ||
| "react-dom": "~18.3.1", | ||
| "react-router-dom": "~6.30.4", | ||
| "react-router": "7.18.2", |
Contributor
There was a problem hiding this comment.
Seems more consistent to keep it as ~7.18.2.
labkey-alan
force-pushed
the
fb_upgrade_react_router
branch
from
August 13, 2026 01:42
0067ec4 to
5bfe083
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Rationale
This PR upgrades react-router to 7.x, because version 6.x doesn't seem to be getting patches for security vulnerabilities. 7.x is not the newest major version, that is 8.x, but we can't upgrade to that until we upgrade to React 19.
Related Pull Requests
Changes
react-router-domdependencyreact-routerv7.18.2 dependencyreact-router-domimports toreact-router