Skip to content

Commit 3628310

Browse files
nextjs-boteps1lon
andauthored
Upgrade React from a757cb76-20251002 to 85c427d8-20251003 (#84496)
Co-authored-by: Sebastian Sebbie Silbermann <[email protected]>
1 parent 6a0718d commit 3628310

File tree

63 files changed

+770
-723
lines changed

Some content is hidden

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

63 files changed

+770
-723
lines changed

.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@
254254
"packages/next/src/next-devtools/dev-overlay/**/*.tsx",
255255
"packages/next/src/next-devtools/dev-overlay/**/*.ts"
256256
],
257-
"extends": ["plugin:react-hooks/recommended"],
257+
"extends": ["plugin:react-hooks/recommended-legacy"],
258258
"rules": {
259259
"react-hooks/exhaustive-deps": "error"
260260
}

package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@
199199
"eslint-plugin-jsdoc": "48.0.4",
200200
"eslint-plugin-mdx": "3.1.5",
201201
"eslint-plugin-react": "7.35.0",
202-
"eslint-plugin-react-hooks": "0.0.0-experimental-a757cb76-20251002",
202+
"eslint-plugin-react-hooks": "0.0.0-experimental-85c427d8-20251003",
203203
"eslint-v8": "npm:eslint@^8.57.0",
204204
"event-stream": "4.0.1",
205205
"execa": "2.0.3",
@@ -259,16 +259,16 @@
259259
"pretty-ms": "7.0.0",
260260
"random-seed": "0.3.0",
261261
"react": "19.0.0",
262-
"react-builtin": "npm:[email protected]a757cb76-20251002",
262+
"react-builtin": "npm:[email protected]85c427d8-20251003",
263263
"react-dom": "19.0.0",
264-
"react-dom-builtin": "npm:[email protected]a757cb76-20251002",
265-
"react-dom-experimental-builtin": "npm:[email protected]a757cb76-20251002",
266-
"react-experimental-builtin": "npm:[email protected]a757cb76-20251002",
267-
"react-is-builtin": "npm:[email protected]a757cb76-20251002",
268-
"react-server-dom-turbopack": "19.3.0-canary-a757cb76-20251002",
269-
"react-server-dom-turbopack-experimental": "npm:[email protected]a757cb76-20251002",
270-
"react-server-dom-webpack": "19.3.0-canary-a757cb76-20251002",
271-
"react-server-dom-webpack-experimental": "npm:[email protected]a757cb76-20251002",
264+
"react-dom-builtin": "npm:[email protected]85c427d8-20251003",
265+
"react-dom-experimental-builtin": "npm:[email protected]85c427d8-20251003",
266+
"react-experimental-builtin": "npm:[email protected]85c427d8-20251003",
267+
"react-is-builtin": "npm:[email protected]85c427d8-20251003",
268+
"react-server-dom-turbopack": "19.3.0-canary-85c427d8-20251003",
269+
"react-server-dom-turbopack-experimental": "npm:[email protected]85c427d8-20251003",
270+
"react-server-dom-webpack": "19.3.0-canary-85c427d8-20251003",
271+
"react-server-dom-webpack-experimental": "npm:[email protected]85c427d8-20251003",
272272
"react-ssr-prepass": "1.0.8",
273273
"react-virtualized": "9.22.3",
274274
"relay-compiler": "13.0.2",
@@ -278,8 +278,8 @@
278278
"resolve-from": "5.0.0",
279279
"sass": "1.54.0",
280280
"satori": "0.15.2",
281-
"scheduler-builtin": "npm:[email protected]a757cb76-20251002",
282-
"scheduler-experimental-builtin": "npm:[email protected]a757cb76-20251002",
281+
"scheduler-builtin": "npm:[email protected]85c427d8-20251003",
282+
"scheduler-experimental-builtin": "npm:[email protected]85c427d8-20251003",
283283
"seedrandom": "3.0.5",
284284
"semver": "7.3.7",
285285
"serve-handler": "6.1.6",
@@ -323,10 +323,10 @@
323323
"@types/react-dom": "19.1.10",
324324
"@types/retry": "0.12.0",
325325
"jest-snapshot": "30.0.0-alpha.6",
326-
"react": "19.3.0-canary-a757cb76-20251002",
327-
"react-dom": "19.3.0-canary-a757cb76-20251002",
328-
"react-is": "19.3.0-canary-a757cb76-20251002",
329-
"scheduler": "0.28.0-canary-a757cb76-20251002"
326+
"react": "19.3.0-canary-85c427d8-20251003",
327+
"react-dom": "19.3.0-canary-85c427d8-20251003",
328+
"react-is": "19.3.0-canary-85c427d8-20251003",
329+
"scheduler": "0.28.0-canary-85c427d8-20251003"
330330
},
331331
"packageExtensions": {
332332

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.development.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32277,11 +32277,11 @@
3227732277
};
3227832278
(function () {
3227932279
var isomorphicReactPackageVersion = React.version;
32280-
if ("19.3.0-experimental-a757cb76-20251002" !== isomorphicReactPackageVersion)
32280+
if ("19.3.0-experimental-85c427d8-20251003" !== isomorphicReactPackageVersion)
3228132281
throw Error(
3228232282
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
3228332283
(isomorphicReactPackageVersion +
32284-
"\n - react-dom: 19.3.0-experimental-a757cb76-20251002\nLearn more: https://react.dev/warnings/version-mismatch")
32284+
"\n - react-dom: 19.3.0-experimental-85c427d8-20251003\nLearn more: https://react.dev/warnings/version-mismatch")
3228532285
);
3228632286
})();
3228732287
("function" === typeof Map &&
@@ -32318,10 +32318,10 @@
3231832318
!(function () {
3231932319
var internals = {
3232032320
bundleType: 1,
32321-
version: "19.3.0-experimental-a757cb76-20251002",
32321+
version: "19.3.0-experimental-85c427d8-20251003",
3232232322
rendererPackageName: "react-dom",
3232332323
currentDispatcherRef: ReactSharedInternals,
32324-
reconcilerVersion: "19.3.0-experimental-a757cb76-20251002"
32324+
reconcilerVersion: "19.3.0-experimental-85c427d8-20251003"
3232532325
};
3232632326
internals.overrideHookState = overrideHookState;
3232732327
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -32469,7 +32469,7 @@
3246932469
listenToAllSupportedEvents(container);
3247032470
return new ReactDOMHydrationRoot(initialChildren);
3247132471
};
32472-
exports.version = "19.3.0-experimental-a757cb76-20251002";
32472+
exports.version = "19.3.0-experimental-85c427d8-20251003";
3247332473
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
3247432474
"function" ===
3247532475
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.production.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19570,14 +19570,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
1957019570
};
1957119571
var isomorphicReactPackageVersion$jscomp$inline_2217 = React.version;
1957219572
if (
19573-
"19.3.0-experimental-a757cb76-20251002" !==
19573+
"19.3.0-experimental-85c427d8-20251003" !==
1957419574
isomorphicReactPackageVersion$jscomp$inline_2217
1957519575
)
1957619576
throw Error(
1957719577
formatProdErrorMessage(
1957819578
527,
1957919579
isomorphicReactPackageVersion$jscomp$inline_2217,
19580-
"19.3.0-experimental-a757cb76-20251002"
19580+
"19.3.0-experimental-85c427d8-20251003"
1958119581
)
1958219582
);
1958319583
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -19599,10 +19599,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
1959919599
};
1960019600
var internals$jscomp$inline_2914 = {
1960119601
bundleType: 0,
19602-
version: "19.3.0-experimental-a757cb76-20251002",
19602+
version: "19.3.0-experimental-85c427d8-20251003",
1960319603
rendererPackageName: "react-dom",
1960419604
currentDispatcherRef: ReactSharedInternals,
19605-
reconcilerVersion: "19.3.0-experimental-a757cb76-20251002"
19605+
reconcilerVersion: "19.3.0-experimental-85c427d8-20251003"
1960619606
};
1960719607
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1960819608
var hook$jscomp$inline_2915 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -19709,4 +19709,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
1970919709
listenToAllSupportedEvents(container);
1971019710
return new ReactDOMHydrationRoot(initialChildren);
1971119711
};
19712-
exports.version = "19.3.0-experimental-a757cb76-20251002";
19712+
exports.version = "19.3.0-experimental-85c427d8-20251003";

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.development.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32329,11 +32329,11 @@
3232932329
};
3233032330
(function () {
3233132331
var isomorphicReactPackageVersion = React.version;
32332-
if ("19.3.0-experimental-a757cb76-20251002" !== isomorphicReactPackageVersion)
32332+
if ("19.3.0-experimental-85c427d8-20251003" !== isomorphicReactPackageVersion)
3233332333
throw Error(
3233432334
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
3233532335
(isomorphicReactPackageVersion +
32336-
"\n - react-dom: 19.3.0-experimental-a757cb76-20251002\nLearn more: https://react.dev/warnings/version-mismatch")
32336+
"\n - react-dom: 19.3.0-experimental-85c427d8-20251003\nLearn more: https://react.dev/warnings/version-mismatch")
3233732337
);
3233832338
})();
3233932339
("function" === typeof Map &&
@@ -32370,10 +32370,10 @@
3237032370
!(function () {
3237132371
var internals = {
3237232372
bundleType: 1,
32373-
version: "19.3.0-experimental-a757cb76-20251002",
32373+
version: "19.3.0-experimental-85c427d8-20251003",
3237432374
rendererPackageName: "react-dom",
3237532375
currentDispatcherRef: ReactSharedInternals,
32376-
reconcilerVersion: "19.3.0-experimental-a757cb76-20251002"
32376+
reconcilerVersion: "19.3.0-experimental-85c427d8-20251003"
3237732377
};
3237832378
internals.overrideHookState = overrideHookState;
3237932379
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -32851,7 +32851,7 @@
3285132851
exports.useFormStatus = function () {
3285232852
return resolveDispatcher().useHostTransitionStatus();
3285332853
};
32854-
exports.version = "19.3.0-experimental-a757cb76-20251002";
32854+
exports.version = "19.3.0-experimental-85c427d8-20251003";
3285532855
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
3285632856
"function" ===
3285732857
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.profiling.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21624,14 +21624,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
2162421624
};
2162521625
var isomorphicReactPackageVersion$jscomp$inline_2513 = React.version;
2162621626
if (
21627-
"19.3.0-experimental-a757cb76-20251002" !==
21627+
"19.3.0-experimental-85c427d8-20251003" !==
2162821628
isomorphicReactPackageVersion$jscomp$inline_2513
2162921629
)
2163021630
throw Error(
2163121631
formatProdErrorMessage(
2163221632
527,
2163321633
isomorphicReactPackageVersion$jscomp$inline_2513,
21634-
"19.3.0-experimental-a757cb76-20251002"
21634+
"19.3.0-experimental-85c427d8-20251003"
2163521635
)
2163621636
);
2163721637
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -21653,10 +21653,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
2165321653
};
2165421654
var internals$jscomp$inline_3223 = {
2165521655
bundleType: 0,
21656-
version: "19.3.0-experimental-a757cb76-20251002",
21656+
version: "19.3.0-experimental-85c427d8-20251003",
2165721657
rendererPackageName: "react-dom",
2165821658
currentDispatcherRef: ReactSharedInternals,
21659-
reconcilerVersion: "19.3.0-experimental-a757cb76-20251002"
21659+
reconcilerVersion: "19.3.0-experimental-85c427d8-20251003"
2166021660
};
2166121661
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
2166221662
var hook$jscomp$inline_3224 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -21924,7 +21924,7 @@ exports.useFormState = function (action, initialState, permalink) {
2192421924
exports.useFormStatus = function () {
2192521925
return ReactSharedInternals.H.useHostTransitionStatus();
2192621926
};
21927-
exports.version = "19.3.0-experimental-a757cb76-20251002";
21927+
exports.version = "19.3.0-experimental-85c427d8-20251003";
2192821928
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
2192921929
"function" ===
2193021930
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8236,6 +8236,7 @@
82368236
var boundary = segment.boundary;
82378237
if (null === boundary)
82388238
return flushSubtree(request, destination, segment, hoistableState);
8239+
segment.boundary = null;
82398240
boundary.parentFlushed = !0;
82408241
if (boundary.status === CLIENT_RENDERED) {
82418242
var row = boundary.row;
@@ -10543,5 +10544,5 @@
1054310544
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
1054410545
);
1054510546
};
10546-
exports.version = "19.3.0-experimental-a757cb76-20251002";
10547+
exports.version = "19.3.0-experimental-85c427d8-20251003";
1054710548
})();

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6514,6 +6514,7 @@ function flushSegment(request, destination, segment, hoistableState) {
65146514
var boundary = segment.boundary;
65156515
if (null === boundary)
65166516
return flushSubtree(request, destination, segment, hoistableState);
6517+
segment.boundary = null;
65176518
boundary.parentFlushed = !0;
65186519
if (4 === boundary.status) {
65196520
var row = boundary.row;
@@ -7156,4 +7157,4 @@ exports.renderToString = function (children, options) {
71567157
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
71577158
);
71587159
};
7159-
exports.version = "19.3.0-experimental-a757cb76-20251002";
7160+
exports.version = "19.3.0-experimental-85c427d8-20251003";

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.development.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8236,6 +8236,7 @@
82368236
var boundary = segment.boundary;
82378237
if (null === boundary)
82388238
return flushSubtree(request, destination, segment, hoistableState);
8239+
segment.boundary = null;
82398240
boundary.parentFlushed = !0;
82408241
if (boundary.status === CLIENT_RENDERED) {
82418242
var row = boundary.row;
@@ -10543,5 +10544,5 @@
1054310544
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server'
1054410545
);
1054510546
};
10546-
exports.version = "19.3.0-experimental-a757cb76-20251002";
10547+
exports.version = "19.3.0-experimental-85c427d8-20251003";
1054710548
})();

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.production.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6600,6 +6600,7 @@ function flushSegment(request, destination, segment, hoistableState) {
66006600
var boundary = segment.boundary;
66016601
if (null === boundary)
66026602
return flushSubtree(request, destination, segment, hoistableState);
6603+
segment.boundary = null;
66036604
boundary.parentFlushed = !0;
66046605
if (4 === boundary.status) {
66056606
var row = boundary.row;
@@ -7259,4 +7260,4 @@ exports.renderToString = function (children, options) {
72597260
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server'
72607261
);
72617262
};
7262-
exports.version = "19.3.0-experimental-a757cb76-20251002";
7263+
exports.version = "19.3.0-experimental-85c427d8-20251003";

0 commit comments

Comments
 (0)