Skip to content

Commit c09c5f9

Browse files
nextjs-boteps1lon
andauthored
Upgrade React from 03fda05d-20250820 to 6de32a5a-20250822 (#82946)
Co-authored-by: Sebastian Sebbie Silbermann <sebastian.silbermann@vercel.com>
1 parent 4b66771 commit c09c5f9

File tree

107 files changed

+1271
-892
lines changed

Some content is hidden

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

107 files changed

+1271
-892
lines changed

.eslintrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,9 @@
248248
"packages/next/src/next-devtools/dev-overlay/**/*.tsx",
249249
"packages/next/src/next-devtools/dev-overlay/**/*.ts"
250250
],
251+
"extends": ["plugin:react-hooks/recommended"],
251252
"rules": {
252-
"react-hooks/react-compiler": "error"
253+
"react-hooks/exhaustive-deps": "error"
253254
}
254255
}
255256
],

package.json

Lines changed: 23 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@
173173
"eslint-plugin-jsdoc": "48.0.4",
174174
"eslint-plugin-mdx": "3.1.5",
175175
"eslint-plugin-react": "7.35.0",
176-
"eslint-plugin-react-hooks": "0.0.0-experimental-03fda05d-20250820",
176+
"eslint-plugin-react-hooks": "0.0.0-experimental-6de32a5a-20250822",
177177
"eslint-v8": "npm:eslint@^8.57.0",
178178
"event-stream": "4.0.1",
179179
"execa": "2.0.3",
@@ -233,16 +233,16 @@
233233
"pretty-ms": "7.0.0",
234234
"random-seed": "0.3.0",
235235
"react": "19.0.0",
236-
"react-builtin": "npm:react@19.2.0-canary-03fda05d-20250820",
236+
"react-builtin": "npm:react@19.2.0-canary-6de32a5a-20250822",
237237
"react-dom": "19.0.0",
238-
"react-dom-builtin": "npm:react-dom@19.2.0-canary-03fda05d-20250820",
239-
"react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-03fda05d-20250820",
240-
"react-experimental-builtin": "npm:react@0.0.0-experimental-03fda05d-20250820",
241-
"react-is-builtin": "npm:react-is@19.2.0-canary-03fda05d-20250820",
242-
"react-server-dom-turbopack": "19.2.0-canary-03fda05d-20250820",
243-
"react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-03fda05d-20250820",
244-
"react-server-dom-webpack": "19.2.0-canary-03fda05d-20250820",
245-
"react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-03fda05d-20250820",
238+
"react-dom-builtin": "npm:react-dom@19.2.0-canary-6de32a5a-20250822",
239+
"react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-6de32a5a-20250822",
240+
"react-experimental-builtin": "npm:react@0.0.0-experimental-6de32a5a-20250822",
241+
"react-is-builtin": "npm:react-is@19.2.0-canary-6de32a5a-20250822",
242+
"react-server-dom-turbopack": "19.2.0-canary-6de32a5a-20250822",
243+
"react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-6de32a5a-20250822",
244+
"react-server-dom-webpack": "19.2.0-canary-6de32a5a-20250822",
245+
"react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-6de32a5a-20250822",
246246
"react-ssr-prepass": "1.0.8",
247247
"react-virtualized": "9.22.3",
248248
"relay-compiler": "13.0.2",
@@ -252,8 +252,8 @@
252252
"resolve-from": "5.0.0",
253253
"sass": "1.54.0",
254254
"satori": "0.15.2",
255-
"scheduler-builtin": "npm:scheduler@0.27.0-canary-03fda05d-20250820",
256-
"scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-03fda05d-20250820",
255+
"scheduler-builtin": "npm:scheduler@0.27.0-canary-6de32a5a-20250822",
256+
"scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-6de32a5a-20250822",
257257
"seedrandom": "3.0.5",
258258
"semver": "7.3.7",
259259
"serve-handler": "6.1.6",
@@ -297,10 +297,17 @@
297297
"@types/react-dom": "19.1.7",
298298
"@types/retry": "0.12.0",
299299
"jest-snapshot": "30.0.0-alpha.6",
300-
"react": "19.2.0-canary-03fda05d-20250820",
301-
"react-dom": "19.2.0-canary-03fda05d-20250820",
302-
"react-is": "19.2.0-canary-03fda05d-20250820",
303-
"scheduler": "0.27.0-canary-03fda05d-20250820"
300+
"react": "19.2.0-canary-6de32a5a-20250822",
301+
"react-dom": "19.2.0-canary-6de32a5a-20250822",
302+
"react-is": "19.2.0-canary-6de32a5a-20250822",
303+
"scheduler": "0.27.0-canary-6de32a5a-20250822"
304+
},
305+
"packageExtensions": {
306+
"eslint-plugin-react-hooks@0.0.0-experimental-6de32a5a-20250822": {
307+
"dependencies": {
308+
"@babel/plugin-proposal-private-methods": "^7.18.6"
309+
}
310+
}
304311
},
305312
"patchedDependencies": {
306313
"webpack-sources@3.2.3": "patches/webpack-sources@3.2.3.patch",

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

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28300,7 +28300,11 @@
2830028300
"aria-rowcount": 0,
2830128301
"aria-rowindex": 0,
2830228302
"aria-rowspan": 0,
28303-
"aria-setsize": 0
28303+
"aria-setsize": 0,
28304+
"aria-braillelabel": 0,
28305+
"aria-brailleroledescription": 0,
28306+
"aria-colindextext": 0,
28307+
"aria-rowindextext": 0
2830428308
},
2830528309
warnedProperties$1 = {},
2830628310
rARIA$1 = RegExp(
@@ -30928,8 +30932,9 @@
3092830932
);
3092930933
};
3093030934
FragmentInstance.prototype.unobserveUsing = function (observer) {
30931-
null !== this._observers && this._observers.has(observer)
30932-
? (this._observers.delete(observer),
30935+
var observers = this._observers;
30936+
null !== observers && observers.has(observer)
30937+
? (observers.delete(observer),
3093330938
traverseVisibleHostChildren(
3093430939
this._fragmentFiber.child,
3093530940
!1,
@@ -31473,11 +31478,11 @@
3147331478
};
3147431479
(function () {
3147531480
var isomorphicReactPackageVersion = React.version;
31476-
if ("19.2.0-experimental-03fda05d-20250820" !== isomorphicReactPackageVersion)
31481+
if ("19.2.0-experimental-6de32a5a-20250822" !== isomorphicReactPackageVersion)
3147731482
throw Error(
3147831483
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
3147931484
(isomorphicReactPackageVersion +
31480-
"\n - react-dom: 19.2.0-experimental-03fda05d-20250820\nLearn more: https://react.dev/warnings/version-mismatch")
31485+
"\n - react-dom: 19.2.0-experimental-6de32a5a-20250822\nLearn more: https://react.dev/warnings/version-mismatch")
3148131486
);
3148231487
})();
3148331488
("function" === typeof Map &&
@@ -31514,10 +31519,10 @@
3151431519
!(function () {
3151531520
var internals = {
3151631521
bundleType: 1,
31517-
version: "19.2.0-experimental-03fda05d-20250820",
31522+
version: "19.2.0-experimental-6de32a5a-20250822",
3151831523
rendererPackageName: "react-dom",
3151931524
currentDispatcherRef: ReactSharedInternals,
31520-
reconcilerVersion: "19.2.0-experimental-03fda05d-20250820"
31525+
reconcilerVersion: "19.2.0-experimental-6de32a5a-20250822"
3152131526
};
3152231527
internals.overrideHookState = overrideHookState;
3152331528
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -31664,7 +31669,7 @@
3166431669
listenToAllSupportedEvents(container);
3166531670
return new ReactDOMHydrationRoot(initialChildren);
3166631671
};
31667-
exports.version = "19.2.0-experimental-03fda05d-20250820";
31672+
exports.version = "19.2.0-experimental-6de32a5a-20250822";
3166831673
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
3166931674
"function" ===
3167031675
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17204,9 +17204,10 @@ function observeChild(child, observer) {
1720417204
return !1;
1720517205
}
1720617206
FragmentInstance.prototype.unobserveUsing = function (observer) {
17207-
null !== this._observers &&
17208-
this._observers.has(observer) &&
17209-
(this._observers.delete(observer),
17207+
var observers = this._observers;
17208+
null !== observers &&
17209+
observers.has(observer) &&
17210+
(observers.delete(observer),
1721017211
traverseVisibleHostChildren(
1721117212
this._fragmentFiber.child,
1721217213
!1,
@@ -19292,14 +19293,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
1929219293
};
1929319294
var isomorphicReactPackageVersion$jscomp$inline_2188 = React.version;
1929419295
if (
19295-
"19.2.0-experimental-03fda05d-20250820" !==
19296+
"19.2.0-experimental-6de32a5a-20250822" !==
1929619297
isomorphicReactPackageVersion$jscomp$inline_2188
1929719298
)
1929819299
throw Error(
1929919300
formatProdErrorMessage(
1930019301
527,
1930119302
isomorphicReactPackageVersion$jscomp$inline_2188,
19302-
"19.2.0-experimental-03fda05d-20250820"
19303+
"19.2.0-experimental-6de32a5a-20250822"
1930319304
)
1930419305
);
1930519306
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -19321,10 +19322,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
1932119322
};
1932219323
var internals$jscomp$inline_2885 = {
1932319324
bundleType: 0,
19324-
version: "19.2.0-experimental-03fda05d-20250820",
19325+
version: "19.2.0-experimental-6de32a5a-20250822",
1932519326
rendererPackageName: "react-dom",
1932619327
currentDispatcherRef: ReactSharedInternals,
19327-
reconcilerVersion: "19.2.0-experimental-03fda05d-20250820"
19328+
reconcilerVersion: "19.2.0-experimental-6de32a5a-20250822"
1932819329
};
1932919330
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1933019331
var hook$jscomp$inline_2886 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -19431,4 +19432,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
1943119432
listenToAllSupportedEvents(container);
1943219433
return new ReactDOMHydrationRoot(initialChildren);
1943319434
};
19434-
exports.version = "19.2.0-experimental-03fda05d-20250820";
19435+
exports.version = "19.2.0-experimental-6de32a5a-20250822";

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

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28352,7 +28352,11 @@
2835228352
"aria-rowcount": 0,
2835328353
"aria-rowindex": 0,
2835428354
"aria-rowspan": 0,
28355-
"aria-setsize": 0
28355+
"aria-setsize": 0,
28356+
"aria-braillelabel": 0,
28357+
"aria-brailleroledescription": 0,
28358+
"aria-colindextext": 0,
28359+
"aria-rowindextext": 0
2835628360
},
2835728361
warnedProperties$1 = {},
2835828362
rARIA$1 = RegExp(
@@ -30980,8 +30984,9 @@
3098030984
);
3098130985
};
3098230986
FragmentInstance.prototype.unobserveUsing = function (observer) {
30983-
null !== this._observers && this._observers.has(observer)
30984-
? (this._observers.delete(observer),
30987+
var observers = this._observers;
30988+
null !== observers && observers.has(observer)
30989+
? (observers.delete(observer),
3098530990
traverseVisibleHostChildren(
3098630991
this._fragmentFiber.child,
3098730992
!1,
@@ -31525,11 +31530,11 @@
3152531530
};
3152631531
(function () {
3152731532
var isomorphicReactPackageVersion = React.version;
31528-
if ("19.2.0-experimental-03fda05d-20250820" !== isomorphicReactPackageVersion)
31533+
if ("19.2.0-experimental-6de32a5a-20250822" !== isomorphicReactPackageVersion)
3152931534
throw Error(
3153031535
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
3153131536
(isomorphicReactPackageVersion +
31532-
"\n - react-dom: 19.2.0-experimental-03fda05d-20250820\nLearn more: https://react.dev/warnings/version-mismatch")
31537+
"\n - react-dom: 19.2.0-experimental-6de32a5a-20250822\nLearn more: https://react.dev/warnings/version-mismatch")
3153331538
);
3153431539
})();
3153531540
("function" === typeof Map &&
@@ -31566,10 +31571,10 @@
3156631571
!(function () {
3156731572
var internals = {
3156831573
bundleType: 1,
31569-
version: "19.2.0-experimental-03fda05d-20250820",
31574+
version: "19.2.0-experimental-6de32a5a-20250822",
3157031575
rendererPackageName: "react-dom",
3157131576
currentDispatcherRef: ReactSharedInternals,
31572-
reconcilerVersion: "19.2.0-experimental-03fda05d-20250820"
31577+
reconcilerVersion: "19.2.0-experimental-6de32a5a-20250822"
3157331578
};
3157431579
internals.overrideHookState = overrideHookState;
3157531580
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -32046,7 +32051,7 @@
3204632051
exports.useFormStatus = function () {
3204732052
return resolveDispatcher().useHostTransitionStatus();
3204832053
};
32049-
exports.version = "19.2.0-experimental-03fda05d-20250820";
32054+
exports.version = "19.2.0-experimental-6de32a5a-20250822";
3205032055
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
3205132056
"function" ===
3205232057
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18921,9 +18921,10 @@ function observeChild(child, observer) {
1892118921
return !1;
1892218922
}
1892318923
FragmentInstance.prototype.unobserveUsing = function (observer) {
18924-
null !== this._observers &&
18925-
this._observers.has(observer) &&
18926-
(this._observers.delete(observer),
18924+
var observers = this._observers;
18925+
null !== observers &&
18926+
observers.has(observer) &&
18927+
(observers.delete(observer),
1892718928
traverseVisibleHostChildren(
1892818929
this._fragmentFiber.child,
1892918930
!1,
@@ -21026,14 +21027,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
2102621027
};
2102721028
var isomorphicReactPackageVersion$jscomp$inline_2421 = React.version;
2102821029
if (
21029-
"19.2.0-experimental-03fda05d-20250820" !==
21030+
"19.2.0-experimental-6de32a5a-20250822" !==
2103021031
isomorphicReactPackageVersion$jscomp$inline_2421
2103121032
)
2103221033
throw Error(
2103321034
formatProdErrorMessage(
2103421035
527,
2103521036
isomorphicReactPackageVersion$jscomp$inline_2421,
21036-
"19.2.0-experimental-03fda05d-20250820"
21037+
"19.2.0-experimental-6de32a5a-20250822"
2103721038
)
2103821039
);
2103921040
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -21055,10 +21056,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
2105521056
};
2105621057
var internals$jscomp$inline_3120 = {
2105721058
bundleType: 0,
21058-
version: "19.2.0-experimental-03fda05d-20250820",
21059+
version: "19.2.0-experimental-6de32a5a-20250822",
2105921060
rendererPackageName: "react-dom",
2106021061
currentDispatcherRef: ReactSharedInternals,
21061-
reconcilerVersion: "19.2.0-experimental-03fda05d-20250820"
21062+
reconcilerVersion: "19.2.0-experimental-6de32a5a-20250822"
2106221063
};
2106321064
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
2106421065
var hook$jscomp$inline_3121 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -21326,7 +21327,7 @@ exports.useFormState = function (action, initialState, permalink) {
2132621327
exports.useFormStatus = function () {
2132721328
return ReactSharedInternals.H.useHostTransitionStatus();
2132821329
};
21329-
exports.version = "19.2.0-experimental-03fda05d-20250820";
21330+
exports.version = "19.2.0-experimental-6de32a5a-20250822";
2133021331
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
2133121332
"function" ===
2133221333
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9211,7 +9211,11 @@
92119211
"aria-rowcount": 0,
92129212
"aria-rowindex": 0,
92139213
"aria-rowspan": 0,
9214-
"aria-setsize": 0
9214+
"aria-setsize": 0,
9215+
"aria-braillelabel": 0,
9216+
"aria-brailleroledescription": 0,
9217+
"aria-colindextext": 0,
9218+
"aria-rowindextext": 0
92159219
},
92169220
warnedProperties$1 = {},
92179221
rARIA$1 = RegExp(
@@ -10523,5 +10527,5 @@
1052310527
'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'
1052410528
);
1052510529
};
10526-
exports.version = "19.2.0-experimental-03fda05d-20250820";
10530+
exports.version = "19.2.0-experimental-6de32a5a-20250822";
1052710531
})();

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
@@ -7142,4 +7142,4 @@ exports.renderToString = function (children, options) {
71427142
'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'
71437143
);
71447144
};
7145-
exports.version = "19.2.0-experimental-03fda05d-20250820";
7145+
exports.version = "19.2.0-experimental-6de32a5a-20250822";

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9211,7 +9211,11 @@
92119211
"aria-rowcount": 0,
92129212
"aria-rowindex": 0,
92139213
"aria-rowspan": 0,
9214-
"aria-setsize": 0
9214+
"aria-setsize": 0,
9215+
"aria-braillelabel": 0,
9216+
"aria-brailleroledescription": 0,
9217+
"aria-colindextext": 0,
9218+
"aria-rowindextext": 0
92159219
},
92169220
warnedProperties$1 = {},
92179221
rARIA$1 = RegExp(
@@ -10523,5 +10527,5 @@
1052310527
'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'
1052410528
);
1052510529
};
10526-
exports.version = "19.2.0-experimental-03fda05d-20250820";
10530+
exports.version = "19.2.0-experimental-6de32a5a-20250822";
1052710531
})();

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
@@ -7245,4 +7245,4 @@ exports.renderToString = function (children, options) {
72457245
'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'
72467246
);
72477247
};
7248-
exports.version = "19.2.0-experimental-03fda05d-20250820";
7248+
exports.version = "19.2.0-experimental-6de32a5a-20250822";

0 commit comments

Comments
 (0)