Skip to content

Commit 67a1fb8

Browse files
authored
Update React from 6230622a1a-20240610 to 76002254-20240724 (#68149)
1 parent 571597d commit 67a1fb8

File tree

156 files changed

+340190
-499150
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

156 files changed

+340190
-499150
lines changed

.github/.react-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
19.0.0-rc-6230622a1a-20240610
1+
19.0.0-rc-76002254-20240724

examples/reproduction-template/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
},
88
"dependencies": {
99
"next": "canary",
10-
"react": "19.0.0-rc.0",
11-
"react-dom": "19.0.0-rc.0"
10+
"react": "19.0.0-rc-76002254-20240724",
11+
"react-dom": "19.0.0-rc-76002254-20240724"
1212
},
1313
"devDependencies": {
1414
"@types/node": "20.12.12",

package.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -200,19 +200,19 @@
200200
"pretty-bytes": "5.3.0",
201201
"pretty-ms": "7.0.0",
202202
"random-seed": "0.3.0",
203-
"react": "19.0.0-rc-6230622a1a-20240610",
203+
"react": "19.0.0-rc-76002254-20240724",
204204
"react-17": "npm:[email protected]",
205-
"react-builtin": "npm:[email protected]6230622a1a-20240610",
206-
"react-dom": "19.0.0-rc-6230622a1a-20240610",
205+
"react-builtin": "npm:[email protected]76002254-20240724",
206+
"react-dom": "19.0.0-rc-76002254-20240724",
207207
"react-dom-17": "npm:[email protected]",
208-
"react-dom-builtin": "npm:[email protected]6230622a1a-20240610",
209-
"react-dom-experimental-builtin": "npm:[email protected]6230622a1a-20240610",
210-
"react-experimental-builtin": "npm:[email protected]6230622a1a-20240610",
211-
"react-is-builtin": "npm:[email protected]6230622a1a-20240610",
212-
"react-server-dom-turbopack": "19.0.0-rc-6230622a1a-20240610",
213-
"react-server-dom-turbopack-experimental": "npm:[email protected]6230622a1a-20240610",
214-
"react-server-dom-webpack": "19.0.0-rc-6230622a1a-20240610",
215-
"react-server-dom-webpack-experimental": "npm:[email protected]6230622a1a-20240610",
208+
"react-dom-builtin": "npm:[email protected]76002254-20240724",
209+
"react-dom-experimental-builtin": "npm:[email protected]76002254-20240724",
210+
"react-experimental-builtin": "npm:[email protected]76002254-20240724",
211+
"react-is-builtin": "npm:[email protected]76002254-20240724",
212+
"react-server-dom-turbopack": "19.0.0-rc-76002254-20240724",
213+
"react-server-dom-turbopack-experimental": "npm:[email protected]76002254-20240724",
214+
"react-server-dom-webpack": "19.0.0-rc-76002254-20240724",
215+
"react-server-dom-webpack-experimental": "npm:[email protected]76002254-20240724",
216216
"react-ssr-prepass": "1.0.8",
217217
"react-virtualized": "9.22.3",
218218
"relay-compiler": "13.0.2",
@@ -222,8 +222,8 @@
222222
"resolve-from": "5.0.0",
223223
"sass": "1.54.0",
224224
"satori": "0.10.9",
225-
"scheduler-builtin": "npm:[email protected]6230622a1a-20240610",
226-
"scheduler-experimental-builtin": "npm:[email protected]6230622a1a-20240610",
225+
"scheduler-builtin": "npm:[email protected]76002254-20240724",
226+
"scheduler-experimental-builtin": "npm:[email protected]76002254-20240724",
227227
"seedrandom": "3.0.5",
228228
"semver": "7.3.7",
229229
"shell-quote": "1.7.3",
@@ -257,10 +257,10 @@
257257
"@babel/traverse": "7.22.5",
258258
"@types/react": "npm:[email protected]",
259259
"@types/react-dom": "npm:[email protected]",
260-
"react": "19.0.0-rc-6230622a1a-20240610",
261-
"react-dom": "19.0.0-rc-6230622a1a-20240610",
262-
"react-is": "19.0.0-rc-6230622a1a-20240610",
263-
"scheduler": "0.25.0-rc-6230622a1a-20240610"
260+
"react": "19.0.0-rc-76002254-20240724",
261+
"react-dom": "19.0.0-rc-76002254-20240724",
262+
"react-is": "19.0.0-rc-76002254-20240724",
263+
"scheduler": "0.25.0-rc-76002254-20240724"
264264
},
265265
"engines": {
266266
"node": ">=18.18.0",

packages/create-next-app/templates/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,8 @@ export const installTemplate = async ({
184184
* Default dependencies.
185185
*/
186186
dependencies: {
187-
react: "19.0.0-rc.0",
188-
"react-dom": "19.0.0-rc.0",
187+
react: "19.0.0-rc-76002254-20240724",
188+
"react-dom": "19.0.0-rc-76002254-20240724",
189189
next: version,
190190
},
191191
devDependencies: {},

packages/next/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@
106106
"@opentelemetry/api": "^1.1.0",
107107
"@playwright/test": "^1.41.2",
108108
"babel-plugin-react-compiler": "*",
109-
"react": "19.0.0-rc.0",
110-
"react-dom": "19.0.0-rc.0",
109+
"react": "19.0.0-rc-76002254-20240724",
110+
"react-dom": "19.0.0-rc-76002254-20240724",
111111
"sass": "^1.3.0"
112112
},
113113
"peerDependenciesMeta": {

packages/next/src/client/components/react-dev-overlay/internal/helpers/hydration-error-info.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ export const hydrationErrorState: HydrationErrorState = {}
1717

1818
// https://github.com/facebook/react/blob/main/packages/react-dom/src/__tests__/ReactDOMHydrationDiff-test.js used as a reference
1919
const htmlTagsWarnings = new Set([
20-
'Warning: In HTML, %s cannot be a child of <%s>.%s\nThis will cause a hydration error.%s',
21-
'Warning: In HTML, %s cannot be a descendant of <%s>.\nThis will cause a hydration error.%s',
22-
'Warning: In HTML, text nodes cannot be a child of <%s>.\nThis will cause a hydration error.',
23-
"Warning: In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.\nThis will cause a hydration error.",
20+
'In HTML, %s cannot be a child of <%s>.%s\nThis will cause a hydration error.%s',
21+
'In HTML, %s cannot be a descendant of <%s>.\nThis will cause a hydration error.%s',
22+
'In HTML, text nodes cannot be a child of <%s>.\nThis will cause a hydration error.',
23+
"In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.\nThis will cause a hydration error.",
2424
])
2525

2626
export const getHydrationWarningType = (msg: NullableText): 'tag' | 'text' => {

0 commit comments

Comments
 (0)