-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat!: React 18 Upgrade #2714
Merged
Merged
feat!: React 18 Upgrade #2714
Conversation
This file contains 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
- react/react-dom and other react-related depdencies updated - @testing-library/react-hooks removed as it is now merged into @testing-library/react - focus-trap-react updated to 9.0.2 (upgrading beyond this version will break IE11 compatibility) - tabbable.js mock file added to fix JSDom testing compatibility issues with Modal (with a comment added to Modal test file) - DatePicker tests updated to wait on the next expect after async actions such as open/close/unmount - Various type fixes including... - SocialLink logic tweaked to fix type issues - Prop typing on InPageNavigation updated to omit the content property from the joined JSX.IntrinsicElements['div'] type as it is being overidden (not combined) to prevent type issues
brandonlenz
reviewed
Jan 31, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this looks great! One question and one nit before I approve
edit: Oh and a conflict on package.json that will get in the way of merging
brandonlenz
approved these changes
Feb 2, 2024
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.
Summary
Updates the project's react/react-dom dependency to 18.2.0 with updates to relevant react-related dependencies. Fixes tests and typescript typing issues.
Of note:
Related Issues or PRs
Fixes #2222
How To Test
Screenshots (optional)