Skip to content

Commit 48bcc49

Browse files
committed
fix: react.use should not depend on data condition
1 parent 3118521 commit 48bcc49

File tree

7 files changed

+169
-152
lines changed

7 files changed

+169
-152
lines changed

e2e/site/next-env.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
/// <reference types="next/navigation-types/compat/navigation" />
44

55
// NOTE: This file should not be edited
6-
// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
6+
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

e2e/site/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
"@types/node": "^20.2.5",
1313
"@types/react": "^18.2.8",
1414
"@types/react-dom": "18.2.4",
15-
"next": "^15.0.4",
16-
"react": "^18.3.1",
17-
"react-dom": "^18.3.1",
15+
"next": "^15.4.4",
16+
"react": "^19.1.0",
17+
"react-dom": "^19.1.0",
1818
"typescript": "5.1.3",
1919
"swr": "*"
2020
}

examples/suspense-retry/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"@types/node": "^20.2.5",
1313
"@types/react": "^18.2.8",
1414
"@types/react-dom": "18.2.4",
15-
"next": "^13.4.4",
15+
"next": "^latest",
1616
"react": "^18.2.0",
1717
"react-dom": "^18.2.0",
1818
"typescript": "5.1.3",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@
146146
"jest": "29.7.0",
147147
"jest-environment-jsdom": "29.7.0",
148148
"lint-staged": "13.2.2",
149-
"next": "15.0.4",
149+
"next": "15.4.4",
150150
"prettier": "2.8.8",
151151
"react": "^18.2.0",
152152
"react-dom": "^18.2.0",

0 commit comments

Comments
 (0)