Skip to content

Commit d771e26

Browse files
authored
Merge pull request #1895 from reduxjs/feature/v8-peerdeps
2 parents bf7f9b6 + db94ad0 commit d771e26

File tree

3 files changed

+16
-9
lines changed

3 files changed

+16
-9
lines changed

package.json

+8-4
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,11 @@
4040
"coverage": "codecov"
4141
},
4242
"peerDependencies": {
43-
"@types/react": "^18.0.0",
44-
"react": "^18.0.0",
45-
"react-dom": "^18.0.0",
46-
"react-native": "^0.64.1"
43+
"@types/react": "^16.8 || ^17.0 || ^18.0",
44+
"react": "^16.8 || ^17.0 || ^18.0",
45+
"react-dom": "^16.8 || ^17.0 || ^18.0",
46+
"react-native": ">=0.59",
47+
"redux": "^4"
4748
},
4849
"peerDependenciesMeta": {
4950
"@types/react": {
@@ -54,6 +55,9 @@
5455
},
5556
"react-native": {
5657
"optional": true
58+
},
59+
"redux": {
60+
"optional": true
5761
}
5862
},
5963
"dependencies": {

test/integration/ssr.spec.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ describe('New v8 serverState behavior', () => {
126126
jest.clearAllMocks()
127127
})
128128

129-
it.only('Handles hydration correctly', async () => {
129+
it('Handles hydration correctly', async () => {
130130
const ssrStore = createStore(dataSlice.reducer)
131131

132132
// Simulating loading all data before rendering the app

yarn.lock

+7-4
Original file line numberDiff line numberDiff line change
@@ -8931,17 +8931,20 @@ __metadata:
89318931
typescript: ^4.3.4
89328932
use-sync-external-store: ^1.0.0
89338933
peerDependencies:
8934-
"@types/react": ^18.0.0
8935-
react: ^18.0.0
8936-
react-dom: ^18.0.0
8937-
react-native: ^0.64.1
8934+
"@types/react": ^16.8 || ^17.0 || ^18.0
8935+
react: ^16.8 || ^17.0 || ^18.0
8936+
react-dom: ^16.8 || ^17.0 || ^18.0
8937+
react-native: ">=0.59"
8938+
redux: ^4
89388939
peerDependenciesMeta:
89398940
"@types/react":
89408941
optional: true
89418942
react-dom:
89428943
optional: true
89438944
react-native:
89448945
optional: true
8946+
redux:
8947+
optional: true
89458948
languageName: unknown
89468949
linkType: soft
89478950

0 commit comments

Comments
 (0)