Skip to content

Commit dcc27d7

Browse files
committed
Remove unused field _debugIsCurrentlyTiming (facebook#31753)
This field is unused. It's not there at runtime. It's just legacy from the type. DiffTrain build for [56ae4b8](facebook@56ae4b8)
1 parent 0e3974e commit dcc27d7

34 files changed

+1034
-912
lines changed

compiled/facebook-www/REVISION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a4964987dc140526702e996223fe7ee293def8ac
1+
56ae4b8d22f773c961c6f57946e648de0879c7f1
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a4964987dc140526702e996223fe7ee293def8ac
1+
56ae4b8d22f773c961c6f57946e648de0879c7f1

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1954,7 +1954,7 @@ __DEV__ &&
19541954
exports.useTransition = function () {
19551955
return resolveDispatcher().useTransition();
19561956
};
1957-
exports.version = "19.0.0-www-classic-a4964987-20241211";
1957+
exports.version = "19.1.0-www-classic-56ae4b8d-20241212";
19581958
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
19591959
"function" ===
19601960
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
@@ -1954,7 +1954,7 @@ __DEV__ &&
19541954
exports.useTransition = function () {
19551955
return resolveDispatcher().useTransition();
19561956
};
1957-
exports.version = "19.0.0-www-modern-a4964987-20241211";
1957+
exports.version = "19.1.0-www-modern-56ae4b8d-20241212";
19581958
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
19591959
"function" ===
19601960
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
@@ -635,4 +635,4 @@ exports.useSyncExternalStore = function (
635635
exports.useTransition = function () {
636636
return ReactSharedInternals.H.useTransition();
637637
};
638-
exports.version = "19.0.0-www-classic-a4964987-20241211";
638+
exports.version = "19.1.0-www-classic-56ae4b8d-20241212";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,4 +635,4 @@ exports.useSyncExternalStore = function (
635635
exports.useTransition = function () {
636636
return ReactSharedInternals.H.useTransition();
637637
};
638-
exports.version = "19.0.0-www-modern-a4964987-20241211";
638+
exports.version = "19.1.0-www-modern-56ae4b8d-20241212";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ exports.useSyncExternalStore = function (
639639
exports.useTransition = function () {
640640
return ReactSharedInternals.H.useTransition();
641641
};
642-
exports.version = "19.0.0-www-classic-a4964987-20241211";
642+
exports.version = "19.1.0-www-classic-56ae4b8d-20241212";
643643
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
644644
"function" ===
645645
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
@@ -639,7 +639,7 @@ exports.useSyncExternalStore = function (
639639
exports.useTransition = function () {
640640
return ReactSharedInternals.H.useTransition();
641641
};
642-
exports.version = "19.0.0-www-modern-a4964987-20241211";
642+
exports.version = "19.1.0-www-modern-56ae4b8d-20241212";
643643
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
644644
"function" ===
645645
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
@@ -17237,10 +17237,10 @@ __DEV__ &&
1723717237
(function () {
1723817238
var internals = {
1723917239
bundleType: 1,
17240-
version: "19.0.0-www-classic-a4964987-20241211",
17240+
version: "19.1.0-www-classic-56ae4b8d-20241212",
1724117241
rendererPackageName: "react-art",
1724217242
currentDispatcherRef: ReactSharedInternals,
17243-
reconcilerVersion: "19.0.0-www-classic-a4964987-20241211"
17243+
reconcilerVersion: "19.1.0-www-classic-56ae4b8d-20241212"
1724417244
};
1724517245
internals.overrideHookState = overrideHookState;
1724617246
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -17274,7 +17274,7 @@ __DEV__ &&
1727417274
exports.Shape = Shape;
1727517275
exports.Surface = Surface;
1727617276
exports.Text = Text;
17277-
exports.version = "19.0.0-www-classic-a4964987-20241211";
17277+
exports.version = "19.1.0-www-classic-56ae4b8d-20241212";
1727817278
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1727917279
"function" ===
1728017280
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
@@ -17000,10 +17000,10 @@ __DEV__ &&
1700017000
(function () {
1700117001
var internals = {
1700217002
bundleType: 1,
17003-
version: "19.0.0-www-modern-a4964987-20241211",
17003+
version: "19.1.0-www-modern-56ae4b8d-20241212",
1700417004
rendererPackageName: "react-art",
1700517005
currentDispatcherRef: ReactSharedInternals,
17006-
reconcilerVersion: "19.0.0-www-modern-a4964987-20241211"
17006+
reconcilerVersion: "19.1.0-www-modern-56ae4b8d-20241212"
1700717007
};
1700817008
internals.overrideHookState = overrideHookState;
1700917009
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -17037,7 +17037,7 @@ __DEV__ &&
1703717037
exports.Shape = Shape;
1703817038
exports.Surface = Surface;
1703917039
exports.Text = Text;
17040-
exports.version = "19.0.0-www-modern-a4964987-20241211";
17040+
exports.version = "19.1.0-www-modern-56ae4b8d-20241212";
1704117041
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1704217042
"function" ===
1704317043
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10827,10 +10827,10 @@ var slice = Array.prototype.slice,
1082710827
})(React.Component);
1082810828
var internals$jscomp$inline_1509 = {
1082910829
bundleType: 0,
10830-
version: "19.0.0-www-classic-a4964987-20241211",
10830+
version: "19.1.0-www-classic-56ae4b8d-20241212",
1083110831
rendererPackageName: "react-art",
1083210832
currentDispatcherRef: ReactSharedInternals,
10833-
reconcilerVersion: "19.0.0-www-classic-a4964987-20241211"
10833+
reconcilerVersion: "19.1.0-www-classic-56ae4b8d-20241212"
1083410834
};
1083510835
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1083610836
var hook$jscomp$inline_1510 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -10856,4 +10856,4 @@ exports.RadialGradient = RadialGradient;
1085610856
exports.Shape = TYPES.SHAPE;
1085710857
exports.Surface = Surface;
1085810858
exports.Text = Text;
10859-
exports.version = "19.0.0-www-classic-a4964987-20241211";
10859+
exports.version = "19.1.0-www-classic-56ae4b8d-20241212";

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10543,10 +10543,10 @@ var slice = Array.prototype.slice,
1054310543
})(React.Component);
1054410544
var internals$jscomp$inline_1488 = {
1054510545
bundleType: 0,
10546-
version: "19.0.0-www-modern-a4964987-20241211",
10546+
version: "19.1.0-www-modern-56ae4b8d-20241212",
1054710547
rendererPackageName: "react-art",
1054810548
currentDispatcherRef: ReactSharedInternals,
10549-
reconcilerVersion: "19.0.0-www-modern-a4964987-20241211"
10549+
reconcilerVersion: "19.1.0-www-modern-56ae4b8d-20241212"
1055010550
};
1055110551
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1055210552
var hook$jscomp$inline_1489 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -10572,4 +10572,4 @@ exports.RadialGradient = RadialGradient;
1057210572
exports.Shape = TYPES.SHAPE;
1057310573
exports.Surface = Surface;
1057410574
exports.Text = Text;
10575-
exports.version = "19.0.0-www-modern-a4964987-20241211";
10575+
exports.version = "19.1.0-www-modern-56ae4b8d-20241212";

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

Lines changed: 82 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -1193,6 +1193,46 @@ __DEV__ &&
11931193
rootEntangledLanes &= ~lane;
11941194
}
11951195
}
1196+
function getBumpedLaneForHydrationByLane(lane) {
1197+
switch (lane) {
1198+
case 2:
1199+
lane = 1;
1200+
break;
1201+
case 8:
1202+
lane = 4;
1203+
break;
1204+
case 32:
1205+
lane = 16;
1206+
break;
1207+
case 128:
1208+
case 256:
1209+
case 512:
1210+
case 1024:
1211+
case 2048:
1212+
case 4096:
1213+
case 8192:
1214+
case 16384:
1215+
case 32768:
1216+
case 65536:
1217+
case 131072:
1218+
case 262144:
1219+
case 524288:
1220+
case 1048576:
1221+
case 2097152:
1222+
case 4194304:
1223+
case 8388608:
1224+
case 16777216:
1225+
case 33554432:
1226+
lane = 64;
1227+
break;
1228+
case 268435456:
1229+
lane = 134217728;
1230+
break;
1231+
default:
1232+
lane = 0;
1233+
}
1234+
return lane;
1235+
}
11961236
function addFiberToLanesMap(root, fiber, lanes) {
11971237
if (isDevToolsPresent)
11981238
for (root = root.pendingUpdatersLaneMap; 0 < lanes; ) {
@@ -9656,73 +9696,38 @@ __DEV__ &&
96569696
didReceiveUpdate || JSCompiler_object_inline_digest_2503)
96579697
) {
96589698
JSCompiler_object_inline_digest_2503 = workInProgressRoot;
9659-
if (null !== JSCompiler_object_inline_digest_2503) {
9660-
JSCompiler_object_inline_stack_2504 = renderLanes & -renderLanes;
9661-
if (0 !== (JSCompiler_object_inline_stack_2504 & 42))
9662-
JSCompiler_object_inline_stack_2504 = 1;
9663-
else
9664-
switch (JSCompiler_object_inline_stack_2504) {
9665-
case 2:
9666-
JSCompiler_object_inline_stack_2504 = 1;
9667-
break;
9668-
case 8:
9669-
JSCompiler_object_inline_stack_2504 = 4;
9670-
break;
9671-
case 32:
9672-
JSCompiler_object_inline_stack_2504 = 16;
9673-
break;
9674-
case 128:
9675-
case 256:
9676-
case 512:
9677-
case 1024:
9678-
case 2048:
9679-
case 4096:
9680-
case 8192:
9681-
case 16384:
9682-
case 32768:
9683-
case 65536:
9684-
case 131072:
9685-
case 262144:
9686-
case 524288:
9687-
case 1048576:
9688-
case 2097152:
9689-
case 4194304:
9690-
case 8388608:
9691-
case 16777216:
9692-
case 33554432:
9693-
JSCompiler_object_inline_stack_2504 = 64;
9694-
break;
9695-
case 268435456:
9696-
JSCompiler_object_inline_stack_2504 = 134217728;
9697-
break;
9698-
default:
9699-
JSCompiler_object_inline_stack_2504 = 0;
9700-
}
9701-
JSCompiler_object_inline_stack_2504 =
9699+
if (
9700+
null !== JSCompiler_object_inline_digest_2503 &&
9701+
((JSCompiler_object_inline_stack_2504 = renderLanes & -renderLanes),
9702+
(JSCompiler_object_inline_stack_2504 =
9703+
0 !== (JSCompiler_object_inline_stack_2504 & 42)
9704+
? 1
9705+
: getBumpedLaneForHydrationByLane(
9706+
JSCompiler_object_inline_stack_2504
9707+
)),
9708+
(JSCompiler_object_inline_stack_2504 =
97029709
0 !==
97039710
(JSCompiler_object_inline_stack_2504 &
97049711
(JSCompiler_object_inline_digest_2503.suspendedLanes |
97059712
renderLanes))
97069713
? 0
9707-
: JSCompiler_object_inline_stack_2504;
9708-
if (
9709-
0 !== JSCompiler_object_inline_stack_2504 &&
9710-
JSCompiler_object_inline_stack_2504 !== prevState.retryLane
9711-
)
9712-
throw (
9713-
((prevState.retryLane = JSCompiler_object_inline_stack_2504),
9714-
enqueueConcurrentRenderForLane(
9715-
current,
9716-
JSCompiler_object_inline_stack_2504
9717-
),
9718-
scheduleUpdateOnFiber(
9719-
JSCompiler_object_inline_digest_2503,
9720-
current,
9721-
JSCompiler_object_inline_stack_2504
9722-
),
9723-
SelectiveHydrationException)
9724-
);
9725-
}
9714+
: JSCompiler_object_inline_stack_2504),
9715+
0 !== JSCompiler_object_inline_stack_2504 &&
9716+
JSCompiler_object_inline_stack_2504 !== prevState.retryLane)
9717+
)
9718+
throw (
9719+
((prevState.retryLane = JSCompiler_object_inline_stack_2504),
9720+
enqueueConcurrentRenderForLane(
9721+
current,
9722+
JSCompiler_object_inline_stack_2504
9723+
),
9724+
scheduleUpdateOnFiber(
9725+
JSCompiler_object_inline_digest_2503,
9726+
current,
9727+
JSCompiler_object_inline_stack_2504
9728+
),
9729+
SelectiveHydrationException)
9730+
);
97269731
JSCompiler_object_inline_message_2502.data ===
97279732
SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
97289733
workInProgress = retrySuspenseComponentWithoutHydrating(
@@ -23227,8 +23232,12 @@ __DEV__ &&
2322723232
queuedTarget.blockedOn = targetInst;
2322823233
runWithPriority(queuedTarget.priority, function () {
2322923234
if (13 === nearestMounted.tag) {
23230-
var lane = requestUpdateLane(nearestMounted),
23231-
root = enqueueConcurrentRenderForLane(nearestMounted, lane);
23235+
var lane = requestUpdateLane(nearestMounted);
23236+
lane = getBumpedLaneForHydrationByLane(lane);
23237+
var root = enqueueConcurrentRenderForLane(
23238+
nearestMounted,
23239+
lane
23240+
);
2323223241
null !== root &&
2323323242
scheduleUpdateOnFiber(root, nearestMounted, lane);
2323423243
markRetryLaneIfNotHydrated(nearestMounted, lane);
@@ -27711,11 +27720,11 @@ __DEV__ &&
2771127720
return_targetInst = null;
2771227721
(function () {
2771327722
var isomorphicReactPackageVersion = React.version;
27714-
if ("19.0.0-www-classic-a4964987-20241211" !== isomorphicReactPackageVersion)
27723+
if ("19.1.0-www-classic-56ae4b8d-20241212" !== isomorphicReactPackageVersion)
2771527724
throw Error(
2771627725
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
2771727726
(isomorphicReactPackageVersion +
27718-
"\n - react-dom: 19.0.0-www-classic-a4964987-20241211\nLearn more: https://react.dev/warnings/version-mismatch")
27727+
"\n - react-dom: 19.1.0-www-classic-56ae4b8d-20241212\nLearn more: https://react.dev/warnings/version-mismatch")
2771927728
);
2772027729
})();
2772127730
("function" === typeof Map &&
@@ -27758,10 +27767,10 @@ __DEV__ &&
2775827767
!(function () {
2775927768
var internals = {
2776027769
bundleType: 1,
27761-
version: "19.0.0-www-classic-a4964987-20241211",
27770+
version: "19.1.0-www-classic-56ae4b8d-20241212",
2776227771
rendererPackageName: "react-dom",
2776327772
currentDispatcherRef: ReactSharedInternals,
27764-
reconcilerVersion: "19.0.0-www-classic-a4964987-20241211"
27773+
reconcilerVersion: "19.1.0-www-classic-56ae4b8d-20241212"
2776527774
};
2776627775
internals.overrideHookState = overrideHookState;
2776727776
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -28035,11 +28044,13 @@ __DEV__ &&
2803528044
initialChildren.context = getContextForSubtree(null);
2803628045
options = initialChildren.current;
2803728046
isStrictMode = requestUpdateLane(options);
28047+
isStrictMode = getBumpedLaneForHydrationByLane(isStrictMode);
2803828048
identifierPrefix = createUpdate(isStrictMode);
2803928049
identifierPrefix.callback = null;
2804028050
enqueueUpdate(options, identifierPrefix, isStrictMode);
28041-
initialChildren.current.lanes = isStrictMode;
28042-
markRootUpdated(initialChildren, isStrictMode);
28051+
options = isStrictMode;
28052+
initialChildren.current.lanes = options;
28053+
markRootUpdated(initialChildren, options);
2804328054
ensureRootIsScheduled(initialChildren);
2804428055
container[internalContainerInstanceKey] = initialChildren.current;
2804528056
listenToAllSupportedEvents(container);
@@ -28366,7 +28377,7 @@ __DEV__ &&
2836628377
exports.useFormStatus = function () {
2836728378
return resolveDispatcher().useHostTransitionStatus();
2836828379
};
28369-
exports.version = "19.0.0-www-classic-a4964987-20241211";
28380+
exports.version = "19.1.0-www-classic-56ae4b8d-20241212";
2837028381
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
2837128382
"function" ===
2837228383
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

0 commit comments

Comments
 (0)