-
Notifications
You must be signed in to change notification settings - Fork 1k
feat(react): Upgrade to React 18 #4992
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
Merged
Merged
Changes from 49 commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
dee0adb
chore: upgrade to react 18
virtuoushub 1fea52e
chore(@testing-library/react): switch to version 13
virtuoushub 03bee6e
build(yarn): remove duplicates defined at top level
virtuoushub f7943ec
chore(react@18): remove `unstable_batchedUpdates`
virtuoushub f643edc
fix(typescript): cast to get typescript error to go away
virtuoushub c0b63dc
fix(typescript): needed to get typescript error to go away
virtuoushub b0cd7db
test(unit): skip failing test
virtuoushub e3f3357
chore([email protected]): update snapshots
virtuoushub 46c3d50
chore(deps): run dedupe
virtuoushub 4fe7bd0
chore(fixtures): update
virtuoushub 36fb1d9
chore(codemods): fix for TypeScript / Auth stuff?
virtuoushub 083e3f6
Revert "chore(codemods): fix for TypeScript / Auth stuff?"
virtuoushub 7204c96
test(unit): skip flakey windows test
virtuoushub 32837b0
doc(📓): correct URL
virtuoushub 34c5e48
Merge remote-tracking branch 'upstream/main' into chore/upgrade-to-re…
virtuoushub 9ece86e
chore(deps): bump react type
virtuoushub 9bd6ac2
chore(deps): remove stale dep
virtuoushub 9d1e6c6
chore(deps): bump react
virtuoushub f08b794
chore(deps): alight react type versions
virtuoushub a4dc36f
chore(deps): 🤷♀️
virtuoushub e8bef71
chore(deps): bump react-dom types
virtuoushub 2c3ad65
fix(typescript): for build failure
virtuoushub d1632e0
chore: bring back commented out tests
virtuoushub 65ea887
chore: favor inline `children` prop definition
virtuoushub 295fd75
chore(test@ci): fix for failing smoke test
virtuoushub 6f5e4d3
chore(test@ci): fix for failing smoke test
virtuoushub eb2b72f
chore(test@ci): fix for failing smoke test
virtuoushub fd61c2a
Revert "chore(test@ci): fix for failing smoke test"
virtuoushub 76dc333
chore: rebuild project fixture
virtuoushub 24987c7
chore: try bumping the default jest timeout
virtuoushub e8740ab
chore: add to all slow tests
virtuoushub 6e2f09c
Hardcode currentUser attributes
Tobbe f2ba874
router.test.tsx: Format source, and increase timeout
Tobbe f33567d
Merge branch 'main' into chore/upgrade-to-react-18
Tobbe f4b29f7
yarn.lock
Tobbe dba56cc
chore(deps): bump `@types/react`
virtuoushub e9bcf8e
Merge branch 'main' into chore/upgrade-to-react-18
virtuoushub 883ab5d
Merge branch 'main' into chore/upgrade-to-react-18
virtuoushub b211f25
Merge branch 'main' into chore/upgrade-to-react-18
Tobbe a53b2ca
Merge branch 'main' into chore/upgrade-to-react-18
virtuoushub 497faa0
Merge remote-tracking branch 'origin/chore/upgrade-to-react-18' into …
virtuoushub 4431f81
Update packages/auth-providers/auth0/web/package.json
virtuoushub bea2239
chore: fix failed merge resolve
virtuoushub f862d12
chore: fix failed merge resolve
virtuoushub 242926c
chore: remove resolutions
jtoar 9007239
chore: remove typescript-transform-paths
jtoar 0857588
Merge branch 'main' into chore/upgrade-to-react-18
jtoar 2fe67d0
fix: proxies forgotPassword test
jtoar 3e698d1
fix: revert docs react upgrade
jtoar 3826c4f
fix: use toBeCalledWith instead of toBe on length
jtoar 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
File renamed without changes.
File renamed without changes.
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
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
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
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
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
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
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
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
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
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
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
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
2 changes: 1 addition & 1 deletion
2
packages/auth-providers/dbAuth/web/src/__tests__/dbAuth.test.ts
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
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
2 changes: 1 addition & 1 deletion
2
packages/auth-providers/firebase/web/src/__tests__/firebase.test.tsx
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
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
2 changes: 1 addition & 1 deletion
2
packages/auth-providers/netlify/web/src/__tests__/netlify.test.tsx
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
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
2 changes: 1 addition & 1 deletion
2
packages/auth-providers/supabase/web/src/__tests__/supabase.test.tsx
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
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
2 changes: 1 addition & 1 deletion
2
packages/auth-providers/supertokens/web/src/__tests__/supertokens.test.tsx
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,7 +17,7 @@ | |
| "@redwoodjs/router": "3.2.0", | ||
| "@redwoodjs/web": "3.2.0", | ||
| "prop-types": "15.8.1", | ||
| "react": "17.0.2", | ||
| "react-dom": "17.0.2" | ||
| "react": "18.2.0", | ||
| "react-dom": "18.2.0" | ||
|
Comment on lines
+20
to
+21
Contributor
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. Kind of feels like we shouldn't be pinning these in the CRWA template; let me see what that involves. |
||
| } | ||
| } | ||
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.