Skip to content

Commit 4ee56b9

Browse files
committed
[playground] Fix useEffect on tabify (facebook#34594)
There was a bug in the Compiler Playground related to the "Show Internals" toggle due to a useEffect that was causing the tab names to flicker from a rerender. Rewritten instead with a `<Suspense>` boundary + `use`. DiffTrain build for [250f1b2](facebook@250f1b2)
1 parent 8947b45 commit 4ee56b9

34 files changed

+86
-86
lines changed

compiled/facebook-www/REVISION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
b0c1dc01ecbfaf81aa69f760b29dd76c02600792
1+
250f1b20e0ac8e6c1ba03f2466ad63ff9b5104de
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
b0c1dc01ecbfaf81aa69f760b29dd76c02600792
1+
250f1b20e0ac8e6c1ba03f2466ad63ff9b5104de

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1419,7 +1419,7 @@ __DEV__ &&
14191419
exports.useTransition = function () {
14201420
return resolveDispatcher().useTransition();
14211421
};
1422-
exports.version = "19.2.0-www-classic-b0c1dc01-20250925";
1422+
exports.version = "19.2.0-www-classic-250f1b20-20250925";
14231423
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
14241424
"function" ===
14251425
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
@@ -1419,7 +1419,7 @@ __DEV__ &&
14191419
exports.useTransition = function () {
14201420
return resolveDispatcher().useTransition();
14211421
};
1422-
exports.version = "19.2.0-www-modern-b0c1dc01-20250925";
1422+
exports.version = "19.2.0-www-modern-250f1b20-20250925";
14231423
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
14241424
"function" ===
14251425
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
@@ -602,4 +602,4 @@ exports.useSyncExternalStore = function (
602602
exports.useTransition = function () {
603603
return ReactSharedInternals.H.useTransition();
604604
};
605-
exports.version = "19.2.0-www-classic-b0c1dc01-20250925";
605+
exports.version = "19.2.0-www-classic-250f1b20-20250925";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,4 +602,4 @@ exports.useSyncExternalStore = function (
602602
exports.useTransition = function () {
603603
return ReactSharedInternals.H.useTransition();
604604
};
605-
exports.version = "19.2.0-www-modern-b0c1dc01-20250925";
605+
exports.version = "19.2.0-www-modern-250f1b20-20250925";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ exports.useSyncExternalStore = function (
606606
exports.useTransition = function () {
607607
return ReactSharedInternals.H.useTransition();
608608
};
609-
exports.version = "19.2.0-www-classic-b0c1dc01-20250925";
609+
exports.version = "19.2.0-www-classic-250f1b20-20250925";
610610
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
611611
"function" ===
612612
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
@@ -606,7 +606,7 @@ exports.useSyncExternalStore = function (
606606
exports.useTransition = function () {
607607
return ReactSharedInternals.H.useTransition();
608608
};
609-
exports.version = "19.2.0-www-modern-b0c1dc01-20250925";
609+
exports.version = "19.2.0-www-modern-250f1b20-20250925";
610610
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
611611
"function" ===
612612
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20224,10 +20224,10 @@ __DEV__ &&
2022420224
(function () {
2022520225
var internals = {
2022620226
bundleType: 1,
20227-
version: "19.2.0-www-classic-b0c1dc01-20250925",
20227+
version: "19.2.0-www-classic-250f1b20-20250925",
2022820228
rendererPackageName: "react-art",
2022920229
currentDispatcherRef: ReactSharedInternals,
20230-
reconcilerVersion: "19.2.0-www-classic-b0c1dc01-20250925"
20230+
reconcilerVersion: "19.2.0-www-classic-250f1b20-20250925"
2023120231
};
2023220232
internals.overrideHookState = overrideHookState;
2023320233
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -20261,7 +20261,7 @@ __DEV__ &&
2026120261
exports.Shape = Shape;
2026220262
exports.Surface = Surface;
2026320263
exports.Text = Text;
20264-
exports.version = "19.2.0-www-classic-b0c1dc01-20250925";
20264+
exports.version = "19.2.0-www-classic-250f1b20-20250925";
2026520265
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
2026620266
"function" ===
2026720267
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19995,10 +19995,10 @@ __DEV__ &&
1999519995
(function () {
1999619996
var internals = {
1999719997
bundleType: 1,
19998-
version: "19.2.0-www-modern-b0c1dc01-20250925",
19998+
version: "19.2.0-www-modern-250f1b20-20250925",
1999919999
rendererPackageName: "react-art",
2000020000
currentDispatcherRef: ReactSharedInternals,
20001-
reconcilerVersion: "19.2.0-www-modern-b0c1dc01-20250925"
20001+
reconcilerVersion: "19.2.0-www-modern-250f1b20-20250925"
2000220002
};
2000320003
internals.overrideHookState = overrideHookState;
2000420004
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -20032,7 +20032,7 @@ __DEV__ &&
2003220032
exports.Shape = Shape;
2003320033
exports.Surface = Surface;
2003420034
exports.Text = Text;
20035-
exports.version = "19.2.0-www-modern-b0c1dc01-20250925";
20035+
exports.version = "19.2.0-www-modern-250f1b20-20250925";
2003620036
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
2003720037
"function" ===
2003820038
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

0 commit comments

Comments
 (0)