Skip to content

Commit 091be8d

Browse files
committed
Rename Suspense unstable_name to name (facebook#33014)
This was only used by Transition Tracing which isn't really used anywhere. However, we want to start using it for other DevTools. DiffTrain build for [693803a](facebook@693803a)
1 parent 1485e36 commit 091be8d

34 files changed

+140
-140
lines changed

compiled/facebook-www/REVISION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5010364d344bb5f5cc5536f5d56ed41e43b356fb
1+
693803a9bb3073b2ff5c99f8ae804f855db9aae2
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5010364d344bb5f5cc5536f5d56ed41e43b356fb
1+
693803a9bb3073b2ff5c99f8ae804f855db9aae2

compiled/facebook-www/React-dev.classic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1538,7 +1538,7 @@ __DEV__ &&
15381538
exports.useTransition = function () {
15391539
return resolveDispatcher().useTransition();
15401540
};
1541-
exports.version = "19.2.0-www-classic-5010364d-20250424";
1541+
exports.version = "19.2.0-www-classic-693803a9-20250424";
15421542
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
15431543
"function" ===
15441544
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/React-dev.modern.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1538,7 +1538,7 @@ __DEV__ &&
15381538
exports.useTransition = function () {
15391539
return resolveDispatcher().useTransition();
15401540
};
1541-
exports.version = "19.2.0-www-modern-5010364d-20250424";
1541+
exports.version = "19.2.0-www-modern-693803a9-20250424";
15421542
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
15431543
"function" ===
15441544
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/React-prod.classic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -636,4 +636,4 @@ exports.useSyncExternalStore = function (
636636
exports.useTransition = function () {
637637
return ReactSharedInternals.H.useTransition();
638638
};
639-
exports.version = "19.2.0-www-classic-5010364d-20250424";
639+
exports.version = "19.2.0-www-classic-693803a9-20250424";

compiled/facebook-www/React-prod.modern.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -636,4 +636,4 @@ exports.useSyncExternalStore = function (
636636
exports.useTransition = function () {
637637
return ReactSharedInternals.H.useTransition();
638638
};
639-
exports.version = "19.2.0-www-modern-5010364d-20250424";
639+
exports.version = "19.2.0-www-modern-693803a9-20250424";

compiled/facebook-www/React-profiling.classic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ exports.useSyncExternalStore = function (
640640
exports.useTransition = function () {
641641
return ReactSharedInternals.H.useTransition();
642642
};
643-
exports.version = "19.2.0-www-classic-5010364d-20250424";
643+
exports.version = "19.2.0-www-classic-693803a9-20250424";
644644
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
645645
"function" ===
646646
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/React-profiling.modern.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ exports.useSyncExternalStore = function (
640640
exports.useTransition = function () {
641641
return ReactSharedInternals.H.useTransition();
642642
};
643-
exports.version = "19.2.0-www-modern-5010364d-20250424";
643+
exports.version = "19.2.0-www-modern-693803a9-20250424";
644644
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
645645
"function" ===
646646
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/ReactART-dev.classic.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11425,8 +11425,8 @@ __DEV__ &&
1142511425
offscreenFiber = offscreenFiber.return;
1142611426
null !== offscreenFiber &&
1142711427
13 === offscreenFiber.tag &&
11428-
offscreenFiber.memoizedProps.unstable_name &&
11429-
(name = offscreenFiber.memoizedProps.unstable_name);
11428+
offscreenFiber.memoizedProps.name &&
11429+
(name = offscreenFiber.memoizedProps.name);
1143011430
!prevState && previousFiber
1143111431
? null !== pendingMarkers &&
1143211432
pendingMarkers.forEach(function (markerInstance) {
@@ -13565,7 +13565,7 @@ __DEV__ &&
1356513565
if (null !== transitions) {
1356613566
var abortReason = {
1356713567
reason: "suspense",
13568-
name: current.memoizedProps.unstable_name || null
13568+
name: current.memoizedProps.name || null
1356913569
};
1357013570
if (
1357113571
null === current.memoizedState ||
@@ -18800,10 +18800,10 @@ __DEV__ &&
1880018800
(function () {
1880118801
var internals = {
1880218802
bundleType: 1,
18803-
version: "19.2.0-www-classic-5010364d-20250424",
18803+
version: "19.2.0-www-classic-693803a9-20250424",
1880418804
rendererPackageName: "react-art",
1880518805
currentDispatcherRef: ReactSharedInternals,
18806-
reconcilerVersion: "19.2.0-www-classic-5010364d-20250424"
18806+
reconcilerVersion: "19.2.0-www-classic-693803a9-20250424"
1880718807
};
1880818808
internals.overrideHookState = overrideHookState;
1880918809
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -18837,7 +18837,7 @@ __DEV__ &&
1883718837
exports.Shape = Shape;
1883818838
exports.Surface = Surface;
1883918839
exports.Text = Text;
18840-
exports.version = "19.2.0-www-classic-5010364d-20250424";
18840+
exports.version = "19.2.0-www-classic-693803a9-20250424";
1884118841
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1884218842
"function" ===
1884318843
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/ReactART-dev.modern.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11243,8 +11243,8 @@ __DEV__ &&
1124311243
offscreenFiber = offscreenFiber.return;
1124411244
null !== offscreenFiber &&
1124511245
13 === offscreenFiber.tag &&
11246-
offscreenFiber.memoizedProps.unstable_name &&
11247-
(name = offscreenFiber.memoizedProps.unstable_name);
11246+
offscreenFiber.memoizedProps.name &&
11247+
(name = offscreenFiber.memoizedProps.name);
1124811248
!prevState && previousFiber
1124911249
? null !== pendingMarkers &&
1125011250
pendingMarkers.forEach(function (markerInstance) {
@@ -13383,7 +13383,7 @@ __DEV__ &&
1338313383
if (null !== transitions) {
1338413384
var abortReason = {
1338513385
reason: "suspense",
13386-
name: current.memoizedProps.unstable_name || null
13386+
name: current.memoizedProps.name || null
1338713387
};
1338813388
if (
1338913389
null === current.memoizedState ||
@@ -18572,10 +18572,10 @@ __DEV__ &&
1857218572
(function () {
1857318573
var internals = {
1857418574
bundleType: 1,
18575-
version: "19.2.0-www-modern-5010364d-20250424",
18575+
version: "19.2.0-www-modern-693803a9-20250424",
1857618576
rendererPackageName: "react-art",
1857718577
currentDispatcherRef: ReactSharedInternals,
18578-
reconcilerVersion: "19.2.0-www-modern-5010364d-20250424"
18578+
reconcilerVersion: "19.2.0-www-modern-693803a9-20250424"
1857918579
};
1858018580
internals.overrideHookState = overrideHookState;
1858118581
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -18609,7 +18609,7 @@ __DEV__ &&
1860918609
exports.Shape = Shape;
1861018610
exports.Surface = Surface;
1861118611
exports.Text = Text;
18612-
exports.version = "19.2.0-www-modern-5010364d-20250424";
18612+
exports.version = "19.2.0-www-modern-693803a9-20250424";
1861318613
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1861418614
"function" ===
1861518615
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/ReactART-prod.classic.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8016,8 +8016,8 @@ function commitTransitionProgress(offscreenFiber) {
80168016
offscreenFiber = offscreenFiber.return;
80178017
null !== offscreenFiber &&
80188018
13 === offscreenFiber.tag &&
8019-
offscreenFiber.memoizedProps.unstable_name &&
8020-
(name = offscreenFiber.memoizedProps.unstable_name);
8019+
offscreenFiber.memoizedProps.name &&
8020+
(name = offscreenFiber.memoizedProps.name);
80218021
!prevState && previousFiber
80228022
? null !== pendingMarkers &&
80238023
pendingMarkers.forEach(function (markerInstance) {
@@ -9469,7 +9469,7 @@ function commitPassiveUnmountEffectsInsideOfDeletedTree_begin(
94699469
if (null !== transitions) {
94709470
var abortReason = {
94719471
reason: "suspense",
9472-
name: fiber.memoizedProps.unstable_name || null
9472+
name: fiber.memoizedProps.name || null
94739473
};
94749474
if (
94759475
null === fiber.memoizedState ||
@@ -11412,10 +11412,10 @@ var slice = Array.prototype.slice,
1141211412
})(React.Component);
1141311413
var internals$jscomp$inline_1619 = {
1141411414
bundleType: 0,
11415-
version: "19.2.0-www-classic-5010364d-20250424",
11415+
version: "19.2.0-www-classic-693803a9-20250424",
1141611416
rendererPackageName: "react-art",
1141711417
currentDispatcherRef: ReactSharedInternals,
11418-
reconcilerVersion: "19.2.0-www-classic-5010364d-20250424"
11418+
reconcilerVersion: "19.2.0-www-classic-693803a9-20250424"
1141911419
};
1142011420
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1142111421
var hook$jscomp$inline_1620 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -11441,4 +11441,4 @@ exports.RadialGradient = RadialGradient;
1144111441
exports.Shape = TYPES.SHAPE;
1144211442
exports.Surface = Surface;
1144311443
exports.Text = Text;
11444-
exports.version = "19.2.0-www-classic-5010364d-20250424";
11444+
exports.version = "19.2.0-www-classic-693803a9-20250424";

compiled/facebook-www/ReactART-prod.modern.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7768,8 +7768,8 @@ function commitTransitionProgress(offscreenFiber) {
77687768
offscreenFiber = offscreenFiber.return;
77697769
null !== offscreenFiber &&
77707770
13 === offscreenFiber.tag &&
7771-
offscreenFiber.memoizedProps.unstable_name &&
7772-
(name = offscreenFiber.memoizedProps.unstable_name);
7771+
offscreenFiber.memoizedProps.name &&
7772+
(name = offscreenFiber.memoizedProps.name);
77737773
!prevState && previousFiber
77747774
? null !== pendingMarkers &&
77757775
pendingMarkers.forEach(function (markerInstance) {
@@ -9221,7 +9221,7 @@ function commitPassiveUnmountEffectsInsideOfDeletedTree_begin(
92219221
if (null !== transitions) {
92229222
var abortReason = {
92239223
reason: "suspense",
9224-
name: fiber.memoizedProps.unstable_name || null
9224+
name: fiber.memoizedProps.name || null
92259225
};
92269226
if (
92279227
null === fiber.memoizedState ||
@@ -11125,10 +11125,10 @@ var slice = Array.prototype.slice,
1112511125
})(React.Component);
1112611126
var internals$jscomp$inline_1592 = {
1112711127
bundleType: 0,
11128-
version: "19.2.0-www-modern-5010364d-20250424",
11128+
version: "19.2.0-www-modern-693803a9-20250424",
1112911129
rendererPackageName: "react-art",
1113011130
currentDispatcherRef: ReactSharedInternals,
11131-
reconcilerVersion: "19.2.0-www-modern-5010364d-20250424"
11131+
reconcilerVersion: "19.2.0-www-modern-693803a9-20250424"
1113211132
};
1113311133
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1113411134
var hook$jscomp$inline_1593 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -11154,4 +11154,4 @@ exports.RadialGradient = RadialGradient;
1115411154
exports.Shape = TYPES.SHAPE;
1115511155
exports.Surface = Surface;
1115611156
exports.Text = Text;
11157-
exports.version = "19.2.0-www-modern-5010364d-20250424";
11157+
exports.version = "19.2.0-www-modern-693803a9-20250424";

compiled/facebook-www/ReactDOM-dev.classic.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14789,8 +14789,8 @@ __DEV__ &&
1478914789
offscreenFiber = offscreenFiber.return;
1479014790
null !== offscreenFiber &&
1479114791
13 === offscreenFiber.tag &&
14792-
offscreenFiber.memoizedProps.unstable_name &&
14793-
(name = offscreenFiber.memoizedProps.unstable_name);
14792+
offscreenFiber.memoizedProps.name &&
14793+
(name = offscreenFiber.memoizedProps.name);
1479414794
!prevState && previousFiber
1479514795
? null !== pendingMarkers &&
1479614796
pendingMarkers.forEach(function (markerInstance) {
@@ -17419,7 +17419,7 @@ __DEV__ &&
1741917419
if (null !== transitions) {
1742017420
var abortReason = {
1742117421
reason: "suspense",
17422-
name: current.memoizedProps.unstable_name || null
17422+
name: current.memoizedProps.name || null
1742317423
};
1742417424
if (
1742517425
null === current.memoizedState ||
@@ -30914,11 +30914,11 @@ __DEV__ &&
3091430914
return_targetInst = null;
3091530915
(function () {
3091630916
var isomorphicReactPackageVersion = React.version;
30917-
if ("19.2.0-www-classic-5010364d-20250424" !== isomorphicReactPackageVersion)
30917+
if ("19.2.0-www-classic-693803a9-20250424" !== isomorphicReactPackageVersion)
3091830918
throw Error(
3091930919
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
3092030920
(isomorphicReactPackageVersion +
30921-
"\n - react-dom: 19.2.0-www-classic-5010364d-20250424\nLearn more: https://react.dev/warnings/version-mismatch")
30921+
"\n - react-dom: 19.2.0-www-classic-693803a9-20250424\nLearn more: https://react.dev/warnings/version-mismatch")
3092230922
);
3092330923
})();
3092430924
("function" === typeof Map &&
@@ -30961,10 +30961,10 @@ __DEV__ &&
3096130961
!(function () {
3096230962
var internals = {
3096330963
bundleType: 1,
30964-
version: "19.2.0-www-classic-5010364d-20250424",
30964+
version: "19.2.0-www-classic-693803a9-20250424",
3096530965
rendererPackageName: "react-dom",
3096630966
currentDispatcherRef: ReactSharedInternals,
30967-
reconcilerVersion: "19.2.0-www-classic-5010364d-20250424"
30967+
reconcilerVersion: "19.2.0-www-classic-693803a9-20250424"
3096830968
};
3096930969
internals.overrideHookState = overrideHookState;
3097030970
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -31562,7 +31562,7 @@ __DEV__ &&
3156231562
exports.useFormStatus = function () {
3156331563
return resolveDispatcher().useHostTransitionStatus();
3156431564
};
31565-
exports.version = "19.2.0-www-classic-5010364d-20250424";
31565+
exports.version = "19.2.0-www-classic-693803a9-20250424";
3156631566
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
3156731567
"function" ===
3156831568
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/ReactDOM-dev.modern.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14588,8 +14588,8 @@ __DEV__ &&
1458814588
offscreenFiber = offscreenFiber.return;
1458914589
null !== offscreenFiber &&
1459014590
13 === offscreenFiber.tag &&
14591-
offscreenFiber.memoizedProps.unstable_name &&
14592-
(name = offscreenFiber.memoizedProps.unstable_name);
14591+
offscreenFiber.memoizedProps.name &&
14592+
(name = offscreenFiber.memoizedProps.name);
1459314593
!prevState && previousFiber
1459414594
? null !== pendingMarkers &&
1459514595
pendingMarkers.forEach(function (markerInstance) {
@@ -17218,7 +17218,7 @@ __DEV__ &&
1721817218
if (null !== transitions) {
1721917219
var abortReason = {
1722017220
reason: "suspense",
17221-
name: current.memoizedProps.unstable_name || null
17221+
name: current.memoizedProps.name || null
1722217222
};
1722317223
if (
1722417224
null === current.memoizedState ||
@@ -30700,11 +30700,11 @@ __DEV__ &&
3070030700
return_targetInst = null;
3070130701
(function () {
3070230702
var isomorphicReactPackageVersion = React.version;
30703-
if ("19.2.0-www-modern-5010364d-20250424" !== isomorphicReactPackageVersion)
30703+
if ("19.2.0-www-modern-693803a9-20250424" !== isomorphicReactPackageVersion)
3070430704
throw Error(
3070530705
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
3070630706
(isomorphicReactPackageVersion +
30707-
"\n - react-dom: 19.2.0-www-modern-5010364d-20250424\nLearn more: https://react.dev/warnings/version-mismatch")
30707+
"\n - react-dom: 19.2.0-www-modern-693803a9-20250424\nLearn more: https://react.dev/warnings/version-mismatch")
3070830708
);
3070930709
})();
3071030710
("function" === typeof Map &&
@@ -30747,10 +30747,10 @@ __DEV__ &&
3074730747
!(function () {
3074830748
var internals = {
3074930749
bundleType: 1,
30750-
version: "19.2.0-www-modern-5010364d-20250424",
30750+
version: "19.2.0-www-modern-693803a9-20250424",
3075130751
rendererPackageName: "react-dom",
3075230752
currentDispatcherRef: ReactSharedInternals,
30753-
reconcilerVersion: "19.2.0-www-modern-5010364d-20250424"
30753+
reconcilerVersion: "19.2.0-www-modern-693803a9-20250424"
3075430754
};
3075530755
internals.overrideHookState = overrideHookState;
3075630756
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -31348,7 +31348,7 @@ __DEV__ &&
3134831348
exports.useFormStatus = function () {
3134931349
return resolveDispatcher().useHostTransitionStatus();
3135031350
};
31351-
exports.version = "19.2.0-www-modern-5010364d-20250424";
31351+
exports.version = "19.2.0-www-modern-693803a9-20250424";
3135231352
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
3135331353
"function" ===
3135431354
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/ReactDOM-prod.classic.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10141,8 +10141,8 @@ function commitTransitionProgress(offscreenFiber) {
1014110141
offscreenFiber = offscreenFiber.return;
1014210142
null !== offscreenFiber &&
1014310143
13 === offscreenFiber.tag &&
10144-
offscreenFiber.memoizedProps.unstable_name &&
10145-
(name = offscreenFiber.memoizedProps.unstable_name);
10144+
offscreenFiber.memoizedProps.name &&
10145+
(name = offscreenFiber.memoizedProps.name);
1014610146
!prevState && previousFiber
1014710147
? null !== pendingMarkers &&
1014810148
pendingMarkers.forEach(function (markerInstance) {
@@ -12093,7 +12093,7 @@ function commitPassiveUnmountEffectsInsideOfDeletedTree_begin(
1209312093
if (null !== transitions) {
1209412094
var abortReason = {
1209512095
reason: "suspense",
12096-
name: fiber.memoizedProps.unstable_name || null
12096+
name: fiber.memoizedProps.name || null
1209712097
};
1209812098
if (
1209912099
null === fiber.memoizedState ||
@@ -19440,14 +19440,14 @@ function getCrossOriginStringAs(as, input) {
1944019440
}
1944119441
var isomorphicReactPackageVersion$jscomp$inline_2029 = React.version;
1944219442
if (
19443-
"19.2.0-www-classic-5010364d-20250424" !==
19443+
"19.2.0-www-classic-693803a9-20250424" !==
1944419444
isomorphicReactPackageVersion$jscomp$inline_2029
1944519445
)
1944619446
throw Error(
1944719447
formatProdErrorMessage(
1944819448
527,
1944919449
isomorphicReactPackageVersion$jscomp$inline_2029,
19450-
"19.2.0-www-classic-5010364d-20250424"
19450+
"19.2.0-www-classic-693803a9-20250424"
1945119451
)
1945219452
);
1945319453
Internals.findDOMNode = function (componentOrElement) {
@@ -19465,10 +19465,10 @@ Internals.Events = [
1946519465
];
1946619466
var internals$jscomp$inline_2635 = {
1946719467
bundleType: 0,
19468-
version: "19.2.0-www-classic-5010364d-20250424",
19468+
version: "19.2.0-www-classic-693803a9-20250424",
1946919469
rendererPackageName: "react-dom",
1947019470
currentDispatcherRef: ReactSharedInternals,
19471-
reconcilerVersion: "19.2.0-www-classic-5010364d-20250424"
19471+
reconcilerVersion: "19.2.0-www-classic-693803a9-20250424"
1947219472
};
1947319473
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1947419474
var hook$jscomp$inline_2636 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -19832,4 +19832,4 @@ exports.useFormState = function (action, initialState, permalink) {
1983219832
exports.useFormStatus = function () {
1983319833
return ReactSharedInternals.H.useHostTransitionStatus();
1983419834
};
19835-
exports.version = "19.2.0-www-classic-5010364d-20250424";
19835+
exports.version = "19.2.0-www-classic-693803a9-20250424";

0 commit comments

Comments
 (0)