Skip to content

Commit 76d8d06

Browse files
committed
[Devtools] Ensure initial read of useFormStatus returns NotPendingTransition (#28728)
DiffTrain build for [88ee14f](88ee14f)
1 parent c8a8095 commit 76d8d06

34 files changed

+270
-318
lines changed

compiled/facebook-www/REVISION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a7d1240c962d2fdeac3ba31f1fdc12b5be4bbd2e
1+
88ee14ffa57beb0689f26f0c52c357e3ac446af8
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a7d1240c962d2fdeac3ba31f1fdc12b5be4bbd2e
1+
88ee14ffa57beb0689f26f0c52c357e3ac446af8

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-a7d1240c-20240731";
2004+
exports.version = "19.0.0-www-classic-88ee14ff-20240801";
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-a7d1240c-20240731";
1984+
exports.version = "19.0.0-www-modern-88ee14ff-20240801";
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-a7d1240c-20240731";
668+
exports.version = "19.0.0-www-classic-88ee14ff-20240801";

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-a7d1240c-20240731";
668+
exports.version = "19.0.0-www-modern-88ee14ff-20240801";

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-a7d1240c-20240731";
672+
exports.version = "19.0.0-www-classic-88ee14ff-20240801";
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-a7d1240c-20240731";
672+
exports.version = "19.0.0-www-modern-88ee14ff-20240801";
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: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5137,8 +5137,7 @@ __DEV__ &&
51375137
];
51385138
}
51395139
function useHostTransitionStatus() {
5140-
var status = readContext(HostTransitionContext);
5141-
return null !== status ? status : null;
5140+
return readContext(HostTransitionContext);
51425141
}
51435142
function mountId() {
51445143
var hook = mountWorkInProgressHook(),
@@ -14692,6 +14691,14 @@ __DEV__ &&
1469214691
var scheduleTimeout = setTimeout,
1469314692
cancelTimeout = clearTimeout,
1469414693
currentUpdatePriority = 0,
14694+
HostTransitionContext = {
14695+
$$typeof: REACT_CONTEXT_TYPE,
14696+
Provider: null,
14697+
Consumer: null,
14698+
_currentValue: null,
14699+
_currentValue2: null,
14700+
_threadCount: 0
14701+
},
1469514702
valueStack = [];
1469614703
var fiberStack = [];
1469714704
var index$jscomp$0 = -1;
@@ -14713,14 +14720,6 @@ __DEV__ &&
1471314720
contextFiberStackCursor = createCursor(null),
1471414721
rootInstanceStackCursor = createCursor(null),
1471514722
hostTransitionProviderCursor = createCursor(null),
14716-
HostTransitionContext = {
14717-
$$typeof: REACT_CONTEXT_TYPE,
14718-
Provider: null,
14719-
Consumer: null,
14720-
_currentValue: null,
14721-
_currentValue2: null,
14722-
_threadCount: 0
14723-
},
1472414723
needsEscaping = /["'&<>\n\t]|^\s|\s$/,
1472514724
hydrationDiffRootDEV = null,
1472614725
hydrationErrors = null,
@@ -16783,11 +16782,11 @@ __DEV__ &&
1678316782
(function () {
1678416783
var internals = {
1678516784
bundleType: 1,
16786-
version: "19.0.0-www-classic-a7d1240c-20240731",
16785+
version: "19.0.0-www-classic-88ee14ff-20240801",
1678716786
rendererPackageName: "react-art",
1678816787
currentDispatcherRef: ReactSharedInternals,
1678916788
findFiberByHostInstance: getInstanceFromNode,
16790-
reconcilerVersion: "19.0.0-www-classic-a7d1240c-20240731"
16789+
reconcilerVersion: "19.0.0-www-classic-88ee14ff-20240801"
1679116790
};
1679216791
internals.overrideHookState = overrideHookState;
1679316792
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -16821,7 +16820,7 @@ __DEV__ &&
1682116820
exports.Shape = Shape;
1682216821
exports.Surface = Surface;
1682316822
exports.Text = Text;
16824-
exports.version = "19.0.0-www-classic-a7d1240c-20240731";
16823+
exports.version = "19.0.0-www-classic-88ee14ff-20240801";
1682516824
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1682616825
"function" ===
1682716826
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5013,8 +5013,7 @@ __DEV__ &&
50135013
];
50145014
}
50155015
function useHostTransitionStatus() {
5016-
var status = readContext(HostTransitionContext);
5017-
return null !== status ? status : null;
5016+
return readContext(HostTransitionContext);
50185017
}
50195018
function mountId() {
50205019
var hook = mountWorkInProgressHook(),
@@ -14100,6 +14099,14 @@ __DEV__ &&
1410014099
var scheduleTimeout = setTimeout,
1410114100
cancelTimeout = clearTimeout,
1410214101
currentUpdatePriority = 0,
14102+
HostTransitionContext = {
14103+
$$typeof: REACT_CONTEXT_TYPE,
14104+
Provider: null,
14105+
Consumer: null,
14106+
_currentValue: null,
14107+
_currentValue2: null,
14108+
_threadCount: 0
14109+
},
1410314110
valueStack = [];
1410414111
var fiberStack = [];
1410514112
var index$jscomp$0 = -1,
@@ -14117,14 +14124,6 @@ __DEV__ &&
1411714124
contextFiberStackCursor = createCursor(null),
1411814125
rootInstanceStackCursor = createCursor(null),
1411914126
hostTransitionProviderCursor = createCursor(null),
14120-
HostTransitionContext = {
14121-
$$typeof: REACT_CONTEXT_TYPE,
14122-
Provider: null,
14123-
Consumer: null,
14124-
_currentValue: null,
14125-
_currentValue2: null,
14126-
_threadCount: 0
14127-
},
1412814127
needsEscaping = /["'&<>\n\t]|^\s|\s$/,
1412914128
hydrationDiffRootDEV = null,
1413014129
hydrationErrors = null,
@@ -16196,11 +16195,11 @@ __DEV__ &&
1619616195
(function () {
1619716196
var internals = {
1619816197
bundleType: 1,
16199-
version: "19.0.0-www-modern-a7d1240c-20240731",
16198+
version: "19.0.0-www-modern-88ee14ff-20240801",
1620016199
rendererPackageName: "react-art",
1620116200
currentDispatcherRef: ReactSharedInternals,
1620216201
findFiberByHostInstance: getInstanceFromNode,
16203-
reconcilerVersion: "19.0.0-www-modern-a7d1240c-20240731"
16202+
reconcilerVersion: "19.0.0-www-modern-88ee14ff-20240801"
1620416203
};
1620516204
internals.overrideHookState = overrideHookState;
1620616205
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -16234,7 +16233,7 @@ __DEV__ &&
1623416233
exports.Shape = Shape;
1623516234
exports.Surface = Surface;
1623616235
exports.Text = Text;
16237-
exports.version = "19.0.0-www-modern-a7d1240c-20240731";
16236+
exports.version = "19.0.0-www-modern-88ee14ff-20240801";
1623816237
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1623916238
"function" ===
1624016239
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

0 commit comments

Comments
 (0)