mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
[Re-land] Make prerendering always non-blocking: Add missing feature flag checks (#31238)
This is a partial re-land of
https://github.com/facebook/react/pull/31056. We saw breakages surface
after the original land and had to revert. Now that they've been fixed,
let's try this again. This time we'll split up the commits to give us
more control of testing and rollout internally.
Original PR: https://github.com/facebook/react/pull/31056
Original Commit:
https://github.com/facebook/react/pull/31056/commits/2a9fb445d98b60a97f3642cec2ff22469727e0c7
Revert PR: https://github.com/facebook/react/pull/31080
Commit description:
```
Neglected to wrap some places in the enableSiblingPrerendering flag.
```
Co-authored-by: Andrew Clark <git@andrewclark.io>
DiffTrain build for [13411e4589](https://github.com/facebook/react/commit/13411e4589f3d999727c5322781e2dd7bef3b256)
This commit is contained in:
@@ -1 +1 @@
|
||||
19.0.0-native-fb-de43d560-20241009
|
||||
19.0.0-native-fb-13411e45-20241014
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<550c10c16de0559e53cbd039c2e4f6d9>>
|
||||
* @generated SignedSource<<1d8dd9e8ce69a34a08cc90461cf3ab97>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -420,5 +420,5 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-native-fb-de43d560-20241009";
|
||||
exports.version = "19.0.0-native-fb-13411e45-20241014";
|
||||
})();
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<4ba3a2044ec1d4234e283594a2af1550>>
|
||||
* @generated SignedSource<<2dd40d3277960a40fd61ad48c151ffa8>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-native-fb-de43d560-20241009";
|
||||
exports.version = "19.0.0-native-fb-13411e45-20241014";
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<4ba3a2044ec1d4234e283594a2af1550>>
|
||||
* @generated SignedSource<<2dd40d3277960a40fd61ad48c151ffa8>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-native-fb-de43d560-20241009";
|
||||
exports.version = "19.0.0-native-fb-13411e45-20241014";
|
||||
|
||||
Vendored
+17
-11
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<8180b974f916c25525536140b7314c8a>>
|
||||
* @generated SignedSource<<d81dd6637407a77fecc43d347e5de1c5>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -1046,7 +1046,8 @@ __DEV__ &&
|
||||
: ((pingedLanes &= nonIdlePendingLanes),
|
||||
0 !== pingedLanes
|
||||
? (nextLanes = getHighestPriorityLanes(pingedLanes))
|
||||
: root ||
|
||||
: enableSiblingPrerendering &&
|
||||
!root &&
|
||||
((warmLanes = nonIdlePendingLanes & ~warmLanes),
|
||||
0 !== warmLanes &&
|
||||
(nextLanes = getHighestPriorityLanes(warmLanes)))))
|
||||
@@ -1055,7 +1056,8 @@ __DEV__ &&
|
||||
? (nextLanes = getHighestPriorityLanes(nonIdlePendingLanes))
|
||||
: 0 !== pingedLanes
|
||||
? (nextLanes = getHighestPriorityLanes(pingedLanes))
|
||||
: root ||
|
||||
: enableSiblingPrerendering &&
|
||||
!root &&
|
||||
((warmLanes = pendingLanes & ~warmLanes),
|
||||
0 !== warmLanes &&
|
||||
(nextLanes = getHighestPriorityLanes(warmLanes))));
|
||||
@@ -1182,7 +1184,8 @@ __DEV__ &&
|
||||
remainingLanes &= ~lane;
|
||||
}
|
||||
0 !== spawnedLane && markSpawnedDeferredLane(root, spawnedLane, 0);
|
||||
0 !== suspendedRetryLanes &&
|
||||
enableSiblingPrerendering &&
|
||||
0 !== suspendedRetryLanes &&
|
||||
0 === updatedLanes &&
|
||||
(root.suspendedLanes |=
|
||||
suspendedRetryLanes & ~(previouslyPendingLanes & ~finishedLanes));
|
||||
@@ -14095,7 +14098,8 @@ __DEV__ &&
|
||||
((retryQueue =
|
||||
22 !== workInProgress.tag ? claimNextRetryLane() : 536870912),
|
||||
(workInProgress.lanes |= retryQueue),
|
||||
(workInProgressSuspendedRetryLanes |= retryQueue));
|
||||
enableSiblingPrerendering &&
|
||||
(workInProgressSuspendedRetryLanes |= retryQueue));
|
||||
}
|
||||
function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
|
||||
if (!isHydrating)
|
||||
@@ -15277,7 +15281,9 @@ __DEV__ &&
|
||||
suspendedLanes &= ~workInProgressRootInterleavedUpdatedLanes;
|
||||
root.suspendedLanes |= suspendedLanes;
|
||||
root.pingedLanes &= ~suspendedLanes;
|
||||
didSkipSuspendedSiblings || (root.warmLanes |= suspendedLanes);
|
||||
enableSiblingPrerendering &&
|
||||
!didSkipSuspendedSiblings &&
|
||||
(root.warmLanes |= suspendedLanes);
|
||||
didSkipSuspendedSiblings = root.expirationTimes;
|
||||
for (var lanes = suspendedLanes; 0 < lanes; ) {
|
||||
var index = 31 - clz32(lanes),
|
||||
@@ -25304,11 +25310,11 @@ __DEV__ &&
|
||||
};
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.0.0-native-fb-de43d560-20241009" !== isomorphicReactPackageVersion)
|
||||
if ("19.0.0-native-fb-13411e45-20241014" !== isomorphicReactPackageVersion)
|
||||
throw Error(
|
||||
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
||||
(isomorphicReactPackageVersion +
|
||||
"\n - react-dom: 19.0.0-native-fb-de43d560-20241009\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.0.0-native-fb-13411e45-20241014\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -25345,11 +25351,11 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.0.0-native-fb-de43d560-20241009",
|
||||
version: "19.0.0-native-fb-13411e45-20241014",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-native-fb-de43d560-20241009"
|
||||
reconcilerVersion: "19.0.0-native-fb-13411e45-20241014"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -25493,5 +25499,5 @@ __DEV__ &&
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.0.0-native-fb-de43d560-20241009";
|
||||
exports.version = "19.0.0-native-fb-13411e45-20241014";
|
||||
})();
|
||||
|
||||
compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-prod.js
Vendored
+17
-11
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<86bcc49ed3494f6591ac576b591609e0>>
|
||||
* @generated SignedSource<<3cc21b65f550413946b26a12d53d1166>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -674,7 +674,8 @@ function getNextLanes(root, wipLanes) {
|
||||
: ((pingedLanes &= nonIdlePendingLanes),
|
||||
0 !== pingedLanes
|
||||
? (nextLanes = getHighestPriorityLanes(pingedLanes))
|
||||
: root ||
|
||||
: enableSiblingPrerendering &&
|
||||
!root &&
|
||||
((warmLanes = nonIdlePendingLanes & ~warmLanes),
|
||||
0 !== warmLanes &&
|
||||
(nextLanes = getHighestPriorityLanes(warmLanes)))))
|
||||
@@ -683,7 +684,8 @@ function getNextLanes(root, wipLanes) {
|
||||
? (nextLanes = getHighestPriorityLanes(nonIdlePendingLanes))
|
||||
: 0 !== pingedLanes
|
||||
? (nextLanes = getHighestPriorityLanes(pingedLanes))
|
||||
: root ||
|
||||
: enableSiblingPrerendering &&
|
||||
!root &&
|
||||
((warmLanes = pendingLanes & ~warmLanes),
|
||||
0 !== warmLanes &&
|
||||
(nextLanes = getHighestPriorityLanes(warmLanes))));
|
||||
@@ -803,7 +805,8 @@ function markRootFinished(
|
||||
remainingLanes &= ~lane;
|
||||
}
|
||||
0 !== spawnedLane && markSpawnedDeferredLane(root, spawnedLane, 0);
|
||||
0 !== suspendedRetryLanes &&
|
||||
enableSiblingPrerendering &&
|
||||
0 !== suspendedRetryLanes &&
|
||||
0 === updatedLanes &&
|
||||
(root.suspendedLanes |=
|
||||
suspendedRetryLanes & ~(previouslyPendingLanes & ~finishedLanes));
|
||||
@@ -10081,7 +10084,8 @@ function scheduleRetryEffect(workInProgress, retryQueue) {
|
||||
((retryQueue =
|
||||
22 !== workInProgress.tag ? claimNextRetryLane() : 536870912),
|
||||
(workInProgress.lanes |= retryQueue),
|
||||
(workInProgressSuspendedRetryLanes |= retryQueue));
|
||||
enableSiblingPrerendering &&
|
||||
(workInProgressSuspendedRetryLanes |= retryQueue));
|
||||
}
|
||||
function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
|
||||
if (!isHydrating)
|
||||
@@ -11051,7 +11055,9 @@ function markRootSuspended(
|
||||
suspendedLanes &= ~workInProgressRootInterleavedUpdatedLanes;
|
||||
root.suspendedLanes |= suspendedLanes;
|
||||
root.pingedLanes &= ~suspendedLanes;
|
||||
didSkipSuspendedSiblings || (root.warmLanes |= suspendedLanes);
|
||||
enableSiblingPrerendering &&
|
||||
!didSkipSuspendedSiblings &&
|
||||
(root.warmLanes |= suspendedLanes);
|
||||
didSkipSuspendedSiblings = root.expirationTimes;
|
||||
for (var lanes = suspendedLanes; 0 < lanes; ) {
|
||||
var index$6 = 31 - clz32(lanes),
|
||||
@@ -15598,14 +15604,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1691 = React.version;
|
||||
if (
|
||||
"19.0.0-native-fb-de43d560-20241009" !==
|
||||
"19.0.0-native-fb-13411e45-20241014" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1691
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1691,
|
||||
"19.0.0-native-fb-de43d560-20241009"
|
||||
"19.0.0-native-fb-13411e45-20241014"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -15627,11 +15633,11 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2144 = {
|
||||
bundleType: 0,
|
||||
version: "19.0.0-native-fb-de43d560-20241009",
|
||||
version: "19.0.0-native-fb-13411e45-20241014",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-native-fb-de43d560-20241009"
|
||||
reconcilerVersion: "19.0.0-native-fb-13411e45-20241014"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2145 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -15735,4 +15741,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.0.0-native-fb-de43d560-20241009";
|
||||
exports.version = "19.0.0-native-fb-13411e45-20241014";
|
||||
|
||||
+17
-11
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<4824b23c5f4ff96fb4802c9f8adf2471>>
|
||||
* @generated SignedSource<<1f9731688cb275b818de4cd35d1795ac>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -739,7 +739,8 @@ function getNextLanes(root, wipLanes) {
|
||||
: ((pingedLanes &= nonIdlePendingLanes),
|
||||
0 !== pingedLanes
|
||||
? (nextLanes = getHighestPriorityLanes(pingedLanes))
|
||||
: root ||
|
||||
: enableSiblingPrerendering &&
|
||||
!root &&
|
||||
((warmLanes = nonIdlePendingLanes & ~warmLanes),
|
||||
0 !== warmLanes &&
|
||||
(nextLanes = getHighestPriorityLanes(warmLanes)))))
|
||||
@@ -748,7 +749,8 @@ function getNextLanes(root, wipLanes) {
|
||||
? (nextLanes = getHighestPriorityLanes(nonIdlePendingLanes))
|
||||
: 0 !== pingedLanes
|
||||
? (nextLanes = getHighestPriorityLanes(pingedLanes))
|
||||
: root ||
|
||||
: enableSiblingPrerendering &&
|
||||
!root &&
|
||||
((warmLanes = pendingLanes & ~warmLanes),
|
||||
0 !== warmLanes &&
|
||||
(nextLanes = getHighestPriorityLanes(warmLanes))));
|
||||
@@ -868,7 +870,8 @@ function markRootFinished(
|
||||
remainingLanes &= ~lane;
|
||||
}
|
||||
0 !== spawnedLane && markSpawnedDeferredLane(root, spawnedLane, 0);
|
||||
0 !== suspendedRetryLanes &&
|
||||
enableSiblingPrerendering &&
|
||||
0 !== suspendedRetryLanes &&
|
||||
0 === updatedLanes &&
|
||||
(root.suspendedLanes |=
|
||||
suspendedRetryLanes & ~(previouslyPendingLanes & ~finishedLanes));
|
||||
@@ -10552,7 +10555,8 @@ function scheduleRetryEffect(workInProgress, retryQueue) {
|
||||
((retryQueue =
|
||||
22 !== workInProgress.tag ? claimNextRetryLane() : 536870912),
|
||||
(workInProgress.lanes |= retryQueue),
|
||||
(workInProgressSuspendedRetryLanes |= retryQueue));
|
||||
enableSiblingPrerendering &&
|
||||
(workInProgressSuspendedRetryLanes |= retryQueue));
|
||||
}
|
||||
function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
|
||||
if (!isHydrating)
|
||||
@@ -11589,7 +11593,9 @@ function markRootSuspended(
|
||||
suspendedLanes &= ~workInProgressRootInterleavedUpdatedLanes;
|
||||
root.suspendedLanes |= suspendedLanes;
|
||||
root.pingedLanes &= ~suspendedLanes;
|
||||
didSkipSuspendedSiblings || (root.warmLanes |= suspendedLanes);
|
||||
enableSiblingPrerendering &&
|
||||
!didSkipSuspendedSiblings &&
|
||||
(root.warmLanes |= suspendedLanes);
|
||||
didSkipSuspendedSiblings = root.expirationTimes;
|
||||
for (var lanes = suspendedLanes; 0 < lanes; ) {
|
||||
var index$6 = 31 - clz32(lanes),
|
||||
@@ -16255,14 +16261,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1781 = React.version;
|
||||
if (
|
||||
"19.0.0-native-fb-de43d560-20241009" !==
|
||||
"19.0.0-native-fb-13411e45-20241014" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1781
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1781,
|
||||
"19.0.0-native-fb-de43d560-20241009"
|
||||
"19.0.0-native-fb-13411e45-20241014"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -16284,11 +16290,11 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_1788 = {
|
||||
bundleType: 0,
|
||||
version: "19.0.0-native-fb-de43d560-20241009",
|
||||
version: "19.0.0-native-fb-13411e45-20241014",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-native-fb-de43d560-20241009",
|
||||
reconcilerVersion: "19.0.0-native-fb-13411e45-20241014",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$286 = 0;
|
||||
@@ -16407,4 +16413,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.0.0-native-fb-de43d560-20241009";
|
||||
exports.version = "19.0.0-native-fb-13411e45-20241014";
|
||||
|
||||
+17
-11
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<8298cf0750659483437f89081a56a506>>
|
||||
* @generated SignedSource<<cdff2c0099b953a388b60415c5d1fb07>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -1054,7 +1054,8 @@ __DEV__ &&
|
||||
: ((pingedLanes &= nonIdlePendingLanes),
|
||||
0 !== pingedLanes
|
||||
? (nextLanes = getHighestPriorityLanes(pingedLanes))
|
||||
: root ||
|
||||
: enableSiblingPrerendering &&
|
||||
!root &&
|
||||
((warmLanes = nonIdlePendingLanes & ~warmLanes),
|
||||
0 !== warmLanes &&
|
||||
(nextLanes = getHighestPriorityLanes(warmLanes)))))
|
||||
@@ -1063,7 +1064,8 @@ __DEV__ &&
|
||||
? (nextLanes = getHighestPriorityLanes(nonIdlePendingLanes))
|
||||
: 0 !== pingedLanes
|
||||
? (nextLanes = getHighestPriorityLanes(pingedLanes))
|
||||
: root ||
|
||||
: enableSiblingPrerendering &&
|
||||
!root &&
|
||||
((warmLanes = pendingLanes & ~warmLanes),
|
||||
0 !== warmLanes &&
|
||||
(nextLanes = getHighestPriorityLanes(warmLanes))));
|
||||
@@ -1190,7 +1192,8 @@ __DEV__ &&
|
||||
remainingLanes &= ~lane;
|
||||
}
|
||||
0 !== spawnedLane && markSpawnedDeferredLane(root, spawnedLane, 0);
|
||||
0 !== suspendedRetryLanes &&
|
||||
enableSiblingPrerendering &&
|
||||
0 !== suspendedRetryLanes &&
|
||||
0 === updatedLanes &&
|
||||
(root.suspendedLanes |=
|
||||
suspendedRetryLanes & ~(previouslyPendingLanes & ~finishedLanes));
|
||||
@@ -14103,7 +14106,8 @@ __DEV__ &&
|
||||
((retryQueue =
|
||||
22 !== workInProgress.tag ? claimNextRetryLane() : 536870912),
|
||||
(workInProgress.lanes |= retryQueue),
|
||||
(workInProgressSuspendedRetryLanes |= retryQueue));
|
||||
enableSiblingPrerendering &&
|
||||
(workInProgressSuspendedRetryLanes |= retryQueue));
|
||||
}
|
||||
function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
|
||||
if (!isHydrating)
|
||||
@@ -15289,7 +15293,9 @@ __DEV__ &&
|
||||
suspendedLanes &= ~workInProgressRootInterleavedUpdatedLanes;
|
||||
root.suspendedLanes |= suspendedLanes;
|
||||
root.pingedLanes &= ~suspendedLanes;
|
||||
didSkipSuspendedSiblings || (root.warmLanes |= suspendedLanes);
|
||||
enableSiblingPrerendering &&
|
||||
!didSkipSuspendedSiblings &&
|
||||
(root.warmLanes |= suspendedLanes);
|
||||
didSkipSuspendedSiblings = root.expirationTimes;
|
||||
for (var lanes = suspendedLanes; 0 < lanes; ) {
|
||||
var index = 31 - clz32(lanes),
|
||||
@@ -25365,11 +25371,11 @@ __DEV__ &&
|
||||
};
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.0.0-native-fb-de43d560-20241009" !== isomorphicReactPackageVersion)
|
||||
if ("19.0.0-native-fb-13411e45-20241014" !== isomorphicReactPackageVersion)
|
||||
throw Error(
|
||||
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
||||
(isomorphicReactPackageVersion +
|
||||
"\n - react-dom: 19.0.0-native-fb-de43d560-20241009\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.0.0-native-fb-13411e45-20241014\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -25406,11 +25412,11 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.0.0-native-fb-de43d560-20241009",
|
||||
version: "19.0.0-native-fb-13411e45-20241014",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-native-fb-de43d560-20241009"
|
||||
reconcilerVersion: "19.0.0-native-fb-13411e45-20241014"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -25870,7 +25876,7 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-native-fb-de43d560-20241009";
|
||||
exports.version = "19.0.0-native-fb-13411e45-20241014";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+17
-11
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<4a4e091eba4f9ae2d3fa9149ec89ca19>>
|
||||
* @generated SignedSource<<e9bfc656fd001a88467b475cd5cc859c>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -674,7 +674,8 @@ function getNextLanes(root, wipLanes) {
|
||||
: ((pingedLanes &= nonIdlePendingLanes),
|
||||
0 !== pingedLanes
|
||||
? (nextLanes = getHighestPriorityLanes(pingedLanes))
|
||||
: root ||
|
||||
: enableSiblingPrerendering &&
|
||||
!root &&
|
||||
((warmLanes = nonIdlePendingLanes & ~warmLanes),
|
||||
0 !== warmLanes &&
|
||||
(nextLanes = getHighestPriorityLanes(warmLanes)))))
|
||||
@@ -683,7 +684,8 @@ function getNextLanes(root, wipLanes) {
|
||||
? (nextLanes = getHighestPriorityLanes(nonIdlePendingLanes))
|
||||
: 0 !== pingedLanes
|
||||
? (nextLanes = getHighestPriorityLanes(pingedLanes))
|
||||
: root ||
|
||||
: enableSiblingPrerendering &&
|
||||
!root &&
|
||||
((warmLanes = pendingLanes & ~warmLanes),
|
||||
0 !== warmLanes &&
|
||||
(nextLanes = getHighestPriorityLanes(warmLanes))));
|
||||
@@ -803,7 +805,8 @@ function markRootFinished(
|
||||
remainingLanes &= ~lane;
|
||||
}
|
||||
0 !== spawnedLane && markSpawnedDeferredLane(root, spawnedLane, 0);
|
||||
0 !== suspendedRetryLanes &&
|
||||
enableSiblingPrerendering &&
|
||||
0 !== suspendedRetryLanes &&
|
||||
0 === updatedLanes &&
|
||||
(root.suspendedLanes |=
|
||||
suspendedRetryLanes & ~(previouslyPendingLanes & ~finishedLanes));
|
||||
@@ -10081,7 +10084,8 @@ function scheduleRetryEffect(workInProgress, retryQueue) {
|
||||
((retryQueue =
|
||||
22 !== workInProgress.tag ? claimNextRetryLane() : 536870912),
|
||||
(workInProgress.lanes |= retryQueue),
|
||||
(workInProgressSuspendedRetryLanes |= retryQueue));
|
||||
enableSiblingPrerendering &&
|
||||
(workInProgressSuspendedRetryLanes |= retryQueue));
|
||||
}
|
||||
function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
|
||||
if (!isHydrating)
|
||||
@@ -11051,7 +11055,9 @@ function markRootSuspended(
|
||||
suspendedLanes &= ~workInProgressRootInterleavedUpdatedLanes;
|
||||
root.suspendedLanes |= suspendedLanes;
|
||||
root.pingedLanes &= ~suspendedLanes;
|
||||
didSkipSuspendedSiblings || (root.warmLanes |= suspendedLanes);
|
||||
enableSiblingPrerendering &&
|
||||
!didSkipSuspendedSiblings &&
|
||||
(root.warmLanes |= suspendedLanes);
|
||||
didSkipSuspendedSiblings = root.expirationTimes;
|
||||
for (var lanes = suspendedLanes; 0 < lanes; ) {
|
||||
var index$6 = 31 - clz32(lanes),
|
||||
@@ -15609,14 +15615,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1692 = React.version;
|
||||
if (
|
||||
"19.0.0-native-fb-de43d560-20241009" !==
|
||||
"19.0.0-native-fb-13411e45-20241014" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1692
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1692,
|
||||
"19.0.0-native-fb-de43d560-20241009"
|
||||
"19.0.0-native-fb-13411e45-20241014"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -15638,11 +15644,11 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2147 = {
|
||||
bundleType: 0,
|
||||
version: "19.0.0-native-fb-de43d560-20241009",
|
||||
version: "19.0.0-native-fb-13411e45-20241014",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-native-fb-de43d560-20241009"
|
||||
reconcilerVersion: "19.0.0-native-fb-13411e45-20241014"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2148 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -15900,4 +15906,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-native-fb-de43d560-20241009";
|
||||
exports.version = "19.0.0-native-fb-13411e45-20241014";
|
||||
|
||||
+17
-11
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<c0bb57cc30f7279c8660e4410e4ff499>>
|
||||
* @generated SignedSource<<0f3474ce614b50fb581a49a00f2a7b49>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -743,7 +743,8 @@ function getNextLanes(root, wipLanes) {
|
||||
: ((pingedLanes &= nonIdlePendingLanes),
|
||||
0 !== pingedLanes
|
||||
? (nextLanes = getHighestPriorityLanes(pingedLanes))
|
||||
: root ||
|
||||
: enableSiblingPrerendering &&
|
||||
!root &&
|
||||
((warmLanes = nonIdlePendingLanes & ~warmLanes),
|
||||
0 !== warmLanes &&
|
||||
(nextLanes = getHighestPriorityLanes(warmLanes)))))
|
||||
@@ -752,7 +753,8 @@ function getNextLanes(root, wipLanes) {
|
||||
? (nextLanes = getHighestPriorityLanes(nonIdlePendingLanes))
|
||||
: 0 !== pingedLanes
|
||||
? (nextLanes = getHighestPriorityLanes(pingedLanes))
|
||||
: root ||
|
||||
: enableSiblingPrerendering &&
|
||||
!root &&
|
||||
((warmLanes = pendingLanes & ~warmLanes),
|
||||
0 !== warmLanes &&
|
||||
(nextLanes = getHighestPriorityLanes(warmLanes))));
|
||||
@@ -872,7 +874,8 @@ function markRootFinished(
|
||||
remainingLanes &= ~lane;
|
||||
}
|
||||
0 !== spawnedLane && markSpawnedDeferredLane(root, spawnedLane, 0);
|
||||
0 !== suspendedRetryLanes &&
|
||||
enableSiblingPrerendering &&
|
||||
0 !== suspendedRetryLanes &&
|
||||
0 === updatedLanes &&
|
||||
(root.suspendedLanes |=
|
||||
suspendedRetryLanes & ~(previouslyPendingLanes & ~finishedLanes));
|
||||
@@ -10556,7 +10559,8 @@ function scheduleRetryEffect(workInProgress, retryQueue) {
|
||||
((retryQueue =
|
||||
22 !== workInProgress.tag ? claimNextRetryLane() : 536870912),
|
||||
(workInProgress.lanes |= retryQueue),
|
||||
(workInProgressSuspendedRetryLanes |= retryQueue));
|
||||
enableSiblingPrerendering &&
|
||||
(workInProgressSuspendedRetryLanes |= retryQueue));
|
||||
}
|
||||
function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
|
||||
if (!isHydrating)
|
||||
@@ -11593,7 +11597,9 @@ function markRootSuspended(
|
||||
suspendedLanes &= ~workInProgressRootInterleavedUpdatedLanes;
|
||||
root.suspendedLanes |= suspendedLanes;
|
||||
root.pingedLanes &= ~suspendedLanes;
|
||||
didSkipSuspendedSiblings || (root.warmLanes |= suspendedLanes);
|
||||
enableSiblingPrerendering &&
|
||||
!didSkipSuspendedSiblings &&
|
||||
(root.warmLanes |= suspendedLanes);
|
||||
didSkipSuspendedSiblings = root.expirationTimes;
|
||||
for (var lanes = suspendedLanes; 0 < lanes; ) {
|
||||
var index$6 = 31 - clz32(lanes),
|
||||
@@ -16270,14 +16276,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1782 = React.version;
|
||||
if (
|
||||
"19.0.0-native-fb-de43d560-20241009" !==
|
||||
"19.0.0-native-fb-13411e45-20241014" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1782
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1782,
|
||||
"19.0.0-native-fb-de43d560-20241009"
|
||||
"19.0.0-native-fb-13411e45-20241014"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -16299,11 +16305,11 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_1789 = {
|
||||
bundleType: 0,
|
||||
version: "19.0.0-native-fb-de43d560-20241009",
|
||||
version: "19.0.0-native-fb-13411e45-20241014",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-native-fb-de43d560-20241009",
|
||||
reconcilerVersion: "19.0.0-native-fb-13411e45-20241014",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$286 = 0;
|
||||
@@ -16576,7 +16582,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-native-fb-de43d560-20241009";
|
||||
exports.version = "19.0.0-native-fb-13411e45-20241014";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+67
-108
@@ -7,13 +7,13 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<5f44eb7450494976dbece99183d4ea18>>
|
||||
* @generated SignedSource<<15615c3d20476ac50ae460f32f30be1b>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
__DEV__ &&
|
||||
(function () {
|
||||
function JSCompiler_object_inline_createNodeMock_1094() {
|
||||
function JSCompiler_object_inline_createNodeMock_1092() {
|
||||
return null;
|
||||
}
|
||||
function findHook(fiber, id) {
|
||||
@@ -842,40 +842,28 @@ __DEV__ &&
|
||||
var pendingLanes = root.pendingLanes;
|
||||
if (0 === pendingLanes) return 0;
|
||||
var nextLanes = 0,
|
||||
suspendedLanes = root.suspendedLanes,
|
||||
pingedLanes = root.pingedLanes,
|
||||
warmLanes = root.warmLanes;
|
||||
root = 0 !== root.finishedLanes;
|
||||
suspendedLanes = root.suspendedLanes;
|
||||
root = root.pingedLanes;
|
||||
var nonIdlePendingLanes = pendingLanes & 134217727;
|
||||
0 !== nonIdlePendingLanes
|
||||
? ((pendingLanes = nonIdlePendingLanes & ~suspendedLanes),
|
||||
0 !== pendingLanes
|
||||
? (nextLanes = getHighestPriorityLanes(pendingLanes))
|
||||
: ((pingedLanes &= nonIdlePendingLanes),
|
||||
0 !== pingedLanes
|
||||
? (nextLanes = getHighestPriorityLanes(pingedLanes))
|
||||
: root ||
|
||||
((warmLanes = nonIdlePendingLanes & ~warmLanes),
|
||||
0 !== warmLanes &&
|
||||
(nextLanes = getHighestPriorityLanes(warmLanes)))))
|
||||
: ((nonIdlePendingLanes = pendingLanes & ~suspendedLanes),
|
||||
0 !== nonIdlePendingLanes
|
||||
? (nextLanes = getHighestPriorityLanes(nonIdlePendingLanes))
|
||||
: 0 !== pingedLanes
|
||||
? (nextLanes = getHighestPriorityLanes(pingedLanes))
|
||||
: root ||
|
||||
((warmLanes = pendingLanes & ~warmLanes),
|
||||
0 !== warmLanes &&
|
||||
(nextLanes = getHighestPriorityLanes(warmLanes))));
|
||||
: ((root &= nonIdlePendingLanes),
|
||||
0 !== root && (nextLanes = getHighestPriorityLanes(root))))
|
||||
: ((pendingLanes &= ~suspendedLanes),
|
||||
0 !== pendingLanes
|
||||
? (nextLanes = getHighestPriorityLanes(pendingLanes))
|
||||
: 0 !== root && (nextLanes = getHighestPriorityLanes(root)));
|
||||
return 0 === nextLanes
|
||||
? 0
|
||||
: 0 !== wipLanes &&
|
||||
wipLanes !== nextLanes &&
|
||||
0 === (wipLanes & suspendedLanes) &&
|
||||
((suspendedLanes = nextLanes & -nextLanes),
|
||||
(warmLanes = wipLanes & -wipLanes),
|
||||
suspendedLanes >= warmLanes ||
|
||||
(32 === suspendedLanes && 0 !== (warmLanes & 4194176)))
|
||||
(root = wipLanes & -wipLanes),
|
||||
suspendedLanes >= root ||
|
||||
(32 === suspendedLanes && 0 !== (root & 4194176)))
|
||||
? wipLanes
|
||||
: nextLanes;
|
||||
}
|
||||
@@ -952,9 +940,7 @@ __DEV__ &&
|
||||
root,
|
||||
finishedLanes,
|
||||
remainingLanes,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
spawnedLane
|
||||
) {
|
||||
var previouslyPendingLanes = root.pendingLanes;
|
||||
root.pendingLanes = remainingLanes;
|
||||
@@ -965,17 +951,17 @@ __DEV__ &&
|
||||
root.entangledLanes &= remainingLanes;
|
||||
root.errorRecoveryDisabledLanes &= remainingLanes;
|
||||
root.shellSuspendCounter = 0;
|
||||
var entanglements = root.entanglements,
|
||||
expirationTimes = root.expirationTimes,
|
||||
finishedLanes = root.entanglements;
|
||||
var expirationTimes = root.expirationTimes,
|
||||
hiddenUpdates = root.hiddenUpdates;
|
||||
for (
|
||||
remainingLanes = previouslyPendingLanes & ~remainingLanes;
|
||||
0 < remainingLanes;
|
||||
|
||||
) {
|
||||
var index = 31 - clz32(remainingLanes),
|
||||
lane = 1 << index;
|
||||
entanglements[index] = 0;
|
||||
var index = 31 - clz32(remainingLanes);
|
||||
previouslyPendingLanes = 1 << index;
|
||||
finishedLanes[index] = 0;
|
||||
expirationTimes[index] = -1;
|
||||
var hiddenUpdatesForLane = hiddenUpdates[index];
|
||||
if (null !== hiddenUpdatesForLane)
|
||||
@@ -987,13 +973,9 @@ __DEV__ &&
|
||||
var update = hiddenUpdatesForLane[index];
|
||||
null !== update && (update.lane &= -536870913);
|
||||
}
|
||||
remainingLanes &= ~lane;
|
||||
remainingLanes &= ~previouslyPendingLanes;
|
||||
}
|
||||
0 !== spawnedLane && markSpawnedDeferredLane(root, spawnedLane, 0);
|
||||
0 !== suspendedRetryLanes &&
|
||||
0 === updatedLanes &&
|
||||
(root.suspendedLanes |=
|
||||
suspendedRetryLanes & ~(previouslyPendingLanes & ~finishedLanes));
|
||||
}
|
||||
function markSpawnedDeferredLane(root, spawnedLane, entangledLanes) {
|
||||
root.pendingLanes |= spawnedLane;
|
||||
@@ -8052,8 +8034,7 @@ __DEV__ &&
|
||||
workInProgress.flags & 16384 &&
|
||||
((retryQueue =
|
||||
22 !== workInProgress.tag ? claimNextRetryLane() : 536870912),
|
||||
(workInProgress.lanes |= retryQueue),
|
||||
(workInProgressSuspendedRetryLanes |= retryQueue));
|
||||
(workInProgress.lanes |= retryQueue));
|
||||
}
|
||||
function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
|
||||
switch (renderState.tailMode) {
|
||||
@@ -10783,8 +10764,7 @@ __DEV__ &&
|
||||
markRootSuspended(
|
||||
root,
|
||||
workInProgressRootRenderLanes,
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressDeferredLane
|
||||
);
|
||||
markRootUpdated$1(root, lane);
|
||||
if (
|
||||
@@ -10825,8 +10805,7 @@ __DEV__ &&
|
||||
markRootSuspended(
|
||||
root,
|
||||
workInProgressRootRenderLanes,
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressDeferredLane
|
||||
)),
|
||||
ensureRootIsScheduled(root),
|
||||
2 !== lane ||
|
||||
@@ -10847,12 +10826,7 @@ __DEV__ &&
|
||||
var renderWasConcurrent = forceSync;
|
||||
do {
|
||||
if (exitStatus === RootDidNotComplete)
|
||||
markRootSuspended(
|
||||
root,
|
||||
lanes,
|
||||
0,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
);
|
||||
markRootSuspended(root, lanes, 0);
|
||||
else {
|
||||
forceSync = root.current.alternate;
|
||||
if (
|
||||
@@ -10905,12 +10879,7 @@ __DEV__ &&
|
||||
}
|
||||
if (exitStatus === RootFatalErrored) {
|
||||
prepareFreshStack(root, 0);
|
||||
markRootSuspended(
|
||||
root,
|
||||
lanes,
|
||||
0,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
);
|
||||
markRootSuspended(root, lanes, 0);
|
||||
break;
|
||||
}
|
||||
a: {
|
||||
@@ -10924,8 +10893,7 @@ __DEV__ &&
|
||||
markRootSuspended(
|
||||
renderWasConcurrent,
|
||||
lanes,
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressDeferredLane
|
||||
);
|
||||
break a;
|
||||
}
|
||||
@@ -10987,8 +10955,7 @@ __DEV__ &&
|
||||
markRootSuspended(
|
||||
renderWasConcurrent,
|
||||
lanes,
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressDeferredLane
|
||||
);
|
||||
if (0 !== getNextLanes(renderWasConcurrent, 0)) break a;
|
||||
renderWasConcurrent.timeoutHandle = scheduleTimeout(
|
||||
@@ -11118,22 +11085,19 @@ __DEV__ &&
|
||||
}
|
||||
return !0;
|
||||
}
|
||||
function markRootSuspended(
|
||||
root,
|
||||
suspendedLanes,
|
||||
spawnedLane,
|
||||
didSkipSuspendedSiblings
|
||||
) {
|
||||
function markRootSuspended(root, suspendedLanes, spawnedLane) {
|
||||
suspendedLanes &= ~workInProgressRootPingedLanes;
|
||||
suspendedLanes &= ~workInProgressRootInterleavedUpdatedLanes;
|
||||
root.suspendedLanes |= suspendedLanes;
|
||||
root.pingedLanes &= ~suspendedLanes;
|
||||
didSkipSuspendedSiblings || (root.warmLanes |= suspendedLanes);
|
||||
didSkipSuspendedSiblings = root.expirationTimes;
|
||||
for (var lanes = suspendedLanes; 0 < lanes; ) {
|
||||
for (
|
||||
var expirationTimes = root.expirationTimes, lanes = suspendedLanes;
|
||||
0 < lanes;
|
||||
|
||||
) {
|
||||
var index = 31 - clz32(lanes),
|
||||
lane = 1 << index;
|
||||
didSkipSuspendedSiblings[index] = -1;
|
||||
expirationTimes[index] = -1;
|
||||
lanes &= ~lane;
|
||||
}
|
||||
0 !== spawnedLane &&
|
||||
@@ -11321,8 +11285,7 @@ __DEV__ &&
|
||||
markRootSuspended(
|
||||
workInProgressRoot,
|
||||
workInProgressRootRenderLanes,
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressDeferredLane
|
||||
);
|
||||
}
|
||||
function renderRootSync(root, lanes) {
|
||||
@@ -11727,9 +11690,7 @@ __DEV__ &&
|
||||
transitions,
|
||||
didIncludeRenderPhaseUpdate,
|
||||
renderPriorityLevel,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
spawnedLane
|
||||
) {
|
||||
do flushPassiveEffects();
|
||||
while (null !== rootWithPendingPassiveEffects);
|
||||
@@ -11762,9 +11723,7 @@ __DEV__ &&
|
||||
root,
|
||||
didIncludeRenderPhaseUpdate,
|
||||
remainingLanes,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
spawnedLane
|
||||
);
|
||||
root === workInProgressRoot &&
|
||||
((workInProgress = workInProgressRoot = null),
|
||||
@@ -11781,32 +11740,32 @@ __DEV__ &&
|
||||
}));
|
||||
commitStartTime = now();
|
||||
transitions = 0 !== (finishedWork.flags & 15990);
|
||||
0 !== (finishedWork.subtreeFlags & 15990) || transitions
|
||||
? ((transitions = ReactSharedInternals.T),
|
||||
(ReactSharedInternals.T = null),
|
||||
(spawnedLane = currentUpdatePriority),
|
||||
(currentUpdatePriority = DiscreteEventPriority),
|
||||
(updatedLanes = executionContext),
|
||||
(executionContext |= CommitContext),
|
||||
commitBeforeMutationEffects(root, finishedWork),
|
||||
commitMutationEffectsOnFiber(finishedWork, root),
|
||||
(root.current = finishedWork),
|
||||
null !== injectedProfilingHooks &&
|
||||
"function" ===
|
||||
typeof injectedProfilingHooks.markLayoutEffectsStarted &&
|
||||
injectedProfilingHooks.markLayoutEffectsStarted(
|
||||
didIncludeRenderPhaseUpdate
|
||||
),
|
||||
commitLayoutEffectOnFiber(root, finishedWork.alternate, finishedWork),
|
||||
null !== injectedProfilingHooks &&
|
||||
"function" ===
|
||||
typeof injectedProfilingHooks.markLayoutEffectsStopped &&
|
||||
injectedProfilingHooks.markLayoutEffectsStopped(),
|
||||
requestPaint(),
|
||||
(executionContext = updatedLanes),
|
||||
(currentUpdatePriority = spawnedLane),
|
||||
(ReactSharedInternals.T = transitions))
|
||||
: (root.current = finishedWork);
|
||||
if (0 !== (finishedWork.subtreeFlags & 15990) || transitions) {
|
||||
transitions = ReactSharedInternals.T;
|
||||
ReactSharedInternals.T = null;
|
||||
spawnedLane = currentUpdatePriority;
|
||||
currentUpdatePriority = DiscreteEventPriority;
|
||||
var prevExecutionContext = executionContext;
|
||||
executionContext |= CommitContext;
|
||||
commitBeforeMutationEffects(root, finishedWork);
|
||||
commitMutationEffectsOnFiber(finishedWork, root);
|
||||
root.current = finishedWork;
|
||||
null !== injectedProfilingHooks &&
|
||||
"function" ===
|
||||
typeof injectedProfilingHooks.markLayoutEffectsStarted &&
|
||||
injectedProfilingHooks.markLayoutEffectsStarted(
|
||||
didIncludeRenderPhaseUpdate
|
||||
);
|
||||
commitLayoutEffectOnFiber(root, finishedWork.alternate, finishedWork);
|
||||
null !== injectedProfilingHooks &&
|
||||
"function" ===
|
||||
typeof injectedProfilingHooks.markLayoutEffectsStopped &&
|
||||
injectedProfilingHooks.markLayoutEffectsStopped();
|
||||
requestPaint();
|
||||
executionContext = prevExecutionContext;
|
||||
currentUpdatePriority = spawnedLane;
|
||||
ReactSharedInternals.T = transitions;
|
||||
} else root.current = finishedWork;
|
||||
(transitions = rootDoesHavePassiveEffects)
|
||||
? ((rootDoesHavePassiveEffects = !1),
|
||||
(rootWithPendingPassiveEffects = root),
|
||||
@@ -15136,11 +15095,11 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.0.0-native-fb-de43d560-20241009",
|
||||
version: "19.0.0-native-fb-13411e45-20241014",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-native-fb-de43d560-20241009"
|
||||
reconcilerVersion: "19.0.0-native-fb-13411e45-20241014"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -15162,7 +15121,7 @@ __DEV__ &&
|
||||
exports._Scheduler = Scheduler;
|
||||
exports.act = act;
|
||||
exports.create = function (element, options) {
|
||||
var createNodeMock = JSCompiler_object_inline_createNodeMock_1094,
|
||||
var createNodeMock = JSCompiler_object_inline_createNodeMock_1092,
|
||||
isConcurrent = !1,
|
||||
isStrictMode = !1;
|
||||
"object" === typeof options &&
|
||||
@@ -15285,5 +15244,5 @@ __DEV__ &&
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.0.0-native-fb-de43d560-20241009";
|
||||
exports.version = "19.0.0-native-fb-13411e45-20241014";
|
||||
})();
|
||||
|
||||
+135
-182
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<b845d5cbb2507d24e197ff3a0adda5ee>>
|
||||
* @generated SignedSource<<aa92b6d93e187796969737cbd4667827>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -537,40 +537,28 @@ function getNextLanes(root, wipLanes) {
|
||||
var pendingLanes = root.pendingLanes;
|
||||
if (0 === pendingLanes) return 0;
|
||||
var nextLanes = 0,
|
||||
suspendedLanes = root.suspendedLanes,
|
||||
pingedLanes = root.pingedLanes,
|
||||
warmLanes = root.warmLanes;
|
||||
root = 0 !== root.finishedLanes;
|
||||
suspendedLanes = root.suspendedLanes;
|
||||
root = root.pingedLanes;
|
||||
var nonIdlePendingLanes = pendingLanes & 134217727;
|
||||
0 !== nonIdlePendingLanes
|
||||
? ((pendingLanes = nonIdlePendingLanes & ~suspendedLanes),
|
||||
0 !== pendingLanes
|
||||
? (nextLanes = getHighestPriorityLanes(pendingLanes))
|
||||
: ((pingedLanes &= nonIdlePendingLanes),
|
||||
0 !== pingedLanes
|
||||
? (nextLanes = getHighestPriorityLanes(pingedLanes))
|
||||
: root ||
|
||||
((warmLanes = nonIdlePendingLanes & ~warmLanes),
|
||||
0 !== warmLanes &&
|
||||
(nextLanes = getHighestPriorityLanes(warmLanes)))))
|
||||
: ((nonIdlePendingLanes = pendingLanes & ~suspendedLanes),
|
||||
0 !== nonIdlePendingLanes
|
||||
? (nextLanes = getHighestPriorityLanes(nonIdlePendingLanes))
|
||||
: 0 !== pingedLanes
|
||||
? (nextLanes = getHighestPriorityLanes(pingedLanes))
|
||||
: root ||
|
||||
((warmLanes = pendingLanes & ~warmLanes),
|
||||
0 !== warmLanes &&
|
||||
(nextLanes = getHighestPriorityLanes(warmLanes))));
|
||||
: ((root &= nonIdlePendingLanes),
|
||||
0 !== root && (nextLanes = getHighestPriorityLanes(root))))
|
||||
: ((pendingLanes &= ~suspendedLanes),
|
||||
0 !== pendingLanes
|
||||
? (nextLanes = getHighestPriorityLanes(pendingLanes))
|
||||
: 0 !== root && (nextLanes = getHighestPriorityLanes(root)));
|
||||
return 0 === nextLanes
|
||||
? 0
|
||||
: 0 !== wipLanes &&
|
||||
wipLanes !== nextLanes &&
|
||||
0 === (wipLanes & suspendedLanes) &&
|
||||
((suspendedLanes = nextLanes & -nextLanes),
|
||||
(warmLanes = wipLanes & -wipLanes),
|
||||
suspendedLanes >= warmLanes ||
|
||||
(32 === suspendedLanes && 0 !== (warmLanes & 4194176)))
|
||||
(root = wipLanes & -wipLanes),
|
||||
suspendedLanes >= root ||
|
||||
(32 === suspendedLanes && 0 !== (root & 4194176)))
|
||||
? wipLanes
|
||||
: nextLanes;
|
||||
}
|
||||
@@ -636,14 +624,7 @@ function markRootUpdated$1(root, updateLane) {
|
||||
268435456 !== updateLane &&
|
||||
((root.suspendedLanes = 0), (root.pingedLanes = 0), (root.warmLanes = 0));
|
||||
}
|
||||
function markRootFinished(
|
||||
root,
|
||||
finishedLanes,
|
||||
remainingLanes,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
) {
|
||||
function markRootFinished(root, finishedLanes, remainingLanes, spawnedLane) {
|
||||
var previouslyPendingLanes = root.pendingLanes;
|
||||
root.pendingLanes = remainingLanes;
|
||||
root.suspendedLanes = 0;
|
||||
@@ -653,35 +634,31 @@ function markRootFinished(
|
||||
root.entangledLanes &= remainingLanes;
|
||||
root.errorRecoveryDisabledLanes &= remainingLanes;
|
||||
root.shellSuspendCounter = 0;
|
||||
var entanglements = root.entanglements,
|
||||
expirationTimes = root.expirationTimes,
|
||||
finishedLanes = root.entanglements;
|
||||
var expirationTimes = root.expirationTimes,
|
||||
hiddenUpdates = root.hiddenUpdates;
|
||||
for (
|
||||
remainingLanes = previouslyPendingLanes & ~remainingLanes;
|
||||
0 < remainingLanes;
|
||||
|
||||
) {
|
||||
var index$7 = 31 - clz32(remainingLanes),
|
||||
lane = 1 << index$7;
|
||||
entanglements[index$7] = 0;
|
||||
expirationTimes[index$7] = -1;
|
||||
var hiddenUpdatesForLane = hiddenUpdates[index$7];
|
||||
var index$6 = 31 - clz32(remainingLanes);
|
||||
previouslyPendingLanes = 1 << index$6;
|
||||
finishedLanes[index$6] = 0;
|
||||
expirationTimes[index$6] = -1;
|
||||
var hiddenUpdatesForLane = hiddenUpdates[index$6];
|
||||
if (null !== hiddenUpdatesForLane)
|
||||
for (
|
||||
hiddenUpdates[index$7] = null, index$7 = 0;
|
||||
index$7 < hiddenUpdatesForLane.length;
|
||||
index$7++
|
||||
hiddenUpdates[index$6] = null, index$6 = 0;
|
||||
index$6 < hiddenUpdatesForLane.length;
|
||||
index$6++
|
||||
) {
|
||||
var update = hiddenUpdatesForLane[index$7];
|
||||
var update = hiddenUpdatesForLane[index$6];
|
||||
null !== update && (update.lane &= -536870913);
|
||||
}
|
||||
remainingLanes &= ~lane;
|
||||
remainingLanes &= ~previouslyPendingLanes;
|
||||
}
|
||||
0 !== spawnedLane && markSpawnedDeferredLane(root, spawnedLane, 0);
|
||||
0 !== suspendedRetryLanes &&
|
||||
0 === updatedLanes &&
|
||||
(root.suspendedLanes |=
|
||||
suspendedRetryLanes & ~(previouslyPendingLanes & ~finishedLanes));
|
||||
}
|
||||
function markSpawnedDeferredLane(root, spawnedLane, entangledLanes) {
|
||||
root.pendingLanes |= spawnedLane;
|
||||
@@ -696,10 +673,10 @@ function markSpawnedDeferredLane(root, spawnedLane, entangledLanes) {
|
||||
function markRootEntangled(root, entangledLanes) {
|
||||
var rootEntangledLanes = (root.entangledLanes |= entangledLanes);
|
||||
for (root = root.entanglements; rootEntangledLanes; ) {
|
||||
var index$8 = 31 - clz32(rootEntangledLanes),
|
||||
lane = 1 << index$8;
|
||||
(lane & entangledLanes) | (root[index$8] & entangledLanes) &&
|
||||
(root[index$8] |= entangledLanes);
|
||||
var index$7 = 31 - clz32(rootEntangledLanes),
|
||||
lane = 1 << index$7;
|
||||
(lane & entangledLanes) | (root[index$7] & entangledLanes) &&
|
||||
(root[index$7] |= entangledLanes);
|
||||
rootEntangledLanes &= ~lane;
|
||||
}
|
||||
}
|
||||
@@ -1073,12 +1050,12 @@ function scheduleTaskForRootDuringMicrotask(root, currentTime) {
|
||||
0 < lanes;
|
||||
|
||||
) {
|
||||
var index$5 = 31 - clz32(lanes),
|
||||
lane = 1 << index$5,
|
||||
expirationTime = expirationTimes[index$5];
|
||||
var index$4 = 31 - clz32(lanes),
|
||||
lane = 1 << index$4,
|
||||
expirationTime = expirationTimes[index$4];
|
||||
if (-1 === expirationTime) {
|
||||
if (0 === (lane & suspendedLanes) || 0 !== (lane & pingedLanes))
|
||||
expirationTimes[index$5] = computeExpirationTime(lane, currentTime);
|
||||
expirationTimes[index$4] = computeExpirationTime(lane, currentTime);
|
||||
} else expirationTime <= currentTime && (root.expiredLanes |= lane);
|
||||
lanes &= ~lane;
|
||||
}
|
||||
@@ -2645,7 +2622,7 @@ function updateReducerImpl(hook, current, reducer) {
|
||||
var newBaseQueueFirst = (baseFirst = null),
|
||||
newBaseQueueLast = null,
|
||||
update = current,
|
||||
didReadFromEntangledAsyncAction$41 = !1;
|
||||
didReadFromEntangledAsyncAction$40 = !1;
|
||||
do {
|
||||
var updateLane = update.lane & -536870913;
|
||||
if (
|
||||
@@ -2666,11 +2643,11 @@ function updateReducerImpl(hook, current, reducer) {
|
||||
next: null
|
||||
}),
|
||||
updateLane === currentEntangledLane &&
|
||||
(didReadFromEntangledAsyncAction$41 = !0);
|
||||
(didReadFromEntangledAsyncAction$40 = !0);
|
||||
else if ((renderLanes & revertLane) === revertLane) {
|
||||
update = update.next;
|
||||
revertLane === currentEntangledLane &&
|
||||
(didReadFromEntangledAsyncAction$41 = !0);
|
||||
(didReadFromEntangledAsyncAction$40 = !0);
|
||||
continue;
|
||||
} else
|
||||
(updateLane = {
|
||||
@@ -2716,7 +2693,7 @@ function updateReducerImpl(hook, current, reducer) {
|
||||
if (
|
||||
!objectIs(pendingQueue, hook.memoizedState) &&
|
||||
((didReceiveUpdate = !0),
|
||||
didReadFromEntangledAsyncAction$41 &&
|
||||
didReadFromEntangledAsyncAction$40 &&
|
||||
((reducer = currentEntangledActionThenable), null !== reducer))
|
||||
)
|
||||
throw reducer;
|
||||
@@ -2907,8 +2884,8 @@ function runActionStateAction(actionQueue, node) {
|
||||
try {
|
||||
(prevTransition = action(prevState, payload)),
|
||||
handleActionReturnValue(actionQueue, node, prevTransition);
|
||||
} catch (error$45) {
|
||||
onActionError(actionQueue, node, error$45);
|
||||
} catch (error$44) {
|
||||
onActionError(actionQueue, node, error$44);
|
||||
}
|
||||
}
|
||||
function handleActionReturnValue(actionQueue, node, returnValue) {
|
||||
@@ -3780,9 +3757,9 @@ function resolveClassComponentProps(Component, baseProps) {
|
||||
}
|
||||
if ((Component = Component.defaultProps)) {
|
||||
newProps === baseProps && (newProps = assign({}, newProps));
|
||||
for (var propName$47 in Component)
|
||||
void 0 === newProps[propName$47] &&
|
||||
(newProps[propName$47] = Component[propName$47]);
|
||||
for (var propName$46 in Component)
|
||||
void 0 === newProps[propName$46] &&
|
||||
(newProps[propName$46] = Component[propName$46]);
|
||||
}
|
||||
return newProps;
|
||||
}
|
||||
@@ -5823,8 +5800,7 @@ function scheduleRetryEffect(workInProgress, retryQueue) {
|
||||
workInProgress.flags & 16384 &&
|
||||
((retryQueue =
|
||||
22 !== workInProgress.tag ? claimNextRetryLane() : 536870912),
|
||||
(workInProgress.lanes |= retryQueue),
|
||||
(workInProgressSuspendedRetryLanes |= retryQueue));
|
||||
(workInProgress.lanes |= retryQueue));
|
||||
}
|
||||
function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
|
||||
switch (renderState.tailMode) {
|
||||
@@ -5840,14 +5816,14 @@ function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
|
||||
break;
|
||||
case "collapsed":
|
||||
lastTailNode = renderState.tail;
|
||||
for (var lastTailNode$88 = null; null !== lastTailNode; )
|
||||
null !== lastTailNode.alternate && (lastTailNode$88 = lastTailNode),
|
||||
for (var lastTailNode$87 = null; null !== lastTailNode; )
|
||||
null !== lastTailNode.alternate && (lastTailNode$87 = lastTailNode),
|
||||
(lastTailNode = lastTailNode.sibling);
|
||||
null === lastTailNode$88
|
||||
null === lastTailNode$87
|
||||
? hasRenderedATailFallback || null === renderState.tail
|
||||
? (renderState.tail = null)
|
||||
: (renderState.tail.sibling = null)
|
||||
: (lastTailNode$88.sibling = null);
|
||||
: (lastTailNode$87.sibling = null);
|
||||
}
|
||||
}
|
||||
function bubbleProperties(completedWork) {
|
||||
@@ -5857,19 +5833,19 @@ function bubbleProperties(completedWork) {
|
||||
newChildLanes = 0,
|
||||
subtreeFlags = 0;
|
||||
if (didBailout)
|
||||
for (var child$89 = completedWork.child; null !== child$89; )
|
||||
(newChildLanes |= child$89.lanes | child$89.childLanes),
|
||||
(subtreeFlags |= child$89.subtreeFlags & 31457280),
|
||||
(subtreeFlags |= child$89.flags & 31457280),
|
||||
(child$89.return = completedWork),
|
||||
(child$89 = child$89.sibling);
|
||||
for (var child$88 = completedWork.child; null !== child$88; )
|
||||
(newChildLanes |= child$88.lanes | child$88.childLanes),
|
||||
(subtreeFlags |= child$88.subtreeFlags & 31457280),
|
||||
(subtreeFlags |= child$88.flags & 31457280),
|
||||
(child$88.return = completedWork),
|
||||
(child$88 = child$88.sibling);
|
||||
else
|
||||
for (child$89 = completedWork.child; null !== child$89; )
|
||||
(newChildLanes |= child$89.lanes | child$89.childLanes),
|
||||
(subtreeFlags |= child$89.subtreeFlags),
|
||||
(subtreeFlags |= child$89.flags),
|
||||
(child$89.return = completedWork),
|
||||
(child$89 = child$89.sibling);
|
||||
for (child$88 = completedWork.child; null !== child$88; )
|
||||
(newChildLanes |= child$88.lanes | child$88.childLanes),
|
||||
(subtreeFlags |= child$88.subtreeFlags),
|
||||
(subtreeFlags |= child$88.flags),
|
||||
(child$88.return = completedWork),
|
||||
(child$88 = child$88.sibling);
|
||||
completedWork.subtreeFlags |= subtreeFlags;
|
||||
completedWork.childLanes = newChildLanes;
|
||||
return didBailout;
|
||||
@@ -6032,11 +6008,11 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
null !== newProps.alternate.memoizedState &&
|
||||
null !== newProps.alternate.memoizedState.cachePool &&
|
||||
(index = newProps.alternate.memoizedState.cachePool.pool);
|
||||
var cache$93 = null;
|
||||
var cache$92 = null;
|
||||
null !== newProps.memoizedState &&
|
||||
null !== newProps.memoizedState.cachePool &&
|
||||
(cache$93 = newProps.memoizedState.cachePool.pool);
|
||||
cache$93 !== index && (newProps.flags |= 2048);
|
||||
(cache$92 = newProps.memoizedState.cachePool.pool);
|
||||
cache$92 !== index && (newProps.flags |= 2048);
|
||||
}
|
||||
renderLanes !== current &&
|
||||
renderLanes &&
|
||||
@@ -6061,8 +6037,8 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
index = workInProgress.memoizedState;
|
||||
if (null === index) return bubbleProperties(workInProgress), null;
|
||||
newProps = 0 !== (workInProgress.flags & 128);
|
||||
cache$93 = index.rendering;
|
||||
if (null === cache$93)
|
||||
cache$92 = index.rendering;
|
||||
if (null === cache$92)
|
||||
if (newProps) cutOffTailIfNeeded(index, !1);
|
||||
else {
|
||||
if (
|
||||
@@ -6070,11 +6046,11 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
(null !== current && 0 !== (current.flags & 128))
|
||||
)
|
||||
for (current = workInProgress.child; null !== current; ) {
|
||||
cache$93 = findFirstSuspended(current);
|
||||
if (null !== cache$93) {
|
||||
cache$92 = findFirstSuspended(current);
|
||||
if (null !== cache$92) {
|
||||
workInProgress.flags |= 128;
|
||||
cutOffTailIfNeeded(index, !1);
|
||||
current = cache$93.updateQueue;
|
||||
current = cache$92.updateQueue;
|
||||
workInProgress.updateQueue = current;
|
||||
scheduleRetryEffect(workInProgress, current);
|
||||
workInProgress.subtreeFlags = 0;
|
||||
@@ -6099,7 +6075,7 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
}
|
||||
else {
|
||||
if (!newProps)
|
||||
if (((current = findFirstSuspended(cache$93)), null !== current)) {
|
||||
if (((current = findFirstSuspended(cache$92)), null !== current)) {
|
||||
if (
|
||||
((workInProgress.flags |= 128),
|
||||
(newProps = !0),
|
||||
@@ -6109,7 +6085,7 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
cutOffTailIfNeeded(index, !0),
|
||||
null === index.tail &&
|
||||
"hidden" === index.tailMode &&
|
||||
!cache$93.alternate)
|
||||
!cache$92.alternate)
|
||||
)
|
||||
return bubbleProperties(workInProgress), null;
|
||||
} else
|
||||
@@ -6121,13 +6097,13 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
cutOffTailIfNeeded(index, !1),
|
||||
(workInProgress.lanes = 4194304));
|
||||
index.isBackwards
|
||||
? ((cache$93.sibling = workInProgress.child),
|
||||
(workInProgress.child = cache$93))
|
||||
? ((cache$92.sibling = workInProgress.child),
|
||||
(workInProgress.child = cache$92))
|
||||
: ((current = index.last),
|
||||
null !== current
|
||||
? (current.sibling = cache$93)
|
||||
: (workInProgress.child = cache$93),
|
||||
(index.last = cache$93));
|
||||
? (current.sibling = cache$92)
|
||||
: (workInProgress.child = cache$92),
|
||||
(index.last = cache$92));
|
||||
}
|
||||
if (null !== index.tail)
|
||||
return (
|
||||
@@ -6309,9 +6285,9 @@ function commitHookEffectListMount(flags, finishedWork) {
|
||||
do {
|
||||
if ((updateQueue.tag & flags) === flags) {
|
||||
lastEffect = void 0;
|
||||
var create$109 = updateQueue.create,
|
||||
var create$108 = updateQueue.create,
|
||||
inst = updateQueue.inst;
|
||||
lastEffect = create$109();
|
||||
lastEffect = create$108();
|
||||
inst.destroy = lastEffect;
|
||||
}
|
||||
updateQueue = updateQueue.next;
|
||||
@@ -6424,8 +6400,8 @@ function safelyDetachRef(current, nearestMountedAncestor) {
|
||||
else if ("function" === typeof ref)
|
||||
try {
|
||||
ref(null);
|
||||
} catch (error$111) {
|
||||
captureCommitPhaseError(current, nearestMountedAncestor, error$111);
|
||||
} catch (error$110) {
|
||||
captureCommitPhaseError(current, nearestMountedAncestor, error$110);
|
||||
}
|
||||
else ref.current = null;
|
||||
}
|
||||
@@ -6589,11 +6565,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
||||
current,
|
||||
finishedRoot.__reactInternalSnapshotBeforeUpdate
|
||||
);
|
||||
} catch (error$110) {
|
||||
} catch (error$109) {
|
||||
captureCommitPhaseError(
|
||||
finishedWork,
|
||||
finishedWork.return,
|
||||
error$110
|
||||
error$109
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -7129,12 +7105,12 @@ function commitReconciliationEffects(finishedWork) {
|
||||
break;
|
||||
case 3:
|
||||
case 4:
|
||||
var parent$112 = JSCompiler_inline_result.stateNode.containerInfo,
|
||||
before$113 = getHostSibling(finishedWork);
|
||||
var parent$111 = JSCompiler_inline_result.stateNode.containerInfo,
|
||||
before$112 = getHostSibling(finishedWork);
|
||||
insertOrAppendPlacementNodeIntoContainer(
|
||||
finishedWork,
|
||||
before$113,
|
||||
parent$112
|
||||
before$112,
|
||||
parent$111
|
||||
);
|
||||
break;
|
||||
default:
|
||||
@@ -7835,8 +7811,7 @@ function scheduleUpdateOnFiber(root, fiber, lane) {
|
||||
markRootSuspended(
|
||||
root,
|
||||
workInProgressRootRenderLanes,
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressDeferredLane
|
||||
);
|
||||
markRootUpdated$1(root, lane);
|
||||
if (0 === (executionContext & 2) || root !== workInProgressRoot)
|
||||
@@ -7847,8 +7822,7 @@ function scheduleUpdateOnFiber(root, fiber, lane) {
|
||||
markRootSuspended(
|
||||
root,
|
||||
workInProgressRootRenderLanes,
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressDeferredLane
|
||||
)),
|
||||
ensureRootIsScheduled(root),
|
||||
2 === lane &&
|
||||
@@ -7869,13 +7843,7 @@ function performWorkOnRoot(root$jscomp$0, lanes, forceSync) {
|
||||
if (0 !== exitStatus) {
|
||||
var renderWasConcurrent = forceSync;
|
||||
do {
|
||||
if (6 === exitStatus)
|
||||
markRootSuspended(
|
||||
root$jscomp$0,
|
||||
lanes,
|
||||
0,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
);
|
||||
if (6 === exitStatus) markRootSuspended(root$jscomp$0, lanes, 0);
|
||||
else {
|
||||
forceSync = root$jscomp$0.current.alternate;
|
||||
if (
|
||||
@@ -7929,12 +7897,7 @@ function performWorkOnRoot(root$jscomp$0, lanes, forceSync) {
|
||||
}
|
||||
if (1 === exitStatus) {
|
||||
prepareFreshStack(root$jscomp$0, 0);
|
||||
markRootSuspended(
|
||||
root$jscomp$0,
|
||||
lanes,
|
||||
0,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
);
|
||||
markRootSuspended(root$jscomp$0, lanes, 0);
|
||||
break;
|
||||
}
|
||||
a: {
|
||||
@@ -7948,8 +7911,7 @@ function performWorkOnRoot(root$jscomp$0, lanes, forceSync) {
|
||||
markRootSuspended(
|
||||
renderWasConcurrent,
|
||||
lanes,
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressDeferredLane
|
||||
);
|
||||
break a;
|
||||
}
|
||||
@@ -7974,8 +7936,7 @@ function performWorkOnRoot(root$jscomp$0, lanes, forceSync) {
|
||||
markRootSuspended(
|
||||
renderWasConcurrent,
|
||||
lanes,
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressDeferredLane
|
||||
);
|
||||
if (0 !== getNextLanes(renderWasConcurrent, 0)) break a;
|
||||
renderWasConcurrent.timeoutHandle = scheduleTimeout(
|
||||
@@ -8103,22 +8064,19 @@ function isRenderConsistentWithExternalStores(finishedWork) {
|
||||
}
|
||||
return !0;
|
||||
}
|
||||
function markRootSuspended(
|
||||
root,
|
||||
suspendedLanes,
|
||||
spawnedLane,
|
||||
didSkipSuspendedSiblings
|
||||
) {
|
||||
function markRootSuspended(root, suspendedLanes, spawnedLane) {
|
||||
suspendedLanes &= ~workInProgressRootPingedLanes;
|
||||
suspendedLanes &= ~workInProgressRootInterleavedUpdatedLanes;
|
||||
root.suspendedLanes |= suspendedLanes;
|
||||
root.pingedLanes &= ~suspendedLanes;
|
||||
didSkipSuspendedSiblings || (root.warmLanes |= suspendedLanes);
|
||||
didSkipSuspendedSiblings = root.expirationTimes;
|
||||
for (var lanes = suspendedLanes; 0 < lanes; ) {
|
||||
var index$6 = 31 - clz32(lanes),
|
||||
lane = 1 << index$6;
|
||||
didSkipSuspendedSiblings[index$6] = -1;
|
||||
for (
|
||||
var expirationTimes = root.expirationTimes, lanes = suspendedLanes;
|
||||
0 < lanes;
|
||||
|
||||
) {
|
||||
var index$5 = 31 - clz32(lanes),
|
||||
lane = 1 << index$5;
|
||||
expirationTimes[index$5] = -1;
|
||||
lanes &= ~lane;
|
||||
}
|
||||
0 !== spawnedLane &&
|
||||
@@ -8195,9 +8153,9 @@ function prepareFreshStack(root, lanes) {
|
||||
0 < allEntangledLanes;
|
||||
|
||||
) {
|
||||
var index$4 = 31 - clz32(allEntangledLanes),
|
||||
lane = 1 << index$4;
|
||||
lanes |= root[index$4];
|
||||
var index$3 = 31 - clz32(allEntangledLanes),
|
||||
lane = 1 << index$3;
|
||||
lanes |= root[index$3];
|
||||
allEntangledLanes &= ~lane;
|
||||
}
|
||||
entangledRenderLanes = lanes;
|
||||
@@ -8261,8 +8219,7 @@ function renderDidSuspendDelayIfPossible() {
|
||||
markRootSuspended(
|
||||
workInProgressRoot,
|
||||
workInProgressRootRenderLanes,
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressDeferredLane
|
||||
);
|
||||
}
|
||||
function renderRootSync(root, lanes) {
|
||||
@@ -8297,8 +8254,8 @@ function renderRootSync(root, lanes) {
|
||||
}
|
||||
workLoopSync();
|
||||
break;
|
||||
} catch (thrownValue$123) {
|
||||
handleThrow(root, thrownValue$123);
|
||||
} catch (thrownValue$122) {
|
||||
handleThrow(root, thrownValue$122);
|
||||
}
|
||||
while (1);
|
||||
lanes && root.shellSuspendCounter++;
|
||||
@@ -8410,8 +8367,8 @@ function renderRootConcurrent(root, lanes) {
|
||||
}
|
||||
workLoopConcurrent();
|
||||
break;
|
||||
} catch (thrownValue$125) {
|
||||
handleThrow(root, thrownValue$125);
|
||||
} catch (thrownValue$124) {
|
||||
handleThrow(root, thrownValue$124);
|
||||
}
|
||||
while (1);
|
||||
resetContextDependencies();
|
||||
@@ -8571,9 +8528,7 @@ function commitRootImpl(
|
||||
transitions,
|
||||
didIncludeRenderPhaseUpdate,
|
||||
renderPriorityLevel,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
spawnedLane
|
||||
) {
|
||||
do flushPassiveEffects();
|
||||
while (null !== rootWithPendingPassiveEffects);
|
||||
@@ -8597,9 +8552,7 @@ function commitRootImpl(
|
||||
root,
|
||||
didIncludeRenderPhaseUpdate,
|
||||
remainingLanes,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
spawnedLane
|
||||
);
|
||||
root === workInProgressRoot &&
|
||||
((workInProgress = workInProgressRoot = null),
|
||||
@@ -8615,22 +8568,22 @@ function commitRootImpl(
|
||||
return null;
|
||||
}));
|
||||
transitions = 0 !== (finishedWork.flags & 15990);
|
||||
0 !== (finishedWork.subtreeFlags & 15990) || transitions
|
||||
? ((transitions = ReactSharedInternals.T),
|
||||
(ReactSharedInternals.T = null),
|
||||
(spawnedLane = currentUpdatePriority),
|
||||
(currentUpdatePriority = 2),
|
||||
(updatedLanes = executionContext),
|
||||
(executionContext |= 4),
|
||||
commitBeforeMutationEffects(root, finishedWork),
|
||||
commitMutationEffectsOnFiber(finishedWork, root),
|
||||
(root.current = finishedWork),
|
||||
commitLayoutEffectOnFiber(root, finishedWork.alternate, finishedWork),
|
||||
requestPaint(),
|
||||
(executionContext = updatedLanes),
|
||||
(currentUpdatePriority = spawnedLane),
|
||||
(ReactSharedInternals.T = transitions))
|
||||
: (root.current = finishedWork);
|
||||
if (0 !== (finishedWork.subtreeFlags & 15990) || transitions) {
|
||||
transitions = ReactSharedInternals.T;
|
||||
ReactSharedInternals.T = null;
|
||||
spawnedLane = currentUpdatePriority;
|
||||
currentUpdatePriority = 2;
|
||||
var prevExecutionContext = executionContext;
|
||||
executionContext |= 4;
|
||||
commitBeforeMutationEffects(root, finishedWork);
|
||||
commitMutationEffectsOnFiber(finishedWork, root);
|
||||
root.current = finishedWork;
|
||||
commitLayoutEffectOnFiber(root, finishedWork.alternate, finishedWork);
|
||||
requestPaint();
|
||||
executionContext = prevExecutionContext;
|
||||
currentUpdatePriority = spawnedLane;
|
||||
ReactSharedInternals.T = transitions;
|
||||
} else root.current = finishedWork;
|
||||
rootDoesHavePassiveEffects
|
||||
? ((rootDoesHavePassiveEffects = !1),
|
||||
(rootWithPendingPassiveEffects = root),
|
||||
@@ -9518,28 +9471,28 @@ function wrapFiber(fiber) {
|
||||
fiberToWrapper.set(fiber, wrapper));
|
||||
return wrapper;
|
||||
}
|
||||
var internals$jscomp$inline_1346 = {
|
||||
var internals$jscomp$inline_1343 = {
|
||||
bundleType: 0,
|
||||
version: "19.0.0-native-fb-de43d560-20241009",
|
||||
version: "19.0.0-native-fb-13411e45-20241014",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: function (mockNode) {
|
||||
mockNode = nodeToInstanceMap.get(mockNode);
|
||||
return void 0 !== mockNode ? mockNode.internalInstanceHandle : null;
|
||||
},
|
||||
reconcilerVersion: "19.0.0-native-fb-de43d560-20241009"
|
||||
reconcilerVersion: "19.0.0-native-fb-13411e45-20241014"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1347 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_1344 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_1347.isDisabled &&
|
||||
hook$jscomp$inline_1347.supportsFiber
|
||||
!hook$jscomp$inline_1344.isDisabled &&
|
||||
hook$jscomp$inline_1344.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_1347.inject(
|
||||
internals$jscomp$inline_1346
|
||||
(rendererID = hook$jscomp$inline_1344.inject(
|
||||
internals$jscomp$inline_1343
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_1347);
|
||||
(injectedHook = hook$jscomp$inline_1344);
|
||||
} catch (err) {}
|
||||
}
|
||||
exports._Scheduler = Scheduler;
|
||||
@@ -9663,4 +9616,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.0.0-native-fb-de43d560-20241009";
|
||||
exports.version = "19.0.0-native-fb-13411e45-20241014";
|
||||
|
||||
+169
-216
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<098680e059b035c0658861c8443052d5>>
|
||||
* @generated SignedSource<<a43ad45058e97bb79bcf3a885d3da3b0>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -602,40 +602,28 @@ function getNextLanes(root, wipLanes) {
|
||||
var pendingLanes = root.pendingLanes;
|
||||
if (0 === pendingLanes) return 0;
|
||||
var nextLanes = 0,
|
||||
suspendedLanes = root.suspendedLanes,
|
||||
pingedLanes = root.pingedLanes,
|
||||
warmLanes = root.warmLanes;
|
||||
root = 0 !== root.finishedLanes;
|
||||
suspendedLanes = root.suspendedLanes;
|
||||
root = root.pingedLanes;
|
||||
var nonIdlePendingLanes = pendingLanes & 134217727;
|
||||
0 !== nonIdlePendingLanes
|
||||
? ((pendingLanes = nonIdlePendingLanes & ~suspendedLanes),
|
||||
0 !== pendingLanes
|
||||
? (nextLanes = getHighestPriorityLanes(pendingLanes))
|
||||
: ((pingedLanes &= nonIdlePendingLanes),
|
||||
0 !== pingedLanes
|
||||
? (nextLanes = getHighestPriorityLanes(pingedLanes))
|
||||
: root ||
|
||||
((warmLanes = nonIdlePendingLanes & ~warmLanes),
|
||||
0 !== warmLanes &&
|
||||
(nextLanes = getHighestPriorityLanes(warmLanes)))))
|
||||
: ((nonIdlePendingLanes = pendingLanes & ~suspendedLanes),
|
||||
0 !== nonIdlePendingLanes
|
||||
? (nextLanes = getHighestPriorityLanes(nonIdlePendingLanes))
|
||||
: 0 !== pingedLanes
|
||||
? (nextLanes = getHighestPriorityLanes(pingedLanes))
|
||||
: root ||
|
||||
((warmLanes = pendingLanes & ~warmLanes),
|
||||
0 !== warmLanes &&
|
||||
(nextLanes = getHighestPriorityLanes(warmLanes))));
|
||||
: ((root &= nonIdlePendingLanes),
|
||||
0 !== root && (nextLanes = getHighestPriorityLanes(root))))
|
||||
: ((pendingLanes &= ~suspendedLanes),
|
||||
0 !== pendingLanes
|
||||
? (nextLanes = getHighestPriorityLanes(pendingLanes))
|
||||
: 0 !== root && (nextLanes = getHighestPriorityLanes(root)));
|
||||
return 0 === nextLanes
|
||||
? 0
|
||||
: 0 !== wipLanes &&
|
||||
wipLanes !== nextLanes &&
|
||||
0 === (wipLanes & suspendedLanes) &&
|
||||
((suspendedLanes = nextLanes & -nextLanes),
|
||||
(warmLanes = wipLanes & -wipLanes),
|
||||
suspendedLanes >= warmLanes ||
|
||||
(32 === suspendedLanes && 0 !== (warmLanes & 4194176)))
|
||||
(root = wipLanes & -wipLanes),
|
||||
suspendedLanes >= root ||
|
||||
(32 === suspendedLanes && 0 !== (root & 4194176)))
|
||||
? wipLanes
|
||||
: nextLanes;
|
||||
}
|
||||
@@ -701,14 +689,7 @@ function markRootUpdated$1(root, updateLane) {
|
||||
268435456 !== updateLane &&
|
||||
((root.suspendedLanes = 0), (root.pingedLanes = 0), (root.warmLanes = 0));
|
||||
}
|
||||
function markRootFinished(
|
||||
root,
|
||||
finishedLanes,
|
||||
remainingLanes,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
) {
|
||||
function markRootFinished(root, finishedLanes, remainingLanes, spawnedLane) {
|
||||
var previouslyPendingLanes = root.pendingLanes;
|
||||
root.pendingLanes = remainingLanes;
|
||||
root.suspendedLanes = 0;
|
||||
@@ -718,35 +699,31 @@ function markRootFinished(
|
||||
root.entangledLanes &= remainingLanes;
|
||||
root.errorRecoveryDisabledLanes &= remainingLanes;
|
||||
root.shellSuspendCounter = 0;
|
||||
var entanglements = root.entanglements,
|
||||
expirationTimes = root.expirationTimes,
|
||||
finishedLanes = root.entanglements;
|
||||
var expirationTimes = root.expirationTimes,
|
||||
hiddenUpdates = root.hiddenUpdates;
|
||||
for (
|
||||
remainingLanes = previouslyPendingLanes & ~remainingLanes;
|
||||
0 < remainingLanes;
|
||||
|
||||
) {
|
||||
var index$7 = 31 - clz32(remainingLanes),
|
||||
lane = 1 << index$7;
|
||||
entanglements[index$7] = 0;
|
||||
expirationTimes[index$7] = -1;
|
||||
var hiddenUpdatesForLane = hiddenUpdates[index$7];
|
||||
var index$6 = 31 - clz32(remainingLanes);
|
||||
previouslyPendingLanes = 1 << index$6;
|
||||
finishedLanes[index$6] = 0;
|
||||
expirationTimes[index$6] = -1;
|
||||
var hiddenUpdatesForLane = hiddenUpdates[index$6];
|
||||
if (null !== hiddenUpdatesForLane)
|
||||
for (
|
||||
hiddenUpdates[index$7] = null, index$7 = 0;
|
||||
index$7 < hiddenUpdatesForLane.length;
|
||||
index$7++
|
||||
hiddenUpdates[index$6] = null, index$6 = 0;
|
||||
index$6 < hiddenUpdatesForLane.length;
|
||||
index$6++
|
||||
) {
|
||||
var update = hiddenUpdatesForLane[index$7];
|
||||
var update = hiddenUpdatesForLane[index$6];
|
||||
null !== update && (update.lane &= -536870913);
|
||||
}
|
||||
remainingLanes &= ~lane;
|
||||
remainingLanes &= ~previouslyPendingLanes;
|
||||
}
|
||||
0 !== spawnedLane && markSpawnedDeferredLane(root, spawnedLane, 0);
|
||||
0 !== suspendedRetryLanes &&
|
||||
0 === updatedLanes &&
|
||||
(root.suspendedLanes |=
|
||||
suspendedRetryLanes & ~(previouslyPendingLanes & ~finishedLanes));
|
||||
}
|
||||
function markSpawnedDeferredLane(root, spawnedLane, entangledLanes) {
|
||||
root.pendingLanes |= spawnedLane;
|
||||
@@ -761,10 +738,10 @@ function markSpawnedDeferredLane(root, spawnedLane, entangledLanes) {
|
||||
function markRootEntangled(root, entangledLanes) {
|
||||
var rootEntangledLanes = (root.entangledLanes |= entangledLanes);
|
||||
for (root = root.entanglements; rootEntangledLanes; ) {
|
||||
var index$8 = 31 - clz32(rootEntangledLanes),
|
||||
lane = 1 << index$8;
|
||||
(lane & entangledLanes) | (root[index$8] & entangledLanes) &&
|
||||
(root[index$8] |= entangledLanes);
|
||||
var index$7 = 31 - clz32(rootEntangledLanes),
|
||||
lane = 1 << index$7;
|
||||
(lane & entangledLanes) | (root[index$7] & entangledLanes) &&
|
||||
(root[index$7] |= entangledLanes);
|
||||
rootEntangledLanes &= ~lane;
|
||||
}
|
||||
}
|
||||
@@ -1192,12 +1169,12 @@ function scheduleTaskForRootDuringMicrotask(root, currentTime) {
|
||||
0 < lanes;
|
||||
|
||||
) {
|
||||
var index$5 = 31 - clz32(lanes),
|
||||
lane = 1 << index$5,
|
||||
expirationTime = expirationTimes[index$5];
|
||||
var index$4 = 31 - clz32(lanes),
|
||||
lane = 1 << index$4,
|
||||
expirationTime = expirationTimes[index$4];
|
||||
if (-1 === expirationTime) {
|
||||
if (0 === (lane & suspendedLanes) || 0 !== (lane & pingedLanes))
|
||||
expirationTimes[index$5] = computeExpirationTime(lane, currentTime);
|
||||
expirationTimes[index$4] = computeExpirationTime(lane, currentTime);
|
||||
} else expirationTime <= currentTime && (root.expiredLanes |= lane);
|
||||
lanes &= ~lane;
|
||||
}
|
||||
@@ -2767,7 +2744,7 @@ function updateReducerImpl(hook, current, reducer) {
|
||||
var newBaseQueueFirst = (baseFirst = null),
|
||||
newBaseQueueLast = null,
|
||||
update = current,
|
||||
didReadFromEntangledAsyncAction$41 = !1;
|
||||
didReadFromEntangledAsyncAction$40 = !1;
|
||||
do {
|
||||
var updateLane = update.lane & -536870913;
|
||||
if (
|
||||
@@ -2788,11 +2765,11 @@ function updateReducerImpl(hook, current, reducer) {
|
||||
next: null
|
||||
}),
|
||||
updateLane === currentEntangledLane &&
|
||||
(didReadFromEntangledAsyncAction$41 = !0);
|
||||
(didReadFromEntangledAsyncAction$40 = !0);
|
||||
else if ((renderLanes & revertLane) === revertLane) {
|
||||
update = update.next;
|
||||
revertLane === currentEntangledLane &&
|
||||
(didReadFromEntangledAsyncAction$41 = !0);
|
||||
(didReadFromEntangledAsyncAction$40 = !0);
|
||||
continue;
|
||||
} else
|
||||
(updateLane = {
|
||||
@@ -2838,7 +2815,7 @@ function updateReducerImpl(hook, current, reducer) {
|
||||
if (
|
||||
!objectIs(pendingQueue, hook.memoizedState) &&
|
||||
((didReceiveUpdate = !0),
|
||||
didReadFromEntangledAsyncAction$41 &&
|
||||
didReadFromEntangledAsyncAction$40 &&
|
||||
((reducer = currentEntangledActionThenable), null !== reducer))
|
||||
)
|
||||
throw reducer;
|
||||
@@ -3029,8 +3006,8 @@ function runActionStateAction(actionQueue, node) {
|
||||
try {
|
||||
(prevTransition = action(prevState, payload)),
|
||||
handleActionReturnValue(actionQueue, node, prevTransition);
|
||||
} catch (error$45) {
|
||||
onActionError(actionQueue, node, error$45);
|
||||
} catch (error$44) {
|
||||
onActionError(actionQueue, node, error$44);
|
||||
}
|
||||
}
|
||||
function handleActionReturnValue(actionQueue, node, returnValue) {
|
||||
@@ -3910,9 +3887,9 @@ function resolveClassComponentProps(Component, baseProps) {
|
||||
}
|
||||
if ((Component = Component.defaultProps)) {
|
||||
newProps === baseProps && (newProps = assign({}, newProps));
|
||||
for (var propName$47 in Component)
|
||||
void 0 === newProps[propName$47] &&
|
||||
(newProps[propName$47] = Component[propName$47]);
|
||||
for (var propName$46 in Component)
|
||||
void 0 === newProps[propName$46] &&
|
||||
(newProps[propName$46] = Component[propName$46]);
|
||||
}
|
||||
return newProps;
|
||||
}
|
||||
@@ -5992,8 +5969,7 @@ function scheduleRetryEffect(workInProgress, retryQueue) {
|
||||
workInProgress.flags & 16384 &&
|
||||
((retryQueue =
|
||||
22 !== workInProgress.tag ? claimNextRetryLane() : 536870912),
|
||||
(workInProgress.lanes |= retryQueue),
|
||||
(workInProgressSuspendedRetryLanes |= retryQueue));
|
||||
(workInProgress.lanes |= retryQueue));
|
||||
}
|
||||
function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
|
||||
switch (renderState.tailMode) {
|
||||
@@ -6009,14 +5985,14 @@ function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
|
||||
break;
|
||||
case "collapsed":
|
||||
lastTailNode = renderState.tail;
|
||||
for (var lastTailNode$89 = null; null !== lastTailNode; )
|
||||
null !== lastTailNode.alternate && (lastTailNode$89 = lastTailNode),
|
||||
for (var lastTailNode$88 = null; null !== lastTailNode; )
|
||||
null !== lastTailNode.alternate && (lastTailNode$88 = lastTailNode),
|
||||
(lastTailNode = lastTailNode.sibling);
|
||||
null === lastTailNode$89
|
||||
null === lastTailNode$88
|
||||
? hasRenderedATailFallback || null === renderState.tail
|
||||
? (renderState.tail = null)
|
||||
: (renderState.tail.sibling = null)
|
||||
: (lastTailNode$89.sibling = null);
|
||||
: (lastTailNode$88.sibling = null);
|
||||
}
|
||||
}
|
||||
function bubbleProperties(completedWork) {
|
||||
@@ -6028,53 +6004,53 @@ function bubbleProperties(completedWork) {
|
||||
if (didBailout)
|
||||
if (0 !== (completedWork.mode & 2)) {
|
||||
for (
|
||||
var treeBaseDuration$91 = completedWork.selfBaseDuration,
|
||||
child$92 = completedWork.child;
|
||||
null !== child$92;
|
||||
var treeBaseDuration$90 = completedWork.selfBaseDuration,
|
||||
child$91 = completedWork.child;
|
||||
null !== child$91;
|
||||
|
||||
)
|
||||
(newChildLanes |= child$92.lanes | child$92.childLanes),
|
||||
(subtreeFlags |= child$92.subtreeFlags & 31457280),
|
||||
(subtreeFlags |= child$92.flags & 31457280),
|
||||
(treeBaseDuration$91 += child$92.treeBaseDuration),
|
||||
(child$92 = child$92.sibling);
|
||||
completedWork.treeBaseDuration = treeBaseDuration$91;
|
||||
(newChildLanes |= child$91.lanes | child$91.childLanes),
|
||||
(subtreeFlags |= child$91.subtreeFlags & 31457280),
|
||||
(subtreeFlags |= child$91.flags & 31457280),
|
||||
(treeBaseDuration$90 += child$91.treeBaseDuration),
|
||||
(child$91 = child$91.sibling);
|
||||
completedWork.treeBaseDuration = treeBaseDuration$90;
|
||||
} else
|
||||
for (
|
||||
treeBaseDuration$91 = completedWork.child;
|
||||
null !== treeBaseDuration$91;
|
||||
treeBaseDuration$90 = completedWork.child;
|
||||
null !== treeBaseDuration$90;
|
||||
|
||||
)
|
||||
(newChildLanes |=
|
||||
treeBaseDuration$91.lanes | treeBaseDuration$91.childLanes),
|
||||
(subtreeFlags |= treeBaseDuration$91.subtreeFlags & 31457280),
|
||||
(subtreeFlags |= treeBaseDuration$91.flags & 31457280),
|
||||
(treeBaseDuration$91.return = completedWork),
|
||||
(treeBaseDuration$91 = treeBaseDuration$91.sibling);
|
||||
treeBaseDuration$90.lanes | treeBaseDuration$90.childLanes),
|
||||
(subtreeFlags |= treeBaseDuration$90.subtreeFlags & 31457280),
|
||||
(subtreeFlags |= treeBaseDuration$90.flags & 31457280),
|
||||
(treeBaseDuration$90.return = completedWork),
|
||||
(treeBaseDuration$90 = treeBaseDuration$90.sibling);
|
||||
else if (0 !== (completedWork.mode & 2)) {
|
||||
treeBaseDuration$91 = completedWork.actualDuration;
|
||||
child$92 = completedWork.selfBaseDuration;
|
||||
treeBaseDuration$90 = completedWork.actualDuration;
|
||||
child$91 = completedWork.selfBaseDuration;
|
||||
for (var child = completedWork.child; null !== child; )
|
||||
(newChildLanes |= child.lanes | child.childLanes),
|
||||
(subtreeFlags |= child.subtreeFlags),
|
||||
(subtreeFlags |= child.flags),
|
||||
(treeBaseDuration$91 += child.actualDuration),
|
||||
(child$92 += child.treeBaseDuration),
|
||||
(treeBaseDuration$90 += child.actualDuration),
|
||||
(child$91 += child.treeBaseDuration),
|
||||
(child = child.sibling);
|
||||
completedWork.actualDuration = treeBaseDuration$91;
|
||||
completedWork.treeBaseDuration = child$92;
|
||||
completedWork.actualDuration = treeBaseDuration$90;
|
||||
completedWork.treeBaseDuration = child$91;
|
||||
} else
|
||||
for (
|
||||
treeBaseDuration$91 = completedWork.child;
|
||||
null !== treeBaseDuration$91;
|
||||
treeBaseDuration$90 = completedWork.child;
|
||||
null !== treeBaseDuration$90;
|
||||
|
||||
)
|
||||
(newChildLanes |=
|
||||
treeBaseDuration$91.lanes | treeBaseDuration$91.childLanes),
|
||||
(subtreeFlags |= treeBaseDuration$91.subtreeFlags),
|
||||
(subtreeFlags |= treeBaseDuration$91.flags),
|
||||
(treeBaseDuration$91.return = completedWork),
|
||||
(treeBaseDuration$91 = treeBaseDuration$91.sibling);
|
||||
treeBaseDuration$90.lanes | treeBaseDuration$90.childLanes),
|
||||
(subtreeFlags |= treeBaseDuration$90.subtreeFlags),
|
||||
(subtreeFlags |= treeBaseDuration$90.flags),
|
||||
(treeBaseDuration$90.return = completedWork),
|
||||
(treeBaseDuration$90 = treeBaseDuration$90.sibling);
|
||||
completedWork.subtreeFlags |= subtreeFlags;
|
||||
completedWork.childLanes = newChildLanes;
|
||||
return didBailout;
|
||||
@@ -6247,11 +6223,11 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
null !== newProps.alternate.memoizedState &&
|
||||
null !== newProps.alternate.memoizedState.cachePool &&
|
||||
(index = newProps.alternate.memoizedState.cachePool.pool);
|
||||
var cache$99 = null;
|
||||
var cache$98 = null;
|
||||
null !== newProps.memoizedState &&
|
||||
null !== newProps.memoizedState.cachePool &&
|
||||
(cache$99 = newProps.memoizedState.cachePool.pool);
|
||||
cache$99 !== index && (newProps.flags |= 2048);
|
||||
(cache$98 = newProps.memoizedState.cachePool.pool);
|
||||
cache$98 !== index && (newProps.flags |= 2048);
|
||||
}
|
||||
renderLanes !== current &&
|
||||
renderLanes &&
|
||||
@@ -6281,8 +6257,8 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
index = workInProgress.memoizedState;
|
||||
if (null === index) return bubbleProperties(workInProgress), null;
|
||||
newProps = 0 !== (workInProgress.flags & 128);
|
||||
cache$99 = index.rendering;
|
||||
if (null === cache$99)
|
||||
cache$98 = index.rendering;
|
||||
if (null === cache$98)
|
||||
if (newProps) cutOffTailIfNeeded(index, !1);
|
||||
else {
|
||||
if (
|
||||
@@ -6290,11 +6266,11 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
(null !== current && 0 !== (current.flags & 128))
|
||||
)
|
||||
for (current = workInProgress.child; null !== current; ) {
|
||||
cache$99 = findFirstSuspended(current);
|
||||
if (null !== cache$99) {
|
||||
cache$98 = findFirstSuspended(current);
|
||||
if (null !== cache$98) {
|
||||
workInProgress.flags |= 128;
|
||||
cutOffTailIfNeeded(index, !1);
|
||||
current = cache$99.updateQueue;
|
||||
current = cache$98.updateQueue;
|
||||
workInProgress.updateQueue = current;
|
||||
scheduleRetryEffect(workInProgress, current);
|
||||
workInProgress.subtreeFlags = 0;
|
||||
@@ -6319,7 +6295,7 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
}
|
||||
else {
|
||||
if (!newProps)
|
||||
if (((current = findFirstSuspended(cache$99)), null !== current)) {
|
||||
if (((current = findFirstSuspended(cache$98)), null !== current)) {
|
||||
if (
|
||||
((workInProgress.flags |= 128),
|
||||
(newProps = !0),
|
||||
@@ -6329,7 +6305,7 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
cutOffTailIfNeeded(index, !0),
|
||||
null === index.tail &&
|
||||
"hidden" === index.tailMode &&
|
||||
!cache$99.alternate)
|
||||
!cache$98.alternate)
|
||||
)
|
||||
return bubbleProperties(workInProgress), null;
|
||||
} else
|
||||
@@ -6341,13 +6317,13 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
cutOffTailIfNeeded(index, !1),
|
||||
(workInProgress.lanes = 4194304));
|
||||
index.isBackwards
|
||||
? ((cache$99.sibling = workInProgress.child),
|
||||
(workInProgress.child = cache$99))
|
||||
? ((cache$98.sibling = workInProgress.child),
|
||||
(workInProgress.child = cache$98))
|
||||
: ((current = index.last),
|
||||
null !== current
|
||||
? (current.sibling = cache$99)
|
||||
: (workInProgress.child = cache$99),
|
||||
(index.last = cache$99));
|
||||
? (current.sibling = cache$98)
|
||||
: (workInProgress.child = cache$98),
|
||||
(index.last = cache$98));
|
||||
}
|
||||
if (null !== index.tail)
|
||||
return (
|
||||
@@ -6581,9 +6557,9 @@ function commitHookEffectListMount(flags, finishedWork) {
|
||||
finishedWork
|
||||
);
|
||||
lastEffect = void 0;
|
||||
var create$115 = updateQueue.create,
|
||||
var create$114 = updateQueue.create,
|
||||
inst = updateQueue.inst;
|
||||
lastEffect = create$115();
|
||||
lastEffect = create$114();
|
||||
inst.destroy = lastEffect;
|
||||
0 !== (flags & 8)
|
||||
? null !== injectedProfilingHooks &&
|
||||
@@ -6722,8 +6698,8 @@ function safelyCallComponentWillUnmount(
|
||||
} else
|
||||
try {
|
||||
instance.componentWillUnmount();
|
||||
} catch (error$119) {
|
||||
captureCommitPhaseError(current, nearestMountedAncestor, error$119);
|
||||
} catch (error$118) {
|
||||
captureCommitPhaseError(current, nearestMountedAncestor, error$118);
|
||||
}
|
||||
}
|
||||
function safelyAttachRef(current, nearestMountedAncestor) {
|
||||
@@ -6783,8 +6759,8 @@ function safelyDetachRef(current, nearestMountedAncestor) {
|
||||
recordEffectDuration(current);
|
||||
}
|
||||
else ref(null);
|
||||
} catch (error$120) {
|
||||
captureCommitPhaseError(current, nearestMountedAncestor, error$120);
|
||||
} catch (error$119) {
|
||||
captureCommitPhaseError(current, nearestMountedAncestor, error$119);
|
||||
}
|
||||
else ref.current = null;
|
||||
}
|
||||
@@ -6975,11 +6951,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
||||
} else
|
||||
try {
|
||||
finishedRoot.componentDidMount();
|
||||
} catch (error$116) {
|
||||
} catch (error$115) {
|
||||
captureCommitPhaseError(
|
||||
finishedWork,
|
||||
finishedWork.return,
|
||||
error$116
|
||||
error$115
|
||||
);
|
||||
}
|
||||
else {
|
||||
@@ -6996,11 +6972,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
||||
current,
|
||||
finishedRoot.__reactInternalSnapshotBeforeUpdate
|
||||
);
|
||||
} catch (error$117) {
|
||||
} catch (error$116) {
|
||||
captureCommitPhaseError(
|
||||
finishedWork,
|
||||
finishedWork.return,
|
||||
error$117
|
||||
error$116
|
||||
);
|
||||
}
|
||||
recordEffectDuration();
|
||||
@@ -7011,11 +6987,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
||||
current,
|
||||
finishedRoot.__reactInternalSnapshotBeforeUpdate
|
||||
);
|
||||
} catch (error$118) {
|
||||
} catch (error$117) {
|
||||
captureCommitPhaseError(
|
||||
finishedWork,
|
||||
finishedWork.return,
|
||||
error$118
|
||||
error$117
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -7569,12 +7545,12 @@ function commitReconciliationEffects(finishedWork) {
|
||||
break;
|
||||
case 3:
|
||||
case 4:
|
||||
var parent$121 = JSCompiler_inline_result.stateNode.containerInfo,
|
||||
before$122 = getHostSibling(finishedWork);
|
||||
var parent$120 = JSCompiler_inline_result.stateNode.containerInfo,
|
||||
before$121 = getHostSibling(finishedWork);
|
||||
insertOrAppendPlacementNodeIntoContainer(
|
||||
finishedWork,
|
||||
before$122,
|
||||
parent$121
|
||||
before$121,
|
||||
parent$120
|
||||
);
|
||||
break;
|
||||
default:
|
||||
@@ -8305,8 +8281,7 @@ function scheduleUpdateOnFiber(root, fiber, lane) {
|
||||
markRootSuspended(
|
||||
root,
|
||||
workInProgressRootRenderLanes,
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressDeferredLane
|
||||
);
|
||||
markRootUpdated$1(root, lane);
|
||||
if (0 === (executionContext & 2) || root !== workInProgressRoot)
|
||||
@@ -8317,8 +8292,7 @@ function scheduleUpdateOnFiber(root, fiber, lane) {
|
||||
markRootSuspended(
|
||||
root,
|
||||
workInProgressRootRenderLanes,
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressDeferredLane
|
||||
)),
|
||||
ensureRootIsScheduled(root),
|
||||
2 === lane &&
|
||||
@@ -8339,13 +8313,7 @@ function performWorkOnRoot(root$jscomp$0, lanes, forceSync) {
|
||||
if (0 !== exitStatus) {
|
||||
var renderWasConcurrent = forceSync;
|
||||
do {
|
||||
if (6 === exitStatus)
|
||||
markRootSuspended(
|
||||
root$jscomp$0,
|
||||
lanes,
|
||||
0,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
);
|
||||
if (6 === exitStatus) markRootSuspended(root$jscomp$0, lanes, 0);
|
||||
else {
|
||||
forceSync = root$jscomp$0.current.alternate;
|
||||
if (
|
||||
@@ -8399,12 +8367,7 @@ function performWorkOnRoot(root$jscomp$0, lanes, forceSync) {
|
||||
}
|
||||
if (1 === exitStatus) {
|
||||
prepareFreshStack(root$jscomp$0, 0);
|
||||
markRootSuspended(
|
||||
root$jscomp$0,
|
||||
lanes,
|
||||
0,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
);
|
||||
markRootSuspended(root$jscomp$0, lanes, 0);
|
||||
break;
|
||||
}
|
||||
a: {
|
||||
@@ -8418,8 +8381,7 @@ function performWorkOnRoot(root$jscomp$0, lanes, forceSync) {
|
||||
markRootSuspended(
|
||||
renderWasConcurrent,
|
||||
lanes,
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressDeferredLane
|
||||
);
|
||||
break a;
|
||||
}
|
||||
@@ -8444,8 +8406,7 @@ function performWorkOnRoot(root$jscomp$0, lanes, forceSync) {
|
||||
markRootSuspended(
|
||||
renderWasConcurrent,
|
||||
lanes,
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressDeferredLane
|
||||
);
|
||||
if (0 !== getNextLanes(renderWasConcurrent, 0)) break a;
|
||||
renderWasConcurrent.timeoutHandle = scheduleTimeout(
|
||||
@@ -8573,22 +8534,19 @@ function isRenderConsistentWithExternalStores(finishedWork) {
|
||||
}
|
||||
return !0;
|
||||
}
|
||||
function markRootSuspended(
|
||||
root,
|
||||
suspendedLanes,
|
||||
spawnedLane,
|
||||
didSkipSuspendedSiblings
|
||||
) {
|
||||
function markRootSuspended(root, suspendedLanes, spawnedLane) {
|
||||
suspendedLanes &= ~workInProgressRootPingedLanes;
|
||||
suspendedLanes &= ~workInProgressRootInterleavedUpdatedLanes;
|
||||
root.suspendedLanes |= suspendedLanes;
|
||||
root.pingedLanes &= ~suspendedLanes;
|
||||
didSkipSuspendedSiblings || (root.warmLanes |= suspendedLanes);
|
||||
didSkipSuspendedSiblings = root.expirationTimes;
|
||||
for (var lanes = suspendedLanes; 0 < lanes; ) {
|
||||
var index$6 = 31 - clz32(lanes),
|
||||
lane = 1 << index$6;
|
||||
didSkipSuspendedSiblings[index$6] = -1;
|
||||
for (
|
||||
var expirationTimes = root.expirationTimes, lanes = suspendedLanes;
|
||||
0 < lanes;
|
||||
|
||||
) {
|
||||
var index$5 = 31 - clz32(lanes),
|
||||
lane = 1 << index$5;
|
||||
expirationTimes[index$5] = -1;
|
||||
lanes &= ~lane;
|
||||
}
|
||||
0 !== spawnedLane &&
|
||||
@@ -8665,9 +8623,9 @@ function prepareFreshStack(root, lanes) {
|
||||
0 < allEntangledLanes;
|
||||
|
||||
) {
|
||||
var index$4 = 31 - clz32(allEntangledLanes),
|
||||
lane = 1 << index$4;
|
||||
lanes |= root[index$4];
|
||||
var index$3 = 31 - clz32(allEntangledLanes),
|
||||
lane = 1 << index$3;
|
||||
lanes |= root[index$3];
|
||||
allEntangledLanes &= ~lane;
|
||||
}
|
||||
entangledRenderLanes = lanes;
|
||||
@@ -8759,8 +8717,7 @@ function renderDidSuspendDelayIfPossible() {
|
||||
markRootSuspended(
|
||||
workInProgressRoot,
|
||||
workInProgressRootRenderLanes,
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressDeferredLane
|
||||
);
|
||||
}
|
||||
function renderRootSync(root, lanes) {
|
||||
@@ -8796,8 +8753,8 @@ function renderRootSync(root, lanes) {
|
||||
}
|
||||
workLoopSync();
|
||||
break;
|
||||
} catch (thrownValue$136) {
|
||||
handleThrow(root, thrownValue$136);
|
||||
} catch (thrownValue$135) {
|
||||
handleThrow(root, thrownValue$135);
|
||||
}
|
||||
while (1);
|
||||
lanes && root.shellSuspendCounter++;
|
||||
@@ -8911,8 +8868,8 @@ function renderRootConcurrent(root, lanes) {
|
||||
}
|
||||
workLoopConcurrent();
|
||||
break;
|
||||
} catch (thrownValue$138) {
|
||||
handleThrow(root, thrownValue$138);
|
||||
} catch (thrownValue$137) {
|
||||
handleThrow(root, thrownValue$137);
|
||||
}
|
||||
while (1);
|
||||
resetContextDependencies();
|
||||
@@ -9097,9 +9054,7 @@ function commitRootImpl(
|
||||
transitions,
|
||||
didIncludeRenderPhaseUpdate,
|
||||
renderPriorityLevel,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
spawnedLane
|
||||
) {
|
||||
do flushPassiveEffects();
|
||||
while (null !== rootWithPendingPassiveEffects);
|
||||
@@ -9126,9 +9081,7 @@ function commitRootImpl(
|
||||
root,
|
||||
didIncludeRenderPhaseUpdate,
|
||||
remainingLanes,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
spawnedLane
|
||||
);
|
||||
root === workInProgressRoot &&
|
||||
((workInProgress = workInProgressRoot = null),
|
||||
@@ -9145,30 +9098,30 @@ function commitRootImpl(
|
||||
}));
|
||||
commitStartTime = now();
|
||||
transitions = 0 !== (finishedWork.flags & 15990);
|
||||
0 !== (finishedWork.subtreeFlags & 15990) || transitions
|
||||
? ((transitions = ReactSharedInternals.T),
|
||||
(ReactSharedInternals.T = null),
|
||||
(spawnedLane = currentUpdatePriority),
|
||||
(currentUpdatePriority = 2),
|
||||
(updatedLanes = executionContext),
|
||||
(executionContext |= 4),
|
||||
commitBeforeMutationEffects(root, finishedWork),
|
||||
commitMutationEffectsOnFiber(finishedWork, root),
|
||||
(root.current = finishedWork),
|
||||
null !== injectedProfilingHooks &&
|
||||
"function" === typeof injectedProfilingHooks.markLayoutEffectsStarted &&
|
||||
injectedProfilingHooks.markLayoutEffectsStarted(
|
||||
didIncludeRenderPhaseUpdate
|
||||
),
|
||||
commitLayoutEffectOnFiber(root, finishedWork.alternate, finishedWork),
|
||||
null !== injectedProfilingHooks &&
|
||||
"function" === typeof injectedProfilingHooks.markLayoutEffectsStopped &&
|
||||
injectedProfilingHooks.markLayoutEffectsStopped(),
|
||||
requestPaint(),
|
||||
(executionContext = updatedLanes),
|
||||
(currentUpdatePriority = spawnedLane),
|
||||
(ReactSharedInternals.T = transitions))
|
||||
: (root.current = finishedWork);
|
||||
if (0 !== (finishedWork.subtreeFlags & 15990) || transitions) {
|
||||
transitions = ReactSharedInternals.T;
|
||||
ReactSharedInternals.T = null;
|
||||
spawnedLane = currentUpdatePriority;
|
||||
currentUpdatePriority = 2;
|
||||
var prevExecutionContext = executionContext;
|
||||
executionContext |= 4;
|
||||
commitBeforeMutationEffects(root, finishedWork);
|
||||
commitMutationEffectsOnFiber(finishedWork, root);
|
||||
root.current = finishedWork;
|
||||
null !== injectedProfilingHooks &&
|
||||
"function" === typeof injectedProfilingHooks.markLayoutEffectsStarted &&
|
||||
injectedProfilingHooks.markLayoutEffectsStarted(
|
||||
didIncludeRenderPhaseUpdate
|
||||
);
|
||||
commitLayoutEffectOnFiber(root, finishedWork.alternate, finishedWork);
|
||||
null !== injectedProfilingHooks &&
|
||||
"function" === typeof injectedProfilingHooks.markLayoutEffectsStopped &&
|
||||
injectedProfilingHooks.markLayoutEffectsStopped();
|
||||
requestPaint();
|
||||
executionContext = prevExecutionContext;
|
||||
currentUpdatePriority = spawnedLane;
|
||||
ReactSharedInternals.T = transitions;
|
||||
} else root.current = finishedWork;
|
||||
rootDoesHavePassiveEffects
|
||||
? ((rootDoesHavePassiveEffects = !1),
|
||||
(rootWithPendingPassiveEffects = root),
|
||||
@@ -10086,21 +10039,21 @@ function wrapFiber(fiber) {
|
||||
fiberToWrapper.set(fiber, wrapper));
|
||||
return wrapper;
|
||||
}
|
||||
var internals$jscomp$inline_1161 = {
|
||||
var internals$jscomp$inline_1158 = {
|
||||
bundleType: 0,
|
||||
version: "19.0.0-native-fb-de43d560-20241009",
|
||||
version: "19.0.0-native-fb-13411e45-20241014",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: function (mockNode) {
|
||||
mockNode = nodeToInstanceMap.get(mockNode);
|
||||
return void 0 !== mockNode ? mockNode.internalInstanceHandle : null;
|
||||
},
|
||||
reconcilerVersion: "19.0.0-native-fb-de43d560-20241009",
|
||||
reconcilerVersion: "19.0.0-native-fb-13411e45-20241014",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$142 = 0;
|
||||
31 > index$142;
|
||||
index$142++
|
||||
var map = new Map(), lane = 1, index$141 = 0;
|
||||
31 > index$141;
|
||||
index$141++
|
||||
) {
|
||||
var label = getLabelForLane(lane);
|
||||
map.set(lane, label);
|
||||
@@ -10113,16 +10066,16 @@ var internals$jscomp$inline_1161 = {
|
||||
}
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1403 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_1400 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_1403.isDisabled &&
|
||||
hook$jscomp$inline_1403.supportsFiber
|
||||
!hook$jscomp$inline_1400.isDisabled &&
|
||||
hook$jscomp$inline_1400.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_1403.inject(
|
||||
internals$jscomp$inline_1161
|
||||
(rendererID = hook$jscomp$inline_1400.inject(
|
||||
internals$jscomp$inline_1158
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_1403);
|
||||
(injectedHook = hook$jscomp$inline_1400);
|
||||
} catch (err) {}
|
||||
}
|
||||
exports._Scheduler = Scheduler;
|
||||
@@ -10246,4 +10199,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.0.0-native-fb-de43d560-20241009";
|
||||
exports.version = "19.0.0-native-fb-13411e45-20241014";
|
||||
|
||||
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<abceb6f8a3bb25376bc2d6dab354f8dc>>
|
||||
* @generated SignedSource<<ed0249c51af69a8407e5d7e810c78372>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -1705,7 +1705,7 @@ __DEV__ &&
|
||||
exports.useTransition = function () {
|
||||
return resolveDispatcher().useTransition();
|
||||
};
|
||||
exports.version = "19.0.0-native-fb-de43d560-20241009";
|
||||
exports.version = "19.0.0-native-fb-13411e45-20241014";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<41bdc7523280c190d7ad20228681a2a1>>
|
||||
* @generated SignedSource<<1f454406414f01790a42f326894564a1>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -581,4 +581,4 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.0.0-native-fb-de43d560-20241009";
|
||||
exports.version = "19.0.0-native-fb-13411e45-20241014";
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<cc7c7cf8460d32b424559f81d4bca5f8>>
|
||||
* @generated SignedSource<<3edb012655cb9bd41ee298ef23477112>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -585,7 +585,7 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.0.0-native-fb-de43d560-20241009";
|
||||
exports.version = "19.0.0-native-fb-13411e45-20241014";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
de43d560a8622fa44ba4162424437125564e906e
|
||||
13411e4589f3d999727c5322781e2dd7bef3b256
|
||||
|
||||
+14
-8
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<0fe6afcc02f97c62359b2f284d84bb0e>>
|
||||
* @generated SignedSource<<6742299ee748c467ac536ba0c3472d61>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -1601,7 +1601,8 @@ __DEV__ &&
|
||||
: ((pingedLanes &= nonIdlePendingLanes),
|
||||
0 !== pingedLanes
|
||||
? (nextLanes = getHighestPriorityLanes(pingedLanes))
|
||||
: root ||
|
||||
: enableSiblingPrerendering &&
|
||||
!root &&
|
||||
((warmLanes = nonIdlePendingLanes & ~warmLanes),
|
||||
0 !== warmLanes &&
|
||||
(nextLanes = getHighestPriorityLanes(warmLanes)))))
|
||||
@@ -1610,7 +1611,8 @@ __DEV__ &&
|
||||
? (nextLanes = getHighestPriorityLanes(nonIdlePendingLanes))
|
||||
: 0 !== pingedLanes
|
||||
? (nextLanes = getHighestPriorityLanes(pingedLanes))
|
||||
: root ||
|
||||
: enableSiblingPrerendering &&
|
||||
!root &&
|
||||
((warmLanes = pendingLanes & ~warmLanes),
|
||||
0 !== warmLanes &&
|
||||
(nextLanes = getHighestPriorityLanes(warmLanes))));
|
||||
@@ -1737,7 +1739,8 @@ __DEV__ &&
|
||||
remainingLanes &= ~lane;
|
||||
}
|
||||
0 !== spawnedLane && markSpawnedDeferredLane(root, spawnedLane, 0);
|
||||
0 !== suspendedRetryLanes &&
|
||||
enableSiblingPrerendering &&
|
||||
0 !== suspendedRetryLanes &&
|
||||
0 === updatedLanes &&
|
||||
(root.suspendedLanes |=
|
||||
suspendedRetryLanes & ~(previouslyPendingLanes & ~finishedLanes));
|
||||
@@ -9086,7 +9089,8 @@ __DEV__ &&
|
||||
((retryQueue =
|
||||
22 !== workInProgress.tag ? claimNextRetryLane() : 536870912),
|
||||
(workInProgress.lanes |= retryQueue),
|
||||
(workInProgressSuspendedRetryLanes |= retryQueue));
|
||||
enableSiblingPrerendering &&
|
||||
(workInProgressSuspendedRetryLanes |= retryQueue));
|
||||
}
|
||||
function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
|
||||
switch (renderState.tailMode) {
|
||||
@@ -12024,7 +12028,9 @@ __DEV__ &&
|
||||
suspendedLanes &= ~workInProgressRootInterleavedUpdatedLanes;
|
||||
root.suspendedLanes |= suspendedLanes;
|
||||
root.pingedLanes &= ~suspendedLanes;
|
||||
didSkipSuspendedSiblings || (root.warmLanes |= suspendedLanes);
|
||||
enableSiblingPrerendering &&
|
||||
!didSkipSuspendedSiblings &&
|
||||
(root.warmLanes |= suspendedLanes);
|
||||
didSkipSuspendedSiblings = root.expirationTimes;
|
||||
for (var lanes = suspendedLanes; 0 < lanes; ) {
|
||||
var index = 31 - clz32(lanes),
|
||||
@@ -16928,11 +16934,11 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.0.0-native-fb-de43d560-20241009",
|
||||
version: "19.0.0-native-fb-13411e45-20241014",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-native-fb-de43d560-20241009"
|
||||
reconcilerVersion: "19.0.0-native-fb-13411e45-20241014"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+14
-8
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<8fc05c9796a486233780f4e08ff11478>>
|
||||
* @generated SignedSource<<2f68287d6c84ddaa4fc2175a680df986>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -1740,7 +1740,8 @@ function getNextLanes(root, wipLanes) {
|
||||
: ((pingedLanes &= nonIdlePendingLanes),
|
||||
0 !== pingedLanes
|
||||
? (nextLanes = getHighestPriorityLanes(pingedLanes))
|
||||
: root ||
|
||||
: enableSiblingPrerendering &&
|
||||
!root &&
|
||||
((warmLanes = nonIdlePendingLanes & ~warmLanes),
|
||||
0 !== warmLanes &&
|
||||
(nextLanes = getHighestPriorityLanes(warmLanes)))))
|
||||
@@ -1749,7 +1750,8 @@ function getNextLanes(root, wipLanes) {
|
||||
? (nextLanes = getHighestPriorityLanes(nonIdlePendingLanes))
|
||||
: 0 !== pingedLanes
|
||||
? (nextLanes = getHighestPriorityLanes(pingedLanes))
|
||||
: root ||
|
||||
: enableSiblingPrerendering &&
|
||||
!root &&
|
||||
((warmLanes = pendingLanes & ~warmLanes),
|
||||
0 !== warmLanes &&
|
||||
(nextLanes = getHighestPriorityLanes(warmLanes))));
|
||||
@@ -1869,7 +1871,8 @@ function markRootFinished(
|
||||
remainingLanes &= ~lane;
|
||||
}
|
||||
0 !== spawnedLane && markSpawnedDeferredLane(root, spawnedLane, 0);
|
||||
0 !== suspendedRetryLanes &&
|
||||
enableSiblingPrerendering &&
|
||||
0 !== suspendedRetryLanes &&
|
||||
0 === updatedLanes &&
|
||||
(root.suspendedLanes |=
|
||||
suspendedRetryLanes & ~(previouslyPendingLanes & ~finishedLanes));
|
||||
@@ -7211,7 +7214,8 @@ function scheduleRetryEffect(workInProgress, retryQueue) {
|
||||
((retryQueue =
|
||||
22 !== workInProgress.tag ? claimNextRetryLane() : 536870912),
|
||||
(workInProgress.lanes |= retryQueue),
|
||||
(workInProgressSuspendedRetryLanes |= retryQueue));
|
||||
enableSiblingPrerendering &&
|
||||
(workInProgressSuspendedRetryLanes |= retryQueue));
|
||||
}
|
||||
function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
|
||||
switch (renderState.tailMode) {
|
||||
@@ -9407,7 +9411,9 @@ function markRootSuspended(
|
||||
suspendedLanes &= ~workInProgressRootInterleavedUpdatedLanes;
|
||||
root.suspendedLanes |= suspendedLanes;
|
||||
root.pingedLanes &= ~suspendedLanes;
|
||||
didSkipSuspendedSiblings || (root.warmLanes |= suspendedLanes);
|
||||
enableSiblingPrerendering &&
|
||||
!didSkipSuspendedSiblings &&
|
||||
(root.warmLanes |= suspendedLanes);
|
||||
didSkipSuspendedSiblings = root.expirationTimes;
|
||||
for (var lanes = suspendedLanes; 0 < lanes; ) {
|
||||
var index$9 = 31 - clz32(lanes),
|
||||
@@ -10868,11 +10874,11 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1170 = {
|
||||
bundleType: 0,
|
||||
version: "19.0.0-native-fb-de43d560-20241009",
|
||||
version: "19.0.0-native-fb-13411e45-20241014",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-native-fb-de43d560-20241009"
|
||||
reconcilerVersion: "19.0.0-native-fb-13411e45-20241014"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1170.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+14
-8
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<4a78b6ea09bf2b7f86be9dca417cfa6b>>
|
||||
* @generated SignedSource<<ba745542754f160b6bbd2ffa46764065>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -1809,7 +1809,8 @@ function getNextLanes(root, wipLanes) {
|
||||
: ((pingedLanes &= nonIdlePendingLanes),
|
||||
0 !== pingedLanes
|
||||
? (nextLanes = getHighestPriorityLanes(pingedLanes))
|
||||
: root ||
|
||||
: enableSiblingPrerendering &&
|
||||
!root &&
|
||||
((warmLanes = nonIdlePendingLanes & ~warmLanes),
|
||||
0 !== warmLanes &&
|
||||
(nextLanes = getHighestPriorityLanes(warmLanes)))))
|
||||
@@ -1818,7 +1819,8 @@ function getNextLanes(root, wipLanes) {
|
||||
? (nextLanes = getHighestPriorityLanes(nonIdlePendingLanes))
|
||||
: 0 !== pingedLanes
|
||||
? (nextLanes = getHighestPriorityLanes(pingedLanes))
|
||||
: root ||
|
||||
: enableSiblingPrerendering &&
|
||||
!root &&
|
||||
((warmLanes = pendingLanes & ~warmLanes),
|
||||
0 !== warmLanes &&
|
||||
(nextLanes = getHighestPriorityLanes(warmLanes))));
|
||||
@@ -1938,7 +1940,8 @@ function markRootFinished(
|
||||
remainingLanes &= ~lane;
|
||||
}
|
||||
0 !== spawnedLane && markSpawnedDeferredLane(root, spawnedLane, 0);
|
||||
0 !== suspendedRetryLanes &&
|
||||
enableSiblingPrerendering &&
|
||||
0 !== suspendedRetryLanes &&
|
||||
0 === updatedLanes &&
|
||||
(root.suspendedLanes |=
|
||||
suspendedRetryLanes & ~(previouslyPendingLanes & ~finishedLanes));
|
||||
@@ -7415,7 +7418,8 @@ function scheduleRetryEffect(workInProgress, retryQueue) {
|
||||
((retryQueue =
|
||||
22 !== workInProgress.tag ? claimNextRetryLane() : 536870912),
|
||||
(workInProgress.lanes |= retryQueue),
|
||||
(workInProgressSuspendedRetryLanes |= retryQueue));
|
||||
enableSiblingPrerendering &&
|
||||
(workInProgressSuspendedRetryLanes |= retryQueue));
|
||||
}
|
||||
function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
|
||||
switch (renderState.tailMode) {
|
||||
@@ -9937,7 +9941,9 @@ function markRootSuspended(
|
||||
suspendedLanes &= ~workInProgressRootInterleavedUpdatedLanes;
|
||||
root.suspendedLanes |= suspendedLanes;
|
||||
root.pingedLanes &= ~suspendedLanes;
|
||||
didSkipSuspendedSiblings || (root.warmLanes |= suspendedLanes);
|
||||
enableSiblingPrerendering &&
|
||||
!didSkipSuspendedSiblings &&
|
||||
(root.warmLanes |= suspendedLanes);
|
||||
didSkipSuspendedSiblings = root.expirationTimes;
|
||||
for (var lanes = suspendedLanes; 0 < lanes; ) {
|
||||
var index$9 = 31 - clz32(lanes),
|
||||
@@ -11529,11 +11535,11 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1258 = {
|
||||
bundleType: 0,
|
||||
version: "19.0.0-native-fb-de43d560-20241009",
|
||||
version: "19.0.0-native-fb-13411e45-20241014",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-native-fb-de43d560-20241009"
|
||||
reconcilerVersion: "19.0.0-native-fb-13411e45-20241014"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1258.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+16
-10
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<72710cfc1a334507c73289cd75a075fb>>
|
||||
* @generated SignedSource<<c12e550aa890c4678c927c5bec385b06>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -1697,7 +1697,8 @@ __DEV__ &&
|
||||
: ((pingedLanes &= nonIdlePendingLanes),
|
||||
0 !== pingedLanes
|
||||
? (nextLanes = getHighestPriorityLanes(pingedLanes))
|
||||
: root ||
|
||||
: enableSiblingPrerendering &&
|
||||
!root &&
|
||||
((warmLanes = nonIdlePendingLanes & ~warmLanes),
|
||||
0 !== warmLanes &&
|
||||
(nextLanes = getHighestPriorityLanes(warmLanes)))))
|
||||
@@ -1706,7 +1707,8 @@ __DEV__ &&
|
||||
? (nextLanes = getHighestPriorityLanes(nonIdlePendingLanes))
|
||||
: 0 !== pingedLanes
|
||||
? (nextLanes = getHighestPriorityLanes(pingedLanes))
|
||||
: root ||
|
||||
: enableSiblingPrerendering &&
|
||||
!root &&
|
||||
((warmLanes = pendingLanes & ~warmLanes),
|
||||
0 !== warmLanes &&
|
||||
(nextLanes = getHighestPriorityLanes(warmLanes))));
|
||||
@@ -1833,7 +1835,8 @@ __DEV__ &&
|
||||
remainingLanes &= ~lane;
|
||||
}
|
||||
0 !== spawnedLane && markSpawnedDeferredLane(root, spawnedLane, 0);
|
||||
0 !== suspendedRetryLanes &&
|
||||
enableSiblingPrerendering &&
|
||||
0 !== suspendedRetryLanes &&
|
||||
0 === updatedLanes &&
|
||||
(root.suspendedLanes |=
|
||||
suspendedRetryLanes & ~(previouslyPendingLanes & ~finishedLanes));
|
||||
@@ -9196,7 +9199,8 @@ __DEV__ &&
|
||||
((retryQueue =
|
||||
22 !== workInProgress.tag ? claimNextRetryLane() : 536870912),
|
||||
(workInProgress.lanes |= retryQueue),
|
||||
(workInProgressSuspendedRetryLanes |= retryQueue));
|
||||
enableSiblingPrerendering &&
|
||||
(workInProgressSuspendedRetryLanes |= retryQueue));
|
||||
}
|
||||
function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
|
||||
switch (renderState.tailMode) {
|
||||
@@ -12386,7 +12390,9 @@ __DEV__ &&
|
||||
suspendedLanes &= ~workInProgressRootInterleavedUpdatedLanes;
|
||||
root.suspendedLanes |= suspendedLanes;
|
||||
root.pingedLanes &= ~suspendedLanes;
|
||||
didSkipSuspendedSiblings || (root.warmLanes |= suspendedLanes);
|
||||
enableSiblingPrerendering &&
|
||||
!didSkipSuspendedSiblings &&
|
||||
(root.warmLanes |= suspendedLanes);
|
||||
didSkipSuspendedSiblings = root.expirationTimes;
|
||||
for (var lanes = suspendedLanes; 0 < lanes; ) {
|
||||
var index = 31 - clz32(lanes),
|
||||
@@ -17149,11 +17155,11 @@ __DEV__ &&
|
||||
shouldSuspendImpl = newShouldSuspendImpl;
|
||||
};
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.0.0-native-fb-de43d560-20241009" !== isomorphicReactPackageVersion)
|
||||
if ("19.0.0-native-fb-13411e45-20241014" !== isomorphicReactPackageVersion)
|
||||
throw Error(
|
||||
'Incompatible React versions: The "react" and "react-native-renderer" packages must have the exact same version. Instead got:\n - react: ' +
|
||||
(isomorphicReactPackageVersion +
|
||||
"\n - react-native-renderer: 19.0.0-native-fb-de43d560-20241009\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.0.0-native-fb-13411e45-20241014\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -17179,11 +17185,11 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.0.0-native-fb-de43d560-20241009",
|
||||
version: "19.0.0-native-fb-13411e45-20241014",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getInstanceFromTag,
|
||||
reconcilerVersion: "19.0.0-native-fb-de43d560-20241009"
|
||||
reconcilerVersion: "19.0.0-native-fb-13411e45-20241014"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+16
-10
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<d57e82aee366b4ff9a07902e8b4c7777>>
|
||||
* @generated SignedSource<<da9cbbab4134932713605c7ca8fd8547>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -1947,7 +1947,8 @@ function getNextLanes(root, wipLanes) {
|
||||
: ((pingedLanes &= nonIdlePendingLanes),
|
||||
0 !== pingedLanes
|
||||
? (nextLanes = getHighestPriorityLanes(pingedLanes))
|
||||
: root ||
|
||||
: enableSiblingPrerendering &&
|
||||
!root &&
|
||||
((warmLanes = nonIdlePendingLanes & ~warmLanes),
|
||||
0 !== warmLanes &&
|
||||
(nextLanes = getHighestPriorityLanes(warmLanes)))))
|
||||
@@ -1956,7 +1957,8 @@ function getNextLanes(root, wipLanes) {
|
||||
? (nextLanes = getHighestPriorityLanes(nonIdlePendingLanes))
|
||||
: 0 !== pingedLanes
|
||||
? (nextLanes = getHighestPriorityLanes(pingedLanes))
|
||||
: root ||
|
||||
: enableSiblingPrerendering &&
|
||||
!root &&
|
||||
((warmLanes = pendingLanes & ~warmLanes),
|
||||
0 !== warmLanes &&
|
||||
(nextLanes = getHighestPriorityLanes(warmLanes))));
|
||||
@@ -2076,7 +2078,8 @@ function markRootFinished(
|
||||
remainingLanes &= ~lane;
|
||||
}
|
||||
0 !== spawnedLane && markSpawnedDeferredLane(root, spawnedLane, 0);
|
||||
0 !== suspendedRetryLanes &&
|
||||
enableSiblingPrerendering &&
|
||||
0 !== suspendedRetryLanes &&
|
||||
0 === updatedLanes &&
|
||||
(root.suspendedLanes |=
|
||||
suspendedRetryLanes & ~(previouslyPendingLanes & ~finishedLanes));
|
||||
@@ -7387,7 +7390,8 @@ function scheduleRetryEffect(workInProgress, retryQueue) {
|
||||
((retryQueue =
|
||||
22 !== workInProgress.tag ? claimNextRetryLane() : 536870912),
|
||||
(workInProgress.lanes |= retryQueue),
|
||||
(workInProgressSuspendedRetryLanes |= retryQueue));
|
||||
enableSiblingPrerendering &&
|
||||
(workInProgressSuspendedRetryLanes |= retryQueue));
|
||||
}
|
||||
function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
|
||||
switch (renderState.tailMode) {
|
||||
@@ -9841,7 +9845,9 @@ function markRootSuspended(
|
||||
suspendedLanes &= ~workInProgressRootInterleavedUpdatedLanes;
|
||||
root.suspendedLanes |= suspendedLanes;
|
||||
root.pingedLanes &= ~suspendedLanes;
|
||||
didSkipSuspendedSiblings || (root.warmLanes |= suspendedLanes);
|
||||
enableSiblingPrerendering &&
|
||||
!didSkipSuspendedSiblings &&
|
||||
(root.warmLanes |= suspendedLanes);
|
||||
didSkipSuspendedSiblings = root.expirationTimes;
|
||||
for (var lanes = suspendedLanes; 0 < lanes; ) {
|
||||
var index$11 = 31 - clz32(lanes),
|
||||
@@ -10999,11 +11005,11 @@ function updateContainer(element, container, parentComponent, callback) {
|
||||
return lane;
|
||||
}
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.0.0-native-fb-de43d560-20241009" !== isomorphicReactPackageVersion)
|
||||
if ("19.0.0-native-fb-13411e45-20241014" !== isomorphicReactPackageVersion)
|
||||
throw Error(
|
||||
'Incompatible React versions: The "react" and "react-native-renderer" packages must have the exact same version. Instead got:\n - react: ' +
|
||||
(isomorphicReactPackageVersion +
|
||||
"\n - react-native-renderer: 19.0.0-native-fb-de43d560-20241009\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.0.0-native-fb-13411e45-20241014\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -11052,11 +11058,11 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1236 = {
|
||||
bundleType: 0,
|
||||
version: "19.0.0-native-fb-de43d560-20241009",
|
||||
version: "19.0.0-native-fb-13411e45-20241014",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getInstanceFromTag,
|
||||
reconcilerVersion: "19.0.0-native-fb-de43d560-20241009"
|
||||
reconcilerVersion: "19.0.0-native-fb-13411e45-20241014"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1236.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+16
-10
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<2cae2d5bed62bc779e2ef621b0707f25>>
|
||||
* @generated SignedSource<<38d0a34423a9232e268f011b350e3b8e>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -2016,7 +2016,8 @@ function getNextLanes(root, wipLanes) {
|
||||
: ((pingedLanes &= nonIdlePendingLanes),
|
||||
0 !== pingedLanes
|
||||
? (nextLanes = getHighestPriorityLanes(pingedLanes))
|
||||
: root ||
|
||||
: enableSiblingPrerendering &&
|
||||
!root &&
|
||||
((warmLanes = nonIdlePendingLanes & ~warmLanes),
|
||||
0 !== warmLanes &&
|
||||
(nextLanes = getHighestPriorityLanes(warmLanes)))))
|
||||
@@ -2025,7 +2026,8 @@ function getNextLanes(root, wipLanes) {
|
||||
? (nextLanes = getHighestPriorityLanes(nonIdlePendingLanes))
|
||||
: 0 !== pingedLanes
|
||||
? (nextLanes = getHighestPriorityLanes(pingedLanes))
|
||||
: root ||
|
||||
: enableSiblingPrerendering &&
|
||||
!root &&
|
||||
((warmLanes = pendingLanes & ~warmLanes),
|
||||
0 !== warmLanes &&
|
||||
(nextLanes = getHighestPriorityLanes(warmLanes))));
|
||||
@@ -2145,7 +2147,8 @@ function markRootFinished(
|
||||
remainingLanes &= ~lane;
|
||||
}
|
||||
0 !== spawnedLane && markSpawnedDeferredLane(root, spawnedLane, 0);
|
||||
0 !== suspendedRetryLanes &&
|
||||
enableSiblingPrerendering &&
|
||||
0 !== suspendedRetryLanes &&
|
||||
0 === updatedLanes &&
|
||||
(root.suspendedLanes |=
|
||||
suspendedRetryLanes & ~(previouslyPendingLanes & ~finishedLanes));
|
||||
@@ -7591,7 +7594,8 @@ function scheduleRetryEffect(workInProgress, retryQueue) {
|
||||
((retryQueue =
|
||||
22 !== workInProgress.tag ? claimNextRetryLane() : 536870912),
|
||||
(workInProgress.lanes |= retryQueue),
|
||||
(workInProgressSuspendedRetryLanes |= retryQueue));
|
||||
enableSiblingPrerendering &&
|
||||
(workInProgressSuspendedRetryLanes |= retryQueue));
|
||||
}
|
||||
function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
|
||||
switch (renderState.tailMode) {
|
||||
@@ -10370,7 +10374,9 @@ function markRootSuspended(
|
||||
suspendedLanes &= ~workInProgressRootInterleavedUpdatedLanes;
|
||||
root.suspendedLanes |= suspendedLanes;
|
||||
root.pingedLanes &= ~suspendedLanes;
|
||||
didSkipSuspendedSiblings || (root.warmLanes |= suspendedLanes);
|
||||
enableSiblingPrerendering &&
|
||||
!didSkipSuspendedSiblings &&
|
||||
(root.warmLanes |= suspendedLanes);
|
||||
didSkipSuspendedSiblings = root.expirationTimes;
|
||||
for (var lanes = suspendedLanes; 0 < lanes; ) {
|
||||
var index$11 = 31 - clz32(lanes),
|
||||
@@ -11659,11 +11665,11 @@ function updateContainer(element, container, parentComponent, callback) {
|
||||
return lane;
|
||||
}
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.0.0-native-fb-de43d560-20241009" !== isomorphicReactPackageVersion)
|
||||
if ("19.0.0-native-fb-13411e45-20241014" !== isomorphicReactPackageVersion)
|
||||
throw Error(
|
||||
'Incompatible React versions: The "react" and "react-native-renderer" packages must have the exact same version. Instead got:\n - react: ' +
|
||||
(isomorphicReactPackageVersion +
|
||||
"\n - react-native-renderer: 19.0.0-native-fb-de43d560-20241009\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.0.0-native-fb-13411e45-20241014\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -11712,11 +11718,11 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1324 = {
|
||||
bundleType: 0,
|
||||
version: "19.0.0-native-fb-de43d560-20241009",
|
||||
version: "19.0.0-native-fb-13411e45-20241014",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getInstanceFromTag,
|
||||
reconcilerVersion: "19.0.0-native-fb-de43d560-20241009"
|
||||
reconcilerVersion: "19.0.0-native-fb-13411e45-20241014"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1324.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
Reference in New Issue
Block a user