Skip to content

Update peer deps for v8 #1895

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 2 commits into from
Apr 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
12 changes: 8 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,11 @@
"coverage": "codecov"
},
"peerDependencies": {
"@types/react": "^18.0.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-native": "^0.64.1"
"@types/react": "^16.8 || ^17.0 || ^18.0",
"react": "^16.8 || ^17.0 || ^18.0",
"react-dom": "^16.8 || ^17.0 || ^18.0",
"react-native": ">=0.59",
"redux": "^4"
},
"peerDependenciesMeta": {
"@types/react": {
Expand All @@ -54,6 +55,9 @@
},
"react-native": {
"optional": true
},
"redux": {
"optional": true
}
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion test/integration/ssr.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ describe('New v8 serverState behavior', () => {
jest.clearAllMocks()
})

it.only('Handles hydration correctly', async () => {
it('Handles hydration correctly', async () => {
const ssrStore = createStore(dataSlice.reducer)

// Simulating loading all data before rendering the app
Expand Down
11 changes: 7 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8931,17 +8931,20 @@ __metadata:
typescript: ^4.3.4
use-sync-external-store: ^1.0.0
peerDependencies:
"@types/react": ^18.0.0
react: ^18.0.0
react-dom: ^18.0.0
react-native: ^0.64.1
"@types/react": ^16.8 || ^17.0 || ^18.0
react: ^16.8 || ^17.0 || ^18.0
react-dom: ^16.8 || ^17.0 || ^18.0
react-native: ">=0.59"
redux: ^4
peerDependenciesMeta:
"@types/react":
optional: true
react-dom:
optional: true
react-native:
optional: true
redux:
optional: true
languageName: unknown
linkType: soft

Expand Down