Skip to content

Commit e3cf3d5

Browse files
committed
Fix unstable_useContextWithBailout dispatcher assignment (#30692)
One more copy pasta fix Assignments are unique now ``` % cat packages/react-reconciler/src/ReactFiberHooks.js | grep .unstable_useContextWithBailout function unstable_useContextWithBailout<T>( (ContextOnlyDispatcher: Dispatcher).unstable_useContextWithBailout = (HooksDispatcherOnMount: Dispatcher).unstable_useContextWithBailout = unstable_useContextWithBailout; (HooksDispatcherOnUpdate: Dispatcher).unstable_useContextWithBailout = unstable_useContextWithBailout; (HooksDispatcherOnRerender: Dispatcher).unstable_useContextWithBailout = unstable_useContextWithBailout; (HooksDispatcherOnMountInDEV: Dispatcher).unstable_useContextWithBailout = return unstable_useContextWithBailout(context, select); (HooksDispatcherOnMountWithHookTypesInDEV: Dispatcher).unstable_useContextWithBailout = return unstable_useContextWithBailout(context, select); (HooksDispatcherOnUpdateInDEV: Dispatcher).unstable_useContextWithBailout = return unstable_useContextWithBailout(context, select); (HooksDispatcherOnRerenderInDEV: Dispatcher).unstable_useContextWithBailout = return unstable_useContextWithBailout(context, select); (InvalidNestedHooksDispatcherOnMountInDEV: Dispatcher).unstable_useContextWithBailout = return unstable_useContextWithBailout(context, select); (InvalidNestedHooksDispatcherOnUpdateInDEV: Dispatcher).unstable_useContextWithBailout = return unstable_useContextWithBailout(context, select); (InvalidNestedHooksDispatcherOnRerenderInDEV: Dispatcher).unstable_useContextWithBailout = return unstable_useContextWithBailout(context, select); ``` DiffTrain build for [0ad0fac](0ad0fac)
1 parent b903fc0 commit e3cf3d5

34 files changed

+94
-94
lines changed

compiled/facebook-www/REVISION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
d48603a52564675ce02152fff245e38b6816da47
1+
0ad0fac1dc11db8d5a6831987fb0324cd6d59498
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
d48603a52564675ce02152fff245e38b6816da47
1+
0ad0fac1dc11db8d5a6831987fb0324cd6d59498

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2001,7 +2001,7 @@ __DEV__ &&
20012001
exports.useTransition = function () {
20022002
return resolveDispatcher().useTransition();
20032003
};
2004-
exports.version = "19.0.0-www-classic-d48603a5-20240813";
2004+
exports.version = "19.0.0-www-classic-0ad0fac1-20240814";
20052005
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
20062006
"function" ===
20072007
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
@@ -1981,7 +1981,7 @@ __DEV__ &&
19811981
exports.useTransition = function () {
19821982
return resolveDispatcher().useTransition();
19831983
};
1984-
exports.version = "19.0.0-www-modern-d48603a5-20240813";
1984+
exports.version = "19.0.0-www-modern-0ad0fac1-20240814";
19851985
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
19861986
"function" ===
19871987
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
@@ -665,4 +665,4 @@ exports.useSyncExternalStore = function (
665665
exports.useTransition = function () {
666666
return ReactSharedInternals.H.useTransition();
667667
};
668-
exports.version = "19.0.0-www-classic-d48603a5-20240813";
668+
exports.version = "19.0.0-www-classic-0ad0fac1-20240814";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,4 +665,4 @@ exports.useSyncExternalStore = function (
665665
exports.useTransition = function () {
666666
return ReactSharedInternals.H.useTransition();
667667
};
668-
exports.version = "19.0.0-www-modern-d48603a5-20240813";
668+
exports.version = "19.0.0-www-modern-0ad0fac1-20240814";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,7 @@ exports.useSyncExternalStore = function (
669669
exports.useTransition = function () {
670670
return ReactSharedInternals.H.useTransition();
671671
};
672-
exports.version = "19.0.0-www-classic-d48603a5-20240813";
672+
exports.version = "19.0.0-www-classic-0ad0fac1-20240814";
673673
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
674674
"function" ===
675675
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
@@ -669,7 +669,7 @@ exports.useSyncExternalStore = function (
669669
exports.useTransition = function () {
670670
return ReactSharedInternals.H.useTransition();
671671
};
672-
exports.version = "19.0.0-www-modern-d48603a5-20240813";
672+
exports.version = "19.0.0-www-modern-0ad0fac1-20240814";
673673
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
674674
"function" ===
675675
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15751,7 +15751,7 @@ __DEV__ &&
1575115751
updateHookTypesDev();
1575215752
return rerenderOptimistic(passthrough, reducer);
1575315753
};
15754-
HooksDispatcherOnUpdateInDEV.unstable_useContextWithBailout = function (
15754+
HooksDispatcherOnRerenderInDEV.unstable_useContextWithBailout = function (
1575515755
context,
1575615756
select
1575715757
) {
@@ -16776,11 +16776,11 @@ __DEV__ &&
1677616776
(function () {
1677716777
var internals = {
1677816778
bundleType: 1,
16779-
version: "19.0.0-www-classic-d48603a5-20240813",
16779+
version: "19.0.0-www-classic-0ad0fac1-20240814",
1678016780
rendererPackageName: "react-art",
1678116781
currentDispatcherRef: ReactSharedInternals,
1678216782
findFiberByHostInstance: getInstanceFromNode,
16783-
reconcilerVersion: "19.0.0-www-classic-d48603a5-20240813"
16783+
reconcilerVersion: "19.0.0-www-classic-0ad0fac1-20240814"
1678416784
};
1678516785
internals.overrideHookState = overrideHookState;
1678616786
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -16814,7 +16814,7 @@ __DEV__ &&
1681416814
exports.Shape = Shape;
1681516815
exports.Surface = Surface;
1681616816
exports.Text = Text;
16817-
exports.version = "19.0.0-www-classic-d48603a5-20240813";
16817+
exports.version = "19.0.0-www-classic-0ad0fac1-20240814";
1681816818
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1681916819
"function" ===
1682016820
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15155,7 +15155,7 @@ __DEV__ &&
1515515155
updateHookTypesDev();
1515615156
return rerenderOptimistic(passthrough, reducer);
1515715157
};
15158-
HooksDispatcherOnUpdateInDEV.unstable_useContextWithBailout = function (
15158+
HooksDispatcherOnRerenderInDEV.unstable_useContextWithBailout = function (
1515915159
context,
1516015160
select
1516115161
) {
@@ -16189,11 +16189,11 @@ __DEV__ &&
1618916189
(function () {
1619016190
var internals = {
1619116191
bundleType: 1,
16192-
version: "19.0.0-www-modern-d48603a5-20240813",
16192+
version: "19.0.0-www-modern-0ad0fac1-20240814",
1619316193
rendererPackageName: "react-art",
1619416194
currentDispatcherRef: ReactSharedInternals,
1619516195
findFiberByHostInstance: getInstanceFromNode,
16196-
reconcilerVersion: "19.0.0-www-modern-d48603a5-20240813"
16196+
reconcilerVersion: "19.0.0-www-modern-0ad0fac1-20240814"
1619716197
};
1619816198
internals.overrideHookState = overrideHookState;
1619916199
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -16227,7 +16227,7 @@ __DEV__ &&
1622716227
exports.Shape = Shape;
1622816228
exports.Surface = Surface;
1622916229
exports.Text = Text;
16230-
exports.version = "19.0.0-www-modern-d48603a5-20240813";
16230+
exports.version = "19.0.0-www-modern-0ad0fac1-20240814";
1623116231
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1623216232
"function" ===
1623316233
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

0 commit comments

Comments
 (0)