Skip to content

Commit 9f98bf7

Browse files
authored
Upgrade React from 86181134-20251001 to a757cb76-20251002 (#84463)
1 parent dbbda2f commit 9f98bf7

File tree

66 files changed

+820
-819
lines changed

Some content is hidden

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

66 files changed

+820
-819
lines changed

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.1.1",
11-
"react-dom": "19.1.1"
10+
"react": "19.2.0",
11+
"react-dom": "19.2.0"
1212
},
1313
"devDependencies": {
1414
"@types/node": "^22",

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-86181134-20251001",
202+
"eslint-plugin-react-hooks": "0.0.0-experimental-a757cb76-20251002",
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:react@19.2.0-canary-86181134-20251001",
262+
"react-builtin": "npm:react@19.3.0-canary-a757cb76-20251002",
263263
"react-dom": "19.0.0",
264-
"react-dom-builtin": "npm:react-dom@19.2.0-canary-86181134-20251001",
265-
"react-dom-experimental-builtin": "npm:[email protected]86181134-20251001",
266-
"react-experimental-builtin": "npm:[email protected]86181134-20251001",
267-
"react-is-builtin": "npm:react-is@19.2.0-canary-86181134-20251001",
268-
"react-server-dom-turbopack": "19.2.0-canary-86181134-20251001",
269-
"react-server-dom-turbopack-experimental": "npm:[email protected]86181134-20251001",
270-
"react-server-dom-webpack": "19.2.0-canary-86181134-20251001",
271-
"react-server-dom-webpack-experimental": "npm:[email protected]86181134-20251001",
264+
"react-dom-builtin": "npm:react-dom@19.3.0-canary-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:react-is@19.3.0-canary-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",
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:scheduler@0.27.0-canary-86181134-20251001",
282-
"scheduler-experimental-builtin": "npm:[email protected]86181134-20251001",
281+
"scheduler-builtin": "npm:scheduler@0.28.0-canary-a757cb76-20251002",
282+
"scheduler-experimental-builtin": "npm:[email protected]a757cb76-20251002",
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.2.0-canary-86181134-20251001",
327-
"react-dom": "19.2.0-canary-86181134-20251001",
328-
"react-is": "19.2.0-canary-86181134-20251001",
329-
"scheduler": "0.27.0-canary-86181134-20251001"
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"
330330
},
331331
"packageExtensions": {
332332

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

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25685,11 +25685,16 @@
2568525685
spawnedWorkCallback();
2568625686
},
2568725687
function (error) {
25688+
ownerDocument.__reactViewTransition === transition &&
25689+
(ownerDocument.__reactViewTransition = null);
2568825690
try {
2568925691
(error = customizeViewTransitionError(error, !1)),
2569025692
null !== error && errorCallback(error);
2569125693
} finally {
25692-
mutationCallback(), layoutCallback(), spawnedWorkCallback();
25694+
mutationCallback(),
25695+
layoutCallback(),
25696+
spawnedWorkCallback(),
25697+
finishedAnimation();
2569325698
}
2569425699
}
2569525700
);
@@ -25940,11 +25945,13 @@
2594025945
}
2594125946
: readyCallback;
2594225947
transition.ready.then(readyForAnimations, function (error) {
25948+
ownerDocument.__reactViewTransition === transition &&
25949+
(ownerDocument.__reactViewTransition = null);
2594325950
try {
2594425951
(error = customizeViewTransitionError(error, !0)),
2594525952
null !== error && errorCallback(error);
2594625953
} finally {
25947-
mutationCallback(), animateCallback();
25954+
mutationCallback(), animateCallback(), finishedAnimation();
2594825955
}
2594925956
});
2595025957
transition.finished.finally(function () {
@@ -32270,11 +32277,11 @@
3227032277
};
3227132278
(function () {
3227232279
var isomorphicReactPackageVersion = React.version;
32273-
if ("19.2.0-experimental-86181134-20251001" !== isomorphicReactPackageVersion)
32280+
if ("19.3.0-experimental-a757cb76-20251002" !== isomorphicReactPackageVersion)
3227432281
throw Error(
3227532282
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
3227632283
(isomorphicReactPackageVersion +
32277-
"\n - react-dom: 19.2.0-experimental-86181134-20251001\nLearn more: https://react.dev/warnings/version-mismatch")
32284+
"\n - react-dom: 19.3.0-experimental-a757cb76-20251002\nLearn more: https://react.dev/warnings/version-mismatch")
3227832285
);
3227932286
})();
3228032287
("function" === typeof Map &&
@@ -32311,10 +32318,10 @@
3231132318
!(function () {
3231232319
var internals = {
3231332320
bundleType: 1,
32314-
version: "19.2.0-experimental-86181134-20251001",
32321+
version: "19.3.0-experimental-a757cb76-20251002",
3231532322
rendererPackageName: "react-dom",
3231632323
currentDispatcherRef: ReactSharedInternals,
32317-
reconcilerVersion: "19.2.0-experimental-86181134-20251001"
32324+
reconcilerVersion: "19.3.0-experimental-a757cb76-20251002"
3231832325
};
3231932326
internals.overrideHookState = overrideHookState;
3232032327
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -32462,7 +32469,7 @@
3246232469
listenToAllSupportedEvents(container);
3246332470
return new ReactDOMHydrationRoot(initialChildren);
3246432471
};
32465-
exports.version = "19.2.0-experimental-86181134-20251001";
32472+
exports.version = "19.3.0-experimental-a757cb76-20251002";
3246632473
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
3246732474
"function" ===
3246832475
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16937,6 +16937,8 @@ function startViewTransition(
1693716937
spawnedWorkCallback();
1693816938
},
1693916939
function (error) {
16940+
ownerDocument.__reactViewTransition === transition &&
16941+
(ownerDocument.__reactViewTransition = null);
1694016942
try {
1694116943
(error = customizeViewTransitionError(error, !1)),
1694216944
null !== error && errorCallback(error);
@@ -17178,6 +17180,8 @@ function startGestureTransition(
1717817180
}
1717917181
: readyCallback;
1718017182
transition.ready.then(readyForAnimations, function (error) {
17183+
ownerDocument.__reactViewTransition === transition &&
17184+
(ownerDocument.__reactViewTransition = null);
1718117185
try {
1718217186
(error = customizeViewTransitionError(error, !0)),
1718317187
null !== error && errorCallback(error);
@@ -19566,14 +19570,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
1956619570
};
1956719571
var isomorphicReactPackageVersion$jscomp$inline_2217 = React.version;
1956819572
if (
19569-
"19.2.0-experimental-86181134-20251001" !==
19573+
"19.3.0-experimental-a757cb76-20251002" !==
1957019574
isomorphicReactPackageVersion$jscomp$inline_2217
1957119575
)
1957219576
throw Error(
1957319577
formatProdErrorMessage(
1957419578
527,
1957519579
isomorphicReactPackageVersion$jscomp$inline_2217,
19576-
"19.2.0-experimental-86181134-20251001"
19580+
"19.3.0-experimental-a757cb76-20251002"
1957719581
)
1957819582
);
1957919583
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -19595,10 +19599,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
1959519599
};
1959619600
var internals$jscomp$inline_2914 = {
1959719601
bundleType: 0,
19598-
version: "19.2.0-experimental-86181134-20251001",
19602+
version: "19.3.0-experimental-a757cb76-20251002",
1959919603
rendererPackageName: "react-dom",
1960019604
currentDispatcherRef: ReactSharedInternals,
19601-
reconcilerVersion: "19.2.0-experimental-86181134-20251001"
19605+
reconcilerVersion: "19.3.0-experimental-a757cb76-20251002"
1960219606
};
1960319607
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1960419608
var hook$jscomp$inline_2915 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -19705,4 +19709,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
1970519709
listenToAllSupportedEvents(container);
1970619710
return new ReactDOMHydrationRoot(initialChildren);
1970719711
};
19708-
exports.version = "19.2.0-experimental-86181134-20251001";
19712+
exports.version = "19.3.0-experimental-a757cb76-20251002";

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

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25693,11 +25693,16 @@
2569325693
spawnedWorkCallback();
2569425694
},
2569525695
function (error) {
25696+
ownerDocument.__reactViewTransition === transition &&
25697+
(ownerDocument.__reactViewTransition = null);
2569625698
try {
2569725699
(error = customizeViewTransitionError(error, !1)),
2569825700
null !== error && errorCallback(error);
2569925701
} finally {
25700-
mutationCallback(), layoutCallback(), spawnedWorkCallback();
25702+
mutationCallback(),
25703+
layoutCallback(),
25704+
spawnedWorkCallback(),
25705+
finishedAnimation();
2570125706
}
2570225707
}
2570325708
);
@@ -25948,11 +25953,13 @@
2594825953
}
2594925954
: readyCallback;
2595025955
transition.ready.then(readyForAnimations, function (error) {
25956+
ownerDocument.__reactViewTransition === transition &&
25957+
(ownerDocument.__reactViewTransition = null);
2595125958
try {
2595225959
(error = customizeViewTransitionError(error, !0)),
2595325960
null !== error && errorCallback(error);
2595425961
} finally {
25955-
mutationCallback(), animateCallback();
25962+
mutationCallback(), animateCallback(), finishedAnimation();
2595625963
}
2595725964
});
2595825965
transition.finished.finally(function () {
@@ -32322,11 +32329,11 @@
3232232329
};
3232332330
(function () {
3232432331
var isomorphicReactPackageVersion = React.version;
32325-
if ("19.2.0-experimental-86181134-20251001" !== isomorphicReactPackageVersion)
32332+
if ("19.3.0-experimental-a757cb76-20251002" !== isomorphicReactPackageVersion)
3232632333
throw Error(
3232732334
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
3232832335
(isomorphicReactPackageVersion +
32329-
"\n - react-dom: 19.2.0-experimental-86181134-20251001\nLearn more: https://react.dev/warnings/version-mismatch")
32336+
"\n - react-dom: 19.3.0-experimental-a757cb76-20251002\nLearn more: https://react.dev/warnings/version-mismatch")
3233032337
);
3233132338
})();
3233232339
("function" === typeof Map &&
@@ -32363,10 +32370,10 @@
3236332370
!(function () {
3236432371
var internals = {
3236532372
bundleType: 1,
32366-
version: "19.2.0-experimental-86181134-20251001",
32373+
version: "19.3.0-experimental-a757cb76-20251002",
3236732374
rendererPackageName: "react-dom",
3236832375
currentDispatcherRef: ReactSharedInternals,
32369-
reconcilerVersion: "19.2.0-experimental-86181134-20251001"
32376+
reconcilerVersion: "19.3.0-experimental-a757cb76-20251002"
3237032377
};
3237132378
internals.overrideHookState = overrideHookState;
3237232379
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -32844,7 +32851,7 @@
3284432851
exports.useFormStatus = function () {
3284532852
return resolveDispatcher().useHostTransitionStatus();
3284632853
};
32847-
exports.version = "19.2.0-experimental-86181134-20251001";
32854+
exports.version = "19.3.0-experimental-a757cb76-20251002";
3284832855
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
3284932856
"function" ===
3285032857
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18962,11 +18962,16 @@ function startViewTransition(
1896218962
spawnedWorkCallback();
1896318963
},
1896418964
function (error) {
18965+
ownerDocument.__reactViewTransition === transition &&
18966+
(ownerDocument.__reactViewTransition = null);
1896518967
try {
1896618968
(error = customizeViewTransitionError(error, !1)),
1896718969
null !== error && errorCallback(error);
1896818970
} finally {
18969-
mutationCallback(), layoutCallback(), spawnedWorkCallback();
18971+
mutationCallback(),
18972+
layoutCallback(),
18973+
spawnedWorkCallback(),
18974+
finishedAnimation();
1897018975
}
1897118976
}
1897218977
);
@@ -19211,11 +19216,13 @@ function startGestureTransition(
1921119216
}
1921219217
: readyCallback;
1921319218
transition.ready.then(readyForAnimations, function (error) {
19219+
ownerDocument.__reactViewTransition === transition &&
19220+
(ownerDocument.__reactViewTransition = null);
1921419221
try {
1921519222
(error = customizeViewTransitionError(error, !0)),
1921619223
null !== error && errorCallback(error);
1921719224
} finally {
19218-
mutationCallback(), animateCallback();
19225+
mutationCallback(), animateCallback(), finishedAnimation();
1921919226
}
1922019227
});
1922119228
transition.finished.finally(function () {
@@ -21617,14 +21624,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
2161721624
};
2161821625
var isomorphicReactPackageVersion$jscomp$inline_2513 = React.version;
2161921626
if (
21620-
"19.2.0-experimental-86181134-20251001" !==
21627+
"19.3.0-experimental-a757cb76-20251002" !==
2162121628
isomorphicReactPackageVersion$jscomp$inline_2513
2162221629
)
2162321630
throw Error(
2162421631
formatProdErrorMessage(
2162521632
527,
2162621633
isomorphicReactPackageVersion$jscomp$inline_2513,
21627-
"19.2.0-experimental-86181134-20251001"
21634+
"19.3.0-experimental-a757cb76-20251002"
2162821635
)
2162921636
);
2163021637
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -21646,10 +21653,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
2164621653
};
2164721654
var internals$jscomp$inline_3223 = {
2164821655
bundleType: 0,
21649-
version: "19.2.0-experimental-86181134-20251001",
21656+
version: "19.3.0-experimental-a757cb76-20251002",
2165021657
rendererPackageName: "react-dom",
2165121658
currentDispatcherRef: ReactSharedInternals,
21652-
reconcilerVersion: "19.2.0-experimental-86181134-20251001"
21659+
reconcilerVersion: "19.3.0-experimental-a757cb76-20251002"
2165321660
};
2165421661
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
2165521662
var hook$jscomp$inline_3224 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -21917,7 +21924,7 @@ exports.useFormState = function (action, initialState, permalink) {
2191721924
exports.useFormStatus = function () {
2191821925
return ReactSharedInternals.H.useHostTransitionStatus();
2191921926
};
21920-
exports.version = "19.2.0-experimental-86181134-20251001";
21927+
exports.version = "19.3.0-experimental-a757cb76-20251002";
2192121928
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
2192221929
"function" ===
2192321930
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
@@ -10543,5 +10543,5 @@
1054310543
'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'
1054410544
);
1054510545
};
10546-
exports.version = "19.2.0-experimental-86181134-20251001";
10546+
exports.version = "19.3.0-experimental-a757cb76-20251002";
1054710547
})();

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
@@ -7156,4 +7156,4 @@ exports.renderToString = function (children, options) {
71567156
'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'
71577157
);
71587158
};
7159-
exports.version = "19.2.0-experimental-86181134-20251001";
7159+
exports.version = "19.3.0-experimental-a757cb76-20251002";

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
@@ -10543,5 +10543,5 @@
1054310543
'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'
1054410544
);
1054510545
};
10546-
exports.version = "19.2.0-experimental-86181134-20251001";
10546+
exports.version = "19.3.0-experimental-a757cb76-20251002";
1054710547
})();

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
@@ -7259,4 +7259,4 @@ exports.renderToString = function (children, options) {
72597259
'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'
72607260
);
72617261
};
7262-
exports.version = "19.2.0-experimental-86181134-20251001";
7262+
exports.version = "19.3.0-experimental-a757cb76-20251002";

0 commit comments

Comments
 (0)