Skip to content

Commit da0c469

Browse files
eps1lonunstubbable
andauthored
Update React from 6230622a1a-20240610 to 3208e73e-20240730 (#68330)
Co-authored-by: Hendrik Liebau <[email protected]>
1 parent b46b1e1 commit da0c469

File tree

156 files changed

+345514
-501361
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

+345514
-501361
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-3208e73e-20240730

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-3208e73e-20240730",
11+
"react-dom": "19.0.0-rc-3208e73e-20240730"
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-3208e73e-20240730",
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]3208e73e-20240730",
206+
"react-dom": "19.0.0-rc-3208e73e-20240730",
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]3208e73e-20240730",
209+
"react-dom-experimental-builtin": "npm:[email protected]3208e73e-20240730",
210+
"react-experimental-builtin": "npm:[email protected]3208e73e-20240730",
211+
"react-is-builtin": "npm:[email protected]3208e73e-20240730",
212+
"react-server-dom-turbopack": "19.0.0-rc-3208e73e-20240730",
213+
"react-server-dom-turbopack-experimental": "npm:[email protected]3208e73e-20240730",
214+
"react-server-dom-webpack": "19.0.0-rc-3208e73e-20240730",
215+
"react-server-dom-webpack-experimental": "npm:[email protected]3208e73e-20240730",
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]3208e73e-20240730",
226+
"scheduler-experimental-builtin": "npm:[email protected]3208e73e-20240730",
227227
"seedrandom": "3.0.5",
228228
"semver": "7.3.7",
229229
"shell-quote": "1.7.3",
@@ -263,10 +263,10 @@
263263
"@babel/traverse": "7.22.5",
264264
"@types/react": "npm:[email protected]",
265265
"@types/react-dom": "npm:[email protected]",
266-
"react": "19.0.0-rc-6230622a1a-20240610",
267-
"react-dom": "19.0.0-rc-6230622a1a-20240610",
268-
"react-is": "19.0.0-rc-6230622a1a-20240610",
269-
"scheduler": "0.25.0-rc-6230622a1a-20240610"
266+
"react": "19.0.0-rc-3208e73e-20240730",
267+
"react-dom": "19.0.0-rc-3208e73e-20240730",
268+
"react-is": "19.0.0-rc-3208e73e-20240730",
269+
"scheduler": "0.25.0-rc-3208e73e-20240730"
270270
},
271271
"patchedDependencies": {
272272

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-3208e73e-20240730",
188+
"react-dom": "19.0.0-rc-3208e73e-20240730",
189189
next: version,
190190
},
191191
devDependencies: {},

packages/next/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@
108108
"@opentelemetry/api": "^1.1.0",
109109
"@playwright/test": "^1.41.2",
110110
"babel-plugin-react-compiler": "*",
111-
"react": "19.0.0-rc.0",
112-
"react-dom": "19.0.0-rc.0",
111+
"react": "19.0.0-rc-3208e73e-20240730",
112+
"react-dom": "19.0.0-rc-3208e73e-20240730",
113113
"sass": "^1.3.0"
114114
},
115115
"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)