-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
React 18 Upgrade #7142
Merged
Merged
React 18 Upgrade #7142
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
19782c9
Update React to 18.3.1 in docs/demo packages
ggdouglas eeb271b
Update to React 18.3.1 in other packages
ggdouglas faac080
Update React in test-commons and use enzyme-adapter-react-18
ggdouglas c2fe8e4
Update react-test-renderer to 18.3.1
ggdouglas 037b487
Upgrade @testing-library/react to latest
ggdouglas 3495f31
Update `@types/react` and `@types/react-dom` at root
ggdouglas b1253c7
Remove deprecated ReactDOM methods from table-dev-app
ggdouglas 25c0ac2
Replace deprecated ReactDOM methods in toastCreateAsyncExample
ggdouglas 8e9bfb2
Remove deprecated ReactDOM methods from demo-app
ggdouglas 95bb8ce
Replace deprecated ReactDOM methods for docs-app
ggdouglas ba07774
Replace deprecated act from react-dom/test-utils with export from react
ggdouglas 06eab81
Skip test that passes locally
ggdouglas 1eecc7a
Run yarn dedupe
ggdouglas 14db1ce
Revert change to ReactDOM method in toastCreateAsyncExample
ggdouglas c56e0ca
Ignore deprecated ReactDOM method in toastCreateAsyncExample
ggdouglas bfc4dbd
Skip tests that pass locally
ggdouglas 96993dc
Skip tests that pass locally
ggdouglas File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,10 +68,10 @@ | |
"karma": "^6.4.2", | ||
"mocha": "^10.2.0", | ||
"npm-run-all": "^4.1.5", | ||
"react": "^16.14.0", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should we be updating the react Wondering if I should leave these be instead of changing them. |
||
"react": "^18.3.1", | ||
"react-day-picker": "patch:react-day-picker@npm%3A7.4.9#~/.yarn/patches/react-day-picker-npm-7.4.9-8853eff118.patch", | ||
"react-dom": "^16.14.0", | ||
"react-test-renderer": "^16.14.0", | ||
"react-dom": "^18.3.1", | ||
"react-test-renderer": "^18.3.1", | ||
"typescript": "~5.3.3", | ||
"webpack-cli": "^5.1.4" | ||
}, | ||
|
Oops, something went wrong.
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.
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.
Fixes a deprecation in React 18. Act is now exported from React as of
v18.3.1
.https://react.dev/warnings/react-dom-test-utils#reactdomtestutilsact-warning