Skip to content
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

Migrate to React 19 #2172

Closed
wants to merge 29 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
52f9f44
Update React and React-DOM to the new rc version
aryaemami59 May 10, 2024
1b0959f
Set `@types/react` and `@types/react-dom` to temporary types packages
aryaemami59 May 10, 2024
42e8fdb
Run tests against different versions of React during CI
aryaemami59 May 10, 2024
16d7836
Remove the now deprecated `react-test-renderer` package
aryaemami59 May 10, 2024
ef815df
Replace the now removed `ReactDOM` methods
aryaemami59 May 10, 2024
cc26e52
Replace `@testing-library/react-hooks` with `@testing-library/react`
aryaemami59 May 10, 2024
db8f227
Update `react-is` implementation
aryaemami59 May 10, 2024
a36e2ba
Export `IS_REACT_19` and re-use in tests
aryaemami59 May 10, 2024
b2c42b9
Update `wrapper` `props` in `useDispatch.spec.tsx` to resolve type error
aryaemami59 May 10, 2024
cdc1f9b
Remove unnecessary `rtl.cleanup` calls
aryaemami59 May 10, 2024
54bf8cb
Add `@ts-ignore` for type issue related to `@types/react` ^18.61
aryaemami59 May 10, 2024
2120ddb
Uncomment type test
aryaemami59 May 10, 2024
48f1791
Add TODO comment about different rendering behaviors in React 18 vs 19
aryaemami59 May 10, 2024
bac1b48
Update `react` and `@types/react` in `peerDependencies`
aryaemami59 May 10, 2024
45347ac
Bump `use-sync-external-store` to the new rc
aryaemami59 May 14, 2024
1d780a8
Use `types-use-sync-external-store` for `@types/use-sync-external-store`
aryaemami59 May 14, 2024
6c08004
Fix skipped tests in `ssr.spec.tsx`
aryaemami59 May 16, 2024
b3e164f
Change `.toHaveBeenCalledTimes(0)` to `.not.toHaveBeenCalled()`
aryaemami59 May 16, 2024
6ba4122
Change `.toHaveBeenCalledTimes(1)` to `.toHaveBeenCalledOnce()`
aryaemami59 May 16, 2024
1f1aa86
Fix duplicate `React` import in `hoistStatics.ts`
aryaemami59 May 19, 2024
2bce208
Bump `@testing-library/dom` to version 10.4.0
aryaemami59 Jun 26, 2024
7be5fb3
Bump `@testing-library/jest-dom` to version 6.6.3
aryaemami59 Jun 26, 2024
9cb5734
Bump `jsdom` to version 25.0.1
aryaemami59 Jul 25, 2024
8cf1188
Bump `@testing-library/react` to version 16.1.0
aryaemami59 Sep 4, 2024
44e3183
Fix skipped test in `test/integration/ssr.spec.tsx`
aryaemami59 Dec 6, 2024
5b40546
Fix type of `innerMapStateToProps` in `Provider.spec.tsx`
aryaemami59 Dec 6, 2024
430243e
Update `hoist-non-react-statics` implementation
aryaemami59 Dec 6, 2024
734dd10
Fix `act` related issues in `test/hooks/useSelector.spec.tsx`
aryaemami59 Dec 6, 2024
a38fd8f
Migrate to React 19
aryaemami59 Dec 6, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update react and @types/react in peerDependencies
  • Loading branch information
aryaemami59 committed Dec 6, 2024
commit bac1b48f40df5bc3974fce930adefbfdb652906a
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
"coverage": "codecov"
},
"peerDependencies": {
"@types/react": "^18.2.25",
"react": "^18.0",
"@types/react": "^18.2.25 || ^19",
"react": "^18.0 || ^19",
"redux": "^5.0.0"
},
"peerDependenciesMeta": {
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6203,8 +6203,8 @@ __metadata:
use-sync-external-store: "npm:^1.2.2"
vitest: "npm:^1.6.0"
peerDependencies:
"@types/react": ^18.2.25
react: ^18.0
"@types/react": ^18.2.25 || ^19
react: ^18.0 || ^19
redux: ^5.0.0
peerDependenciesMeta:
"@types/react":
Expand Down