Skip to content

Commit cd27e54

Browse files
eps1lonnextjs-bot
andauthored
Upgrade React from 4842fbea-20260217 to 2ba30655-20260219 (#90211)
Co-authored-by: nextjs-bot <it+nextjs-bot@vercel.com>
1 parent 38a6f19 commit cd27e54

94 files changed

Lines changed: 4192 additions & 3438 deletions

File tree

Some content is hidden

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

package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@
201201
"eslint-plugin-jsdoc": "48.0.4",
202202
"eslint-plugin-mdx": "3.1.5",
203203
"eslint-plugin-react": "7.37.0",
204-
"eslint-plugin-react-hooks": "0.0.0-experimental-4842fbea-20260217",
204+
"eslint-plugin-react-hooks": "0.0.0-experimental-2ba30655-20260219",
205205
"event-stream": "4.0.1",
206206
"execa": "2.0.3",
207207
"expect": "29.7.0",
@@ -261,16 +261,16 @@
261261
"pretty-ms": "7.0.0",
262262
"random-seed": "0.3.0",
263263
"react": "19.0.0",
264-
"react-builtin": "npm:react@19.3.0-canary-4842fbea-20260217",
264+
"react-builtin": "npm:react@19.3.0-canary-2ba30655-20260219",
265265
"react-dom": "19.0.0",
266-
"react-dom-builtin": "npm:react-dom@19.3.0-canary-4842fbea-20260217",
267-
"react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-4842fbea-20260217",
268-
"react-experimental-builtin": "npm:react@0.0.0-experimental-4842fbea-20260217",
269-
"react-is-builtin": "npm:react-is@19.3.0-canary-4842fbea-20260217",
270-
"react-server-dom-turbopack": "19.3.0-canary-4842fbea-20260217",
271-
"react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-4842fbea-20260217",
272-
"react-server-dom-webpack": "19.3.0-canary-4842fbea-20260217",
273-
"react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-4842fbea-20260217",
266+
"react-dom-builtin": "npm:react-dom@19.3.0-canary-2ba30655-20260219",
267+
"react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-2ba30655-20260219",
268+
"react-experimental-builtin": "npm:react@0.0.0-experimental-2ba30655-20260219",
269+
"react-is-builtin": "npm:react-is@19.3.0-canary-2ba30655-20260219",
270+
"react-server-dom-turbopack": "19.3.0-canary-2ba30655-20260219",
271+
"react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-2ba30655-20260219",
272+
"react-server-dom-webpack": "19.3.0-canary-2ba30655-20260219",
273+
"react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-2ba30655-20260219",
274274
"react-ssr-prepass": "1.0.8",
275275
"react-virtualized": "9.22.3",
276276
"relay-compiler": "13.0.2",
@@ -280,8 +280,8 @@
280280
"resolve-from": "5.0.0",
281281
"sass": "1.54.0",
282282
"satori": "0.15.2",
283-
"scheduler-builtin": "npm:scheduler@0.28.0-canary-4842fbea-20260217",
284-
"scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-4842fbea-20260217",
283+
"scheduler-builtin": "npm:scheduler@0.28.0-canary-2ba30655-20260219",
284+
"scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-2ba30655-20260219",
285285
"seedrandom": "3.0.5",
286286
"semver": "7.3.7",
287287
"serve-handler": "6.1.6",
@@ -326,10 +326,10 @@
326326
"@types/react-dom": "19.2.3",
327327
"@types/retry": "0.12.0",
328328
"jest-snapshot": "30.0.0-alpha.6",
329-
"react": "19.3.0-canary-4842fbea-20260217",
330-
"react-dom": "19.3.0-canary-4842fbea-20260217",
331-
"react-is": "19.3.0-canary-4842fbea-20260217",
332-
"scheduler": "0.28.0-canary-4842fbea-20260217"
329+
"react": "19.3.0-canary-2ba30655-20260219",
330+
"react-dom": "19.3.0-canary-2ba30655-20260219",
331+
"react-is": "19.3.0-canary-2ba30655-20260219",
332+
"scheduler": "0.28.0-canary-2ba30655-20260219"
333333
},
334334
"packageExtensions": {
335335
"eslint-plugin-react-hooks@0.0.0-experimental-6de32a5a-20250822": {

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
@@ -32708,11 +32708,11 @@
3270832708
};
3270932709
(function () {
3271032710
var isomorphicReactPackageVersion = React.version;
32711-
if ("19.3.0-experimental-4842fbea-20260217" !== isomorphicReactPackageVersion)
32711+
if ("19.3.0-experimental-2ba30655-20260219" !== isomorphicReactPackageVersion)
3271232712
throw Error(
3271332713
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
3271432714
(isomorphicReactPackageVersion +
32715-
"\n - react-dom: 19.3.0-experimental-4842fbea-20260217\nLearn more: https://react.dev/warnings/version-mismatch")
32715+
"\n - react-dom: 19.3.0-experimental-2ba30655-20260219\nLearn more: https://react.dev/warnings/version-mismatch")
3271632716
);
3271732717
})();
3271832718
("function" === typeof Map &&
@@ -32749,10 +32749,10 @@
3274932749
!(function () {
3275032750
var internals = {
3275132751
bundleType: 1,
32752-
version: "19.3.0-experimental-4842fbea-20260217",
32752+
version: "19.3.0-experimental-2ba30655-20260219",
3275332753
rendererPackageName: "react-dom",
3275432754
currentDispatcherRef: ReactSharedInternals,
32755-
reconcilerVersion: "19.3.0-experimental-4842fbea-20260217"
32755+
reconcilerVersion: "19.3.0-experimental-2ba30655-20260219"
3275632756
};
3275732757
internals.overrideHookState = overrideHookState;
3275832758
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -32900,7 +32900,7 @@
3290032900
listenToAllSupportedEvents(container);
3290132901
return new ReactDOMHydrationRoot(initialChildren);
3290232902
};
32903-
exports.version = "19.3.0-experimental-4842fbea-20260217";
32903+
exports.version = "19.3.0-experimental-2ba30655-20260219";
3290432904
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
3290532905
"function" ===
3290632906
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
@@ -19881,14 +19881,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
1988119881
};
1988219882
var isomorphicReactPackageVersion$jscomp$inline_2229 = React.version;
1988319883
if (
19884-
"19.3.0-experimental-4842fbea-20260217" !==
19884+
"19.3.0-experimental-2ba30655-20260219" !==
1988519885
isomorphicReactPackageVersion$jscomp$inline_2229
1988619886
)
1988719887
throw Error(
1988819888
formatProdErrorMessage(
1988919889
527,
1989019890
isomorphicReactPackageVersion$jscomp$inline_2229,
19891-
"19.3.0-experimental-4842fbea-20260217"
19891+
"19.3.0-experimental-2ba30655-20260219"
1989219892
)
1989319893
);
1989419894
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -19910,10 +19910,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
1991019910
};
1991119911
var internals$jscomp$inline_2928 = {
1991219912
bundleType: 0,
19913-
version: "19.3.0-experimental-4842fbea-20260217",
19913+
version: "19.3.0-experimental-2ba30655-20260219",
1991419914
rendererPackageName: "react-dom",
1991519915
currentDispatcherRef: ReactSharedInternals,
19916-
reconcilerVersion: "19.3.0-experimental-4842fbea-20260217"
19916+
reconcilerVersion: "19.3.0-experimental-2ba30655-20260219"
1991719917
};
1991819918
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1991919919
var hook$jscomp$inline_2929 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -20020,4 +20020,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
2002020020
listenToAllSupportedEvents(container);
2002120021
return new ReactDOMHydrationRoot(initialChildren);
2002220022
};
20023-
exports.version = "19.3.0-experimental-4842fbea-20260217";
20023+
exports.version = "19.3.0-experimental-2ba30655-20260219";

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
@@ -32765,11 +32765,11 @@
3276532765
};
3276632766
(function () {
3276732767
var isomorphicReactPackageVersion = React.version;
32768-
if ("19.3.0-experimental-4842fbea-20260217" !== isomorphicReactPackageVersion)
32768+
if ("19.3.0-experimental-2ba30655-20260219" !== isomorphicReactPackageVersion)
3276932769
throw Error(
3277032770
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
3277132771
(isomorphicReactPackageVersion +
32772-
"\n - react-dom: 19.3.0-experimental-4842fbea-20260217\nLearn more: https://react.dev/warnings/version-mismatch")
32772+
"\n - react-dom: 19.3.0-experimental-2ba30655-20260219\nLearn more: https://react.dev/warnings/version-mismatch")
3277332773
);
3277432774
})();
3277532775
("function" === typeof Map &&
@@ -32806,10 +32806,10 @@
3280632806
!(function () {
3280732807
var internals = {
3280832808
bundleType: 1,
32809-
version: "19.3.0-experimental-4842fbea-20260217",
32809+
version: "19.3.0-experimental-2ba30655-20260219",
3281032810
rendererPackageName: "react-dom",
3281132811
currentDispatcherRef: ReactSharedInternals,
32812-
reconcilerVersion: "19.3.0-experimental-4842fbea-20260217"
32812+
reconcilerVersion: "19.3.0-experimental-2ba30655-20260219"
3281332813
};
3281432814
internals.overrideHookState = overrideHookState;
3281532815
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -33287,7 +33287,7 @@
3328733287
exports.useFormStatus = function () {
3328833288
return resolveDispatcher().useHostTransitionStatus();
3328933289
};
33290-
exports.version = "19.3.0-experimental-4842fbea-20260217";
33290+
exports.version = "19.3.0-experimental-2ba30655-20260219";
3329133291
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
3329233292
"function" ===
3329333293
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
@@ -21964,14 +21964,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
2196421964
};
2196521965
var isomorphicReactPackageVersion$jscomp$inline_2533 = React.version;
2196621966
if (
21967-
"19.3.0-experimental-4842fbea-20260217" !==
21967+
"19.3.0-experimental-2ba30655-20260219" !==
2196821968
isomorphicReactPackageVersion$jscomp$inline_2533
2196921969
)
2197021970
throw Error(
2197121971
formatProdErrorMessage(
2197221972
527,
2197321973
isomorphicReactPackageVersion$jscomp$inline_2533,
21974-
"19.3.0-experimental-4842fbea-20260217"
21974+
"19.3.0-experimental-2ba30655-20260219"
2197521975
)
2197621976
);
2197721977
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -21993,10 +21993,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
2199321993
};
2199421994
var internals$jscomp$inline_3249 = {
2199521995
bundleType: 0,
21996-
version: "19.3.0-experimental-4842fbea-20260217",
21996+
version: "19.3.0-experimental-2ba30655-20260219",
2199721997
rendererPackageName: "react-dom",
2199821998
currentDispatcherRef: ReactSharedInternals,
21999-
reconcilerVersion: "19.3.0-experimental-4842fbea-20260217"
21999+
reconcilerVersion: "19.3.0-experimental-2ba30655-20260219"
2200022000
};
2200122001
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
2200222002
var hook$jscomp$inline_3250 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -22264,7 +22264,7 @@ exports.useFormState = function (action, initialState, permalink) {
2226422264
exports.useFormStatus = function () {
2226522265
return ReactSharedInternals.H.useHostTransitionStatus();
2226622266
};
22267-
exports.version = "19.3.0-experimental-4842fbea-20260217";
22267+
exports.version = "19.3.0-experimental-2ba30655-20260219";
2226822268
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
2226922269
"function" ===
2227022270
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10516,5 +10516,5 @@
1051610516
'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'
1051710517
);
1051810518
};
10519-
exports.version = "19.3.0-experimental-4842fbea-20260217";
10519+
exports.version = "19.3.0-experimental-2ba30655-20260219";
1052010520
})();

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7035,4 +7035,4 @@ exports.renderToString = function (children, options) {
70357035
'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'
70367036
);
70377037
};
7038-
exports.version = "19.3.0-experimental-4842fbea-20260217";
7038+
exports.version = "19.3.0-experimental-2ba30655-20260219";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10516,5 +10516,5 @@
1051610516
'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'
1051710517
);
1051810518
};
10519-
exports.version = "19.3.0-experimental-4842fbea-20260217";
10519+
exports.version = "19.3.0-experimental-2ba30655-20260219";
1052010520
})();

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7138,4 +7138,4 @@ exports.renderToString = function (children, options) {
71387138
'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'
71397139
);
71407140
};
7141-
exports.version = "19.3.0-experimental-4842fbea-20260217";
7141+
exports.version = "19.3.0-experimental-2ba30655-20260219";

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

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4012,10 +4012,10 @@
40124012
childState.stylesheets.forEach(hoistStylesheetDependency, parentState);
40134013
childState.suspenseyImages && (parentState.suspenseyImages = !0);
40144014
}
4015-
function hasSuspenseyContent(hoistableState) {
4016-
return (
4017-
0 < hoistableState.stylesheets.size || hoistableState.suspenseyImages
4018-
);
4015+
function hasSuspenseyContent(hoistableState, flushingInShell) {
4016+
return flushingInShell
4017+
? hoistableState.suspenseyImages
4018+
: 0 < hoistableState.stylesheets.size || hoistableState.suspenseyImages;
40194019
}
40204020
function getComponentNameFromType(type) {
40214021
if (null == type) return null;
@@ -4886,7 +4886,7 @@
48864886
function isEligibleForOutlining(request, boundary) {
48874887
return (
48884888
(500 < boundary.byteSize ||
4889-
hasSuspenseyContent(boundary.contentState) ||
4889+
hasSuspenseyContent(boundary.contentState, !1) ||
48904890
boundary.defer) &&
48914891
null === boundary.preamble
48924892
);
@@ -8712,7 +8712,7 @@
87128712
!flushingPartialBoundaries &&
87138713
isEligibleForOutlining(request, boundary) &&
87148714
(flushedByteSize + boundary.byteSize > request.progressiveChunkSize ||
8715-
hasSuspenseyContent(boundary.contentState) ||
8715+
hasSuspenseyContent(boundary.contentState, flushingShell) ||
87168716
boundary.defer)
87178717
)
87188718
(boundary.rootSegmentID = request.nextSegmentId++),
@@ -9057,7 +9057,9 @@
90579057
completedPreambleSegments++
90589058
)
90599059
writeChunk(destination, bodyChunks[completedPreambleSegments]);
9060+
flushingShell = !0;
90609061
flushSegment(request, destination, completedRootSegment, null);
9062+
flushingShell = !1;
90619063
request.completedRootSegment = null;
90629064
var resumableState$jscomp$0 = request.resumableState,
90639065
renderState$jscomp$0 = request.renderState;
@@ -9492,11 +9494,11 @@
94929494
}
94939495
function ensureCorrectIsomorphicReactVersion() {
94949496
var isomorphicReactPackageVersion = React.version;
9495-
if ("19.3.0-experimental-4842fbea-20260217" !== isomorphicReactPackageVersion)
9497+
if ("19.3.0-experimental-2ba30655-20260219" !== isomorphicReactPackageVersion)
94969498
throw Error(
94979499
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
94989500
(isomorphicReactPackageVersion +
9499-
"\n - react-dom: 19.3.0-experimental-4842fbea-20260217\nLearn more: https://react.dev/warnings/version-mismatch")
9501+
"\n - react-dom: 19.3.0-experimental-2ba30655-20260219\nLearn more: https://react.dev/warnings/version-mismatch")
95009502
);
95019503
}
95029504
var React = require("next/dist/compiled/react-experimental"),
@@ -11068,7 +11070,8 @@
1106811070
didWarnAboutGenerators = !1,
1106911071
didWarnAboutMaps = !1,
1107011072
flushedByteSize = 0,
11071-
flushingPartialBoundaries = !1;
11073+
flushingPartialBoundaries = !1,
11074+
flushingShell = !1;
1107211075
ensureCorrectIsomorphicReactVersion();
1107311076
ensureCorrectIsomorphicReactVersion();
1107411077
exports.prerender = function (children, options) {
@@ -11319,5 +11322,5 @@
1131911322
startWork(request);
1132011323
});
1132111324
};
11322-
exports.version = "19.3.0-experimental-4842fbea-20260217";
11325+
exports.version = "19.3.0-experimental-2ba30655-20260219";
1132311326
})();

0 commit comments

Comments
 (0)