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 &&

0 commit comments

Comments
 (0)