mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
[Fiber] Fix hydration of useId in SuspenseList (#33491)
Includes #31412.
The issue is that `pushTreeFork` stores some global state when reconcile
children. This gets popped by `popTreeContext` in `completeWork`.
Normally `completeWork` returns its own `Fiber` again if it wants to do
a second pass which will call `pushTreeFork` again in the next pass.
However, `SuspenseList` doesn't return itself, it returns the next child
to work on.
The fix is to keep track of the count and push it again it when we
return the next child to attempt.
There are still some outstanding issues with hydration. Like the
backwards test still has the wrong behavior in it because it hydrates
backwards and so it picks up the DOM nodes in reverse order.
`tail="hidden"` also doesn't work correctly.
There's also another issue with `useId` and `AsyncIterable` in
SuspenseList when there's an unknown number of children. We don't
support those showing one at a time yet though so it's not an issue yet.
To fix it we need to add variable total count to the `useId` algorithm.
E.g. by falling back to varint encoding.
---------
Co-authored-by: Rick Hanlon <rickhanlonii@fb.com>
Co-authored-by: Ricky <rickhanlonii@gmail.com>
DiffTrain build for [c38e268978](https://github.com/facebook/react/commit/c38e26897848374c34ac6b651fce4a9088ed4dd0)
This commit is contained in:
co-authored by
Rick Hanlon
Ricky
parent
8b8eae7c2b
commit
07f9b02426
@@ -1 +1 @@
|
||||
19.2.0-native-fb-4df098c4-20250609
|
||||
19.2.0-native-fb-c38e2689-20250609
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<da75df0cd587f7e80d7be0034ae4ad1a>>
|
||||
* @generated SignedSource<<f660a097df86c854e2c5ddc26ec6b5d8>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -404,5 +404,5 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-4df098c4-20250609";
|
||||
exports.version = "19.2.0-native-fb-c38e2689-20250609";
|
||||
})();
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<46bffb43a8819cf9fa4a1cef9499b2e5>>
|
||||
* @generated SignedSource<<62f37a389aea3724c49e6baca478992f>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-4df098c4-20250609";
|
||||
exports.version = "19.2.0-native-fb-c38e2689-20250609";
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<46bffb43a8819cf9fa4a1cef9499b2e5>>
|
||||
* @generated SignedSource<<62f37a389aea3724c49e6baca478992f>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-4df098c4-20250609";
|
||||
exports.version = "19.2.0-native-fb-c38e2689-20250609";
|
||||
|
||||
Vendored
+184
-170
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<dc055e9593866e408578e43032e1a4cd>>
|
||||
* @generated SignedSource<<ca5da946891018cff8d61899bde03d0c>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -10058,24 +10058,24 @@ __DEV__ &&
|
||||
return current;
|
||||
}
|
||||
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
||||
var JSCompiler_object_inline_digest_2670;
|
||||
var JSCompiler_object_inline_stack_2671 = workInProgress.pendingProps;
|
||||
var JSCompiler_object_inline_digest_2673;
|
||||
var JSCompiler_object_inline_stack_2674 = workInProgress.pendingProps;
|
||||
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
||||
var JSCompiler_object_inline_message_2669 = !1;
|
||||
var JSCompiler_object_inline_message_2672 = !1;
|
||||
var didSuspend = 0 !== (workInProgress.flags & 128);
|
||||
(JSCompiler_object_inline_digest_2670 = didSuspend) ||
|
||||
(JSCompiler_object_inline_digest_2670 =
|
||||
(JSCompiler_object_inline_digest_2673 = didSuspend) ||
|
||||
(JSCompiler_object_inline_digest_2673 =
|
||||
null !== current && null === current.memoizedState
|
||||
? !1
|
||||
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
||||
JSCompiler_object_inline_digest_2670 &&
|
||||
((JSCompiler_object_inline_message_2669 = !0),
|
||||
JSCompiler_object_inline_digest_2673 &&
|
||||
((JSCompiler_object_inline_message_2672 = !0),
|
||||
(workInProgress.flags &= -129));
|
||||
JSCompiler_object_inline_digest_2670 = 0 !== (workInProgress.flags & 32);
|
||||
JSCompiler_object_inline_digest_2673 = 0 !== (workInProgress.flags & 32);
|
||||
workInProgress.flags &= -33;
|
||||
if (null === current) {
|
||||
if (isHydrating) {
|
||||
JSCompiler_object_inline_message_2669
|
||||
JSCompiler_object_inline_message_2672
|
||||
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
||||
: reuseSuspenseHandlerOnStack(workInProgress);
|
||||
(renderLanes = nextHydratableInstance)
|
||||
@@ -10088,18 +10088,18 @@ __DEV__ &&
|
||||
? current
|
||||
: null),
|
||||
null !== current &&
|
||||
((JSCompiler_object_inline_digest_2670 = {
|
||||
((JSCompiler_object_inline_digest_2673 = {
|
||||
dehydrated: current,
|
||||
treeContext: getSuspendedTreeContext(),
|
||||
retryLane: 536870912,
|
||||
hydrationErrors: null
|
||||
}),
|
||||
(workInProgress.memoizedState =
|
||||
JSCompiler_object_inline_digest_2670),
|
||||
(JSCompiler_object_inline_digest_2670 =
|
||||
JSCompiler_object_inline_digest_2673),
|
||||
(JSCompiler_object_inline_digest_2673 =
|
||||
createFiberFromDehydratedFragment(current)),
|
||||
(JSCompiler_object_inline_digest_2670.return = workInProgress),
|
||||
(workInProgress.child = JSCompiler_object_inline_digest_2670),
|
||||
(JSCompiler_object_inline_digest_2673.return = workInProgress),
|
||||
(workInProgress.child = JSCompiler_object_inline_digest_2673),
|
||||
(hydrationParentFiber = workInProgress),
|
||||
(nextHydratableInstance = null)))
|
||||
: (current = null);
|
||||
@@ -10113,12 +10113,12 @@ __DEV__ &&
|
||||
: (workInProgress.lanes = 536870912);
|
||||
return null;
|
||||
}
|
||||
var nextPrimaryChildren = JSCompiler_object_inline_stack_2671.children,
|
||||
nextFallbackChildren = JSCompiler_object_inline_stack_2671.fallback;
|
||||
if (JSCompiler_object_inline_message_2669)
|
||||
var nextPrimaryChildren = JSCompiler_object_inline_stack_2674.children,
|
||||
nextFallbackChildren = JSCompiler_object_inline_stack_2674.fallback;
|
||||
if (JSCompiler_object_inline_message_2672)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_stack_2671 =
|
||||
(JSCompiler_object_inline_stack_2674 =
|
||||
mountSuspenseFallbackChildren(
|
||||
workInProgress,
|
||||
nextPrimaryChildren,
|
||||
@@ -10130,19 +10130,19 @@ __DEV__ &&
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2670,
|
||||
JSCompiler_object_inline_digest_2673,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
JSCompiler_object_inline_stack_2671
|
||||
JSCompiler_object_inline_stack_2674
|
||||
);
|
||||
if (
|
||||
"number" ===
|
||||
typeof JSCompiler_object_inline_stack_2671.unstable_expectedLoadTime
|
||||
typeof JSCompiler_object_inline_stack_2674.unstable_expectedLoadTime
|
||||
)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_stack_2671 =
|
||||
(JSCompiler_object_inline_stack_2674 =
|
||||
mountSuspenseFallbackChildren(
|
||||
workInProgress,
|
||||
nextPrimaryChildren,
|
||||
@@ -10154,12 +10154,12 @@ __DEV__ &&
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2670,
|
||||
JSCompiler_object_inline_digest_2673,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
(workInProgress.lanes = 4194304),
|
||||
JSCompiler_object_inline_stack_2671
|
||||
JSCompiler_object_inline_stack_2674
|
||||
);
|
||||
pushPrimaryTreeSuspenseHandler(workInProgress);
|
||||
return mountSuspensePrimaryChildren(
|
||||
@@ -10169,8 +10169,8 @@ __DEV__ &&
|
||||
}
|
||||
var prevState = current.memoizedState;
|
||||
if (null !== prevState) {
|
||||
var JSCompiler_object_inline_componentStack_2672 = prevState.dehydrated;
|
||||
if (null !== JSCompiler_object_inline_componentStack_2672) {
|
||||
var JSCompiler_object_inline_componentStack_2675 = prevState.dehydrated;
|
||||
if (null !== JSCompiler_object_inline_componentStack_2675) {
|
||||
if (didSuspend)
|
||||
workInProgress.flags & 256
|
||||
? (pushPrimaryTreeSuspenseHandler(workInProgress),
|
||||
@@ -10187,13 +10187,13 @@ __DEV__ &&
|
||||
(workInProgress = null))
|
||||
: (reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(nextPrimaryChildren =
|
||||
JSCompiler_object_inline_stack_2671.fallback),
|
||||
JSCompiler_object_inline_stack_2674.fallback),
|
||||
(nextFallbackChildren = workInProgress.mode),
|
||||
(JSCompiler_object_inline_stack_2671 =
|
||||
(JSCompiler_object_inline_stack_2674 =
|
||||
mountWorkInProgressOffscreenFiber(
|
||||
{
|
||||
mode: "visible",
|
||||
children: JSCompiler_object_inline_stack_2671.children
|
||||
children: JSCompiler_object_inline_stack_2674.children
|
||||
},
|
||||
nextFallbackChildren
|
||||
)),
|
||||
@@ -10204,11 +10204,11 @@ __DEV__ &&
|
||||
null
|
||||
)),
|
||||
(nextPrimaryChildren.flags |= 2),
|
||||
(JSCompiler_object_inline_stack_2671.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2674.return = workInProgress),
|
||||
(nextPrimaryChildren.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2671.sibling =
|
||||
(JSCompiler_object_inline_stack_2674.sibling =
|
||||
nextPrimaryChildren),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2671),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2674),
|
||||
(workInProgress.mode & ConcurrentMode) !== NoMode &&
|
||||
reconcileChildFibers(
|
||||
workInProgress,
|
||||
@@ -10216,13 +10216,13 @@ __DEV__ &&
|
||||
null,
|
||||
renderLanes
|
||||
),
|
||||
(JSCompiler_object_inline_stack_2671 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2671.memoizedState =
|
||||
(JSCompiler_object_inline_stack_2674 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2674.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_stack_2671.childLanes =
|
||||
(JSCompiler_object_inline_stack_2674.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2670,
|
||||
JSCompiler_object_inline_digest_2673,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
@@ -10231,45 +10231,45 @@ __DEV__ &&
|
||||
(pushPrimaryTreeSuspenseHandler(workInProgress),
|
||||
warnIfHydrating(),
|
||||
isSuspenseInstanceFallback(
|
||||
JSCompiler_object_inline_componentStack_2672
|
||||
JSCompiler_object_inline_componentStack_2675
|
||||
))
|
||||
) {
|
||||
JSCompiler_object_inline_digest_2670 =
|
||||
JSCompiler_object_inline_componentStack_2672.nextSibling &&
|
||||
JSCompiler_object_inline_componentStack_2672.nextSibling.dataset;
|
||||
if (JSCompiler_object_inline_digest_2670) {
|
||||
nextPrimaryChildren = JSCompiler_object_inline_digest_2670.dgst;
|
||||
var message = JSCompiler_object_inline_digest_2670.msg;
|
||||
nextFallbackChildren = JSCompiler_object_inline_digest_2670.stck;
|
||||
var componentStack = JSCompiler_object_inline_digest_2670.cstck;
|
||||
JSCompiler_object_inline_digest_2673 =
|
||||
JSCompiler_object_inline_componentStack_2675.nextSibling &&
|
||||
JSCompiler_object_inline_componentStack_2675.nextSibling.dataset;
|
||||
if (JSCompiler_object_inline_digest_2673) {
|
||||
nextPrimaryChildren = JSCompiler_object_inline_digest_2673.dgst;
|
||||
var message = JSCompiler_object_inline_digest_2673.msg;
|
||||
nextFallbackChildren = JSCompiler_object_inline_digest_2673.stck;
|
||||
var componentStack = JSCompiler_object_inline_digest_2673.cstck;
|
||||
}
|
||||
JSCompiler_object_inline_message_2669 = message;
|
||||
JSCompiler_object_inline_digest_2670 = nextPrimaryChildren;
|
||||
JSCompiler_object_inline_stack_2671 = nextFallbackChildren;
|
||||
JSCompiler_object_inline_componentStack_2672 = componentStack;
|
||||
nextPrimaryChildren = JSCompiler_object_inline_message_2669;
|
||||
nextFallbackChildren = JSCompiler_object_inline_componentStack_2672;
|
||||
JSCompiler_object_inline_message_2672 = message;
|
||||
JSCompiler_object_inline_digest_2673 = nextPrimaryChildren;
|
||||
JSCompiler_object_inline_stack_2674 = nextFallbackChildren;
|
||||
JSCompiler_object_inline_componentStack_2675 = componentStack;
|
||||
nextPrimaryChildren = JSCompiler_object_inline_message_2672;
|
||||
nextFallbackChildren = JSCompiler_object_inline_componentStack_2675;
|
||||
nextPrimaryChildren = nextPrimaryChildren
|
||||
? Error(nextPrimaryChildren)
|
||||
: Error(
|
||||
"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
|
||||
);
|
||||
nextPrimaryChildren.stack =
|
||||
JSCompiler_object_inline_stack_2671 || "";
|
||||
nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2670;
|
||||
JSCompiler_object_inline_digest_2670 =
|
||||
JSCompiler_object_inline_stack_2674 || "";
|
||||
nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2673;
|
||||
JSCompiler_object_inline_digest_2673 =
|
||||
void 0 === nextFallbackChildren ? null : nextFallbackChildren;
|
||||
JSCompiler_object_inline_stack_2671 = {
|
||||
JSCompiler_object_inline_stack_2674 = {
|
||||
value: nextPrimaryChildren,
|
||||
source: null,
|
||||
stack: JSCompiler_object_inline_digest_2670
|
||||
stack: JSCompiler_object_inline_digest_2673
|
||||
};
|
||||
"string" === typeof JSCompiler_object_inline_digest_2670 &&
|
||||
"string" === typeof JSCompiler_object_inline_digest_2673 &&
|
||||
CapturedStacks.set(
|
||||
nextPrimaryChildren,
|
||||
JSCompiler_object_inline_stack_2671
|
||||
JSCompiler_object_inline_stack_2674
|
||||
);
|
||||
queueHydrationError(JSCompiler_object_inline_stack_2671);
|
||||
queueHydrationError(JSCompiler_object_inline_stack_2674);
|
||||
workInProgress = retrySuspenseComponentWithoutHydrating(
|
||||
current,
|
||||
workInProgress,
|
||||
@@ -10283,35 +10283,35 @@ __DEV__ &&
|
||||
renderLanes,
|
||||
!1
|
||||
),
|
||||
(JSCompiler_object_inline_digest_2670 =
|
||||
(JSCompiler_object_inline_digest_2673 =
|
||||
0 !== (renderLanes & current.childLanes)),
|
||||
didReceiveUpdate || JSCompiler_object_inline_digest_2670)
|
||||
didReceiveUpdate || JSCompiler_object_inline_digest_2673)
|
||||
) {
|
||||
JSCompiler_object_inline_digest_2670 = workInProgressRoot;
|
||||
JSCompiler_object_inline_digest_2673 = workInProgressRoot;
|
||||
if (
|
||||
null !== JSCompiler_object_inline_digest_2670 &&
|
||||
((JSCompiler_object_inline_stack_2671 = getBumpedLaneForHydration(
|
||||
JSCompiler_object_inline_digest_2670,
|
||||
null !== JSCompiler_object_inline_digest_2673 &&
|
||||
((JSCompiler_object_inline_stack_2674 = getBumpedLaneForHydration(
|
||||
JSCompiler_object_inline_digest_2673,
|
||||
renderLanes
|
||||
)),
|
||||
0 !== JSCompiler_object_inline_stack_2671 &&
|
||||
JSCompiler_object_inline_stack_2671 !== prevState.retryLane)
|
||||
0 !== JSCompiler_object_inline_stack_2674 &&
|
||||
JSCompiler_object_inline_stack_2674 !== prevState.retryLane)
|
||||
)
|
||||
throw (
|
||||
((prevState.retryLane = JSCompiler_object_inline_stack_2671),
|
||||
((prevState.retryLane = JSCompiler_object_inline_stack_2674),
|
||||
enqueueConcurrentRenderForLane(
|
||||
current,
|
||||
JSCompiler_object_inline_stack_2671
|
||||
JSCompiler_object_inline_stack_2674
|
||||
),
|
||||
scheduleUpdateOnFiber(
|
||||
JSCompiler_object_inline_digest_2670,
|
||||
JSCompiler_object_inline_digest_2673,
|
||||
current,
|
||||
JSCompiler_object_inline_stack_2671
|
||||
JSCompiler_object_inline_stack_2674
|
||||
),
|
||||
SelectiveHydrationException)
|
||||
);
|
||||
isSuspenseInstancePending(
|
||||
JSCompiler_object_inline_componentStack_2672
|
||||
JSCompiler_object_inline_componentStack_2675
|
||||
) || renderDidSuspendDelayIfPossible();
|
||||
workInProgress = retrySuspenseComponentWithoutHydrating(
|
||||
current,
|
||||
@@ -10320,14 +10320,14 @@ __DEV__ &&
|
||||
);
|
||||
} else
|
||||
isSuspenseInstancePending(
|
||||
JSCompiler_object_inline_componentStack_2672
|
||||
JSCompiler_object_inline_componentStack_2675
|
||||
)
|
||||
? ((workInProgress.flags |= 192),
|
||||
(workInProgress.child = current.child),
|
||||
(workInProgress = null))
|
||||
: ((renderLanes = prevState.treeContext),
|
||||
(nextHydratableInstance = getNextHydratable(
|
||||
JSCompiler_object_inline_componentStack_2672.nextSibling
|
||||
JSCompiler_object_inline_componentStack_2675.nextSibling
|
||||
)),
|
||||
(hydrationParentFiber = workInProgress),
|
||||
(isHydrating = !0),
|
||||
@@ -10339,47 +10339,47 @@ __DEV__ &&
|
||||
restoreSuspendedTreeContext(workInProgress, renderLanes),
|
||||
(workInProgress = mountSuspensePrimaryChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_stack_2671.children
|
||||
JSCompiler_object_inline_stack_2674.children
|
||||
)),
|
||||
(workInProgress.flags |= 4096));
|
||||
return workInProgress;
|
||||
}
|
||||
}
|
||||
if (JSCompiler_object_inline_message_2669)
|
||||
if (JSCompiler_object_inline_message_2672)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(nextPrimaryChildren = JSCompiler_object_inline_stack_2671.fallback),
|
||||
(nextPrimaryChildren = JSCompiler_object_inline_stack_2674.fallback),
|
||||
(nextFallbackChildren = workInProgress.mode),
|
||||
(componentStack = current.child),
|
||||
(JSCompiler_object_inline_componentStack_2672 =
|
||||
(JSCompiler_object_inline_componentStack_2675 =
|
||||
componentStack.sibling),
|
||||
(JSCompiler_object_inline_message_2669 = {
|
||||
(JSCompiler_object_inline_message_2672 = {
|
||||
mode: "hidden",
|
||||
children: JSCompiler_object_inline_stack_2671.children
|
||||
children: JSCompiler_object_inline_stack_2674.children
|
||||
}),
|
||||
(nextFallbackChildren & ConcurrentMode) === NoMode &&
|
||||
workInProgress.child !== componentStack
|
||||
? ((JSCompiler_object_inline_stack_2671 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2671.childLanes = 0),
|
||||
(JSCompiler_object_inline_stack_2671.pendingProps =
|
||||
JSCompiler_object_inline_message_2669),
|
||||
? ((JSCompiler_object_inline_stack_2674 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2674.childLanes = 0),
|
||||
(JSCompiler_object_inline_stack_2674.pendingProps =
|
||||
JSCompiler_object_inline_message_2672),
|
||||
workInProgress.mode & ProfileMode &&
|
||||
((JSCompiler_object_inline_stack_2671.actualDuration = -0),
|
||||
(JSCompiler_object_inline_stack_2671.actualStartTime = -1.1),
|
||||
(JSCompiler_object_inline_stack_2671.selfBaseDuration =
|
||||
((JSCompiler_object_inline_stack_2674.actualDuration = -0),
|
||||
(JSCompiler_object_inline_stack_2674.actualStartTime = -1.1),
|
||||
(JSCompiler_object_inline_stack_2674.selfBaseDuration =
|
||||
componentStack.selfBaseDuration),
|
||||
(JSCompiler_object_inline_stack_2671.treeBaseDuration =
|
||||
(JSCompiler_object_inline_stack_2674.treeBaseDuration =
|
||||
componentStack.treeBaseDuration)),
|
||||
(workInProgress.deletions = null))
|
||||
: ((JSCompiler_object_inline_stack_2671 = createWorkInProgress(
|
||||
: ((JSCompiler_object_inline_stack_2674 = createWorkInProgress(
|
||||
componentStack,
|
||||
JSCompiler_object_inline_message_2669
|
||||
JSCompiler_object_inline_message_2672
|
||||
)),
|
||||
(JSCompiler_object_inline_stack_2671.subtreeFlags =
|
||||
(JSCompiler_object_inline_stack_2674.subtreeFlags =
|
||||
componentStack.subtreeFlags & 65011712)),
|
||||
null !== JSCompiler_object_inline_componentStack_2672
|
||||
null !== JSCompiler_object_inline_componentStack_2675
|
||||
? (nextPrimaryChildren = createWorkInProgress(
|
||||
JSCompiler_object_inline_componentStack_2672,
|
||||
JSCompiler_object_inline_componentStack_2675,
|
||||
nextPrimaryChildren
|
||||
))
|
||||
: ((nextPrimaryChildren = createFiberFromFragment(
|
||||
@@ -10390,24 +10390,24 @@ __DEV__ &&
|
||||
)),
|
||||
(nextPrimaryChildren.flags |= 2)),
|
||||
(nextPrimaryChildren.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2671.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2671.sibling = nextPrimaryChildren),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2671),
|
||||
(JSCompiler_object_inline_stack_2671 = nextPrimaryChildren),
|
||||
(JSCompiler_object_inline_stack_2674.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2674.sibling = nextPrimaryChildren),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2674),
|
||||
(JSCompiler_object_inline_stack_2674 = nextPrimaryChildren),
|
||||
(nextPrimaryChildren = workInProgress.child),
|
||||
(nextFallbackChildren = current.child.memoizedState),
|
||||
null === nextFallbackChildren
|
||||
? (nextFallbackChildren = mountSuspenseOffscreenState(renderLanes))
|
||||
: ((componentStack = nextFallbackChildren.cachePool),
|
||||
null !== componentStack
|
||||
? ((JSCompiler_object_inline_componentStack_2672 =
|
||||
? ((JSCompiler_object_inline_componentStack_2675 =
|
||||
CacheContext._currentValue),
|
||||
(componentStack =
|
||||
componentStack.parent !==
|
||||
JSCompiler_object_inline_componentStack_2672
|
||||
JSCompiler_object_inline_componentStack_2675
|
||||
? {
|
||||
parent: JSCompiler_object_inline_componentStack_2672,
|
||||
pool: JSCompiler_object_inline_componentStack_2672
|
||||
parent: JSCompiler_object_inline_componentStack_2675,
|
||||
pool: JSCompiler_object_inline_componentStack_2675
|
||||
}
|
||||
: componentStack))
|
||||
: (componentStack = getSuspendedCache()),
|
||||
@@ -10418,35 +10418,35 @@ __DEV__ &&
|
||||
(nextPrimaryChildren.memoizedState = nextFallbackChildren),
|
||||
(nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2670,
|
||||
JSCompiler_object_inline_digest_2673,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
JSCompiler_object_inline_stack_2671
|
||||
JSCompiler_object_inline_stack_2674
|
||||
);
|
||||
pushPrimaryTreeSuspenseHandler(workInProgress);
|
||||
JSCompiler_object_inline_digest_2670 = current.child;
|
||||
current = JSCompiler_object_inline_digest_2670.sibling;
|
||||
JSCompiler_object_inline_digest_2670 = createWorkInProgress(
|
||||
JSCompiler_object_inline_digest_2670,
|
||||
JSCompiler_object_inline_digest_2673 = current.child;
|
||||
current = JSCompiler_object_inline_digest_2673.sibling;
|
||||
JSCompiler_object_inline_digest_2673 = createWorkInProgress(
|
||||
JSCompiler_object_inline_digest_2673,
|
||||
{
|
||||
mode: "visible",
|
||||
children: JSCompiler_object_inline_stack_2671.children
|
||||
children: JSCompiler_object_inline_stack_2674.children
|
||||
}
|
||||
);
|
||||
(workInProgress.mode & ConcurrentMode) === NoMode &&
|
||||
(JSCompiler_object_inline_digest_2670.lanes = renderLanes);
|
||||
JSCompiler_object_inline_digest_2670.return = workInProgress;
|
||||
JSCompiler_object_inline_digest_2670.sibling = null;
|
||||
(JSCompiler_object_inline_digest_2673.lanes = renderLanes);
|
||||
JSCompiler_object_inline_digest_2673.return = workInProgress;
|
||||
JSCompiler_object_inline_digest_2673.sibling = null;
|
||||
null !== current &&
|
||||
((renderLanes = workInProgress.deletions),
|
||||
null === renderLanes
|
||||
? ((workInProgress.deletions = [current]),
|
||||
(workInProgress.flags |= 16))
|
||||
: renderLanes.push(current));
|
||||
workInProgress.child = JSCompiler_object_inline_digest_2670;
|
||||
workInProgress.child = JSCompiler_object_inline_digest_2673;
|
||||
workInProgress.memoizedState = null;
|
||||
return JSCompiler_object_inline_digest_2670;
|
||||
return JSCompiler_object_inline_digest_2673;
|
||||
}
|
||||
function mountSuspensePrimaryChildren(workInProgress, primaryChildren) {
|
||||
primaryChildren = mountWorkInProgressOffscreenFiber(
|
||||
@@ -10529,7 +10529,8 @@ __DEV__ &&
|
||||
isBackwards,
|
||||
tail,
|
||||
lastContentRow,
|
||||
tailMode
|
||||
tailMode,
|
||||
treeForkCount
|
||||
) {
|
||||
var renderState = workInProgress.memoizedState;
|
||||
null === renderState
|
||||
@@ -10539,23 +10540,24 @@ __DEV__ &&
|
||||
renderingStartTime: 0,
|
||||
last: lastContentRow,
|
||||
tail: tail,
|
||||
tailMode: tailMode
|
||||
tailMode: tailMode,
|
||||
treeForkCount: treeForkCount
|
||||
})
|
||||
: ((renderState.isBackwards = isBackwards),
|
||||
(renderState.rendering = null),
|
||||
(renderState.renderingStartTime = 0),
|
||||
(renderState.last = lastContentRow),
|
||||
(renderState.tail = tail),
|
||||
(renderState.tailMode = tailMode));
|
||||
(renderState.tailMode = tailMode),
|
||||
(renderState.treeForkCount = treeForkCount));
|
||||
}
|
||||
function updateSuspenseListComponent(current, workInProgress, renderLanes) {
|
||||
var nextProps = workInProgress.pendingProps,
|
||||
revealOrder = nextProps.revealOrder,
|
||||
tailMode = nextProps.tail;
|
||||
nextProps = nextProps.children;
|
||||
var suspenseContext = suspenseStackCursor.current,
|
||||
shouldForceFallback = 0 !== (suspenseContext & ForceSuspenseFallback);
|
||||
shouldForceFallback
|
||||
tailMode = nextProps.tail,
|
||||
newChildren = nextProps.children,
|
||||
suspenseContext = suspenseStackCursor.current;
|
||||
(nextProps = 0 !== (suspenseContext & ForceSuspenseFallback))
|
||||
? ((suspenseContext =
|
||||
(suspenseContext & SubtreeSuspenseContextMask) |
|
||||
ForceSuspenseFallback),
|
||||
@@ -10644,29 +10646,29 @@ __DEV__ &&
|
||||
("forwards" === revealOrder ||
|
||||
"backwards" === revealOrder ||
|
||||
"unstable_legacy-backwards" === revealOrder) &&
|
||||
void 0 !== nextProps &&
|
||||
null !== nextProps &&
|
||||
!1 !== nextProps
|
||||
void 0 !== newChildren &&
|
||||
null !== newChildren &&
|
||||
!1 !== newChildren
|
||||
)
|
||||
if (isArrayImpl(nextProps))
|
||||
if (isArrayImpl(newChildren))
|
||||
for (
|
||||
suspenseContext = 0;
|
||||
suspenseContext < nextProps.length;
|
||||
suspenseContext < newChildren.length;
|
||||
suspenseContext++
|
||||
) {
|
||||
if (
|
||||
!validateSuspenseListNestedChild(
|
||||
nextProps[suspenseContext],
|
||||
newChildren[suspenseContext],
|
||||
suspenseContext
|
||||
)
|
||||
)
|
||||
break a;
|
||||
}
|
||||
else if (
|
||||
((suspenseContext = getIteratorFn(nextProps)),
|
||||
((suspenseContext = getIteratorFn(newChildren)),
|
||||
"function" === typeof suspenseContext)
|
||||
) {
|
||||
if ((suspenseContext = suspenseContext.call(nextProps)))
|
||||
if ((suspenseContext = suspenseContext.call(newChildren)))
|
||||
for (
|
||||
var step = suspenseContext.next(), _i = 0;
|
||||
!step.done;
|
||||
@@ -10680,12 +10682,11 @@ __DEV__ &&
|
||||
'A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',
|
||||
revealOrder
|
||||
);
|
||||
reconcileChildren(current, workInProgress, nextProps, renderLanes);
|
||||
if (
|
||||
!shouldForceFallback &&
|
||||
null !== current &&
|
||||
0 !== (current.flags & 128)
|
||||
)
|
||||
reconcileChildren(current, workInProgress, newChildren, renderLanes);
|
||||
isHydrating
|
||||
? (warnIfNotHydrating(), (newChildren = treeForkCount))
|
||||
: (newChildren = 0);
|
||||
if (!nextProps && null !== current && 0 !== (current.flags & 128))
|
||||
a: for (current = workInProgress.child; null !== current; ) {
|
||||
if (13 === current.tag)
|
||||
null !== current.memoizedState &&
|
||||
@@ -10729,7 +10730,8 @@ __DEV__ &&
|
||||
!1,
|
||||
revealOrder,
|
||||
renderLanes,
|
||||
tailMode
|
||||
tailMode,
|
||||
newChildren
|
||||
);
|
||||
break;
|
||||
case "backwards":
|
||||
@@ -10752,11 +10754,19 @@ __DEV__ &&
|
||||
!0,
|
||||
renderLanes,
|
||||
null,
|
||||
tailMode
|
||||
tailMode,
|
||||
newChildren
|
||||
);
|
||||
break;
|
||||
case "together":
|
||||
initSuspenseListRenderState(workInProgress, !1, null, null, void 0);
|
||||
initSuspenseListRenderState(
|
||||
workInProgress,
|
||||
!1,
|
||||
null,
|
||||
null,
|
||||
void 0,
|
||||
newChildren
|
||||
);
|
||||
break;
|
||||
default:
|
||||
workInProgress.memoizedState = null;
|
||||
@@ -12462,12 +12472,12 @@ __DEV__ &&
|
||||
);
|
||||
case 19:
|
||||
pop(suspenseStackCursor, workInProgress);
|
||||
type = workInProgress.memoizedState;
|
||||
if (null === type) return bubbleProperties(workInProgress), null;
|
||||
newProps = 0 !== (workInProgress.flags & 128);
|
||||
nextResource = type.rendering;
|
||||
newProps = workInProgress.memoizedState;
|
||||
if (null === newProps) return bubbleProperties(workInProgress), null;
|
||||
type = 0 !== (workInProgress.flags & 128);
|
||||
nextResource = newProps.rendering;
|
||||
if (null === nextResource)
|
||||
if (newProps) cutOffTailIfNeeded(type, !1);
|
||||
if (type) cutOffTailIfNeeded(newProps, !1);
|
||||
else {
|
||||
if (
|
||||
workInProgressRootExitStatus !== RootInProgress ||
|
||||
@@ -12477,7 +12487,7 @@ __DEV__ &&
|
||||
nextResource = findFirstSuspended(current);
|
||||
if (null !== nextResource) {
|
||||
workInProgress.flags |= 128;
|
||||
cutOffTailIfNeeded(type, !1);
|
||||
cutOffTailIfNeeded(newProps, !1);
|
||||
current = nextResource.updateQueue;
|
||||
workInProgress.updateQueue = current;
|
||||
scheduleRetryEffect(workInProgress, current);
|
||||
@@ -12497,65 +12507,69 @@ __DEV__ &&
|
||||
ForceSuspenseFallback,
|
||||
workInProgress
|
||||
);
|
||||
isHydrating &&
|
||||
pushTreeFork(workInProgress, newProps.treeForkCount);
|
||||
return workInProgress.child;
|
||||
}
|
||||
current = current.sibling;
|
||||
}
|
||||
null !== type.tail &&
|
||||
null !== newProps.tail &&
|
||||
now$1() > workInProgressRootRenderTargetTime &&
|
||||
((workInProgress.flags |= 128),
|
||||
(newProps = !0),
|
||||
cutOffTailIfNeeded(type, !1),
|
||||
(type = !0),
|
||||
cutOffTailIfNeeded(newProps, !1),
|
||||
(workInProgress.lanes = 4194304));
|
||||
}
|
||||
else {
|
||||
if (!newProps)
|
||||
if (!type)
|
||||
if (
|
||||
((current = findFirstSuspended(nextResource)), null !== current)
|
||||
) {
|
||||
if (
|
||||
((workInProgress.flags |= 128),
|
||||
(newProps = !0),
|
||||
(type = !0),
|
||||
(current = current.updateQueue),
|
||||
(workInProgress.updateQueue = current),
|
||||
scheduleRetryEffect(workInProgress, current),
|
||||
cutOffTailIfNeeded(type, !0),
|
||||
null === type.tail &&
|
||||
"hidden" === type.tailMode &&
|
||||
cutOffTailIfNeeded(newProps, !0),
|
||||
null === newProps.tail &&
|
||||
"hidden" === newProps.tailMode &&
|
||||
!nextResource.alternate &&
|
||||
!isHydrating)
|
||||
)
|
||||
return bubbleProperties(workInProgress), null;
|
||||
} else
|
||||
2 * now$1() - type.renderingStartTime >
|
||||
2 * now$1() - newProps.renderingStartTime >
|
||||
workInProgressRootRenderTargetTime &&
|
||||
536870912 !== renderLanes &&
|
||||
((workInProgress.flags |= 128),
|
||||
(newProps = !0),
|
||||
cutOffTailIfNeeded(type, !1),
|
||||
(type = !0),
|
||||
cutOffTailIfNeeded(newProps, !1),
|
||||
(workInProgress.lanes = 4194304));
|
||||
type.isBackwards
|
||||
newProps.isBackwards
|
||||
? ((nextResource.sibling = workInProgress.child),
|
||||
(workInProgress.child = nextResource))
|
||||
: ((current = type.last),
|
||||
: ((current = newProps.last),
|
||||
null !== current
|
||||
? (current.sibling = nextResource)
|
||||
: (workInProgress.child = nextResource),
|
||||
(type.last = nextResource));
|
||||
(newProps.last = nextResource));
|
||||
}
|
||||
if (null !== type.tail)
|
||||
if (null !== newProps.tail)
|
||||
return (
|
||||
(current = type.tail),
|
||||
(type.rendering = current),
|
||||
(type.tail = current.sibling),
|
||||
(type.renderingStartTime = now$1()),
|
||||
(current = newProps.tail),
|
||||
(newProps.rendering = current),
|
||||
(newProps.tail = current.sibling),
|
||||
(newProps.renderingStartTime = now$1()),
|
||||
(current.sibling = null),
|
||||
(renderLanes = suspenseStackCursor.current),
|
||||
(renderLanes = newProps
|
||||
(renderLanes = type
|
||||
? (renderLanes & SubtreeSuspenseContextMask) |
|
||||
ForceSuspenseFallback
|
||||
: renderLanes & SubtreeSuspenseContextMask),
|
||||
push(suspenseStackCursor, renderLanes, workInProgress),
|
||||
isHydrating &&
|
||||
pushTreeFork(workInProgress, newProps.treeForkCount),
|
||||
current
|
||||
);
|
||||
bubbleProperties(workInProgress);
|
||||
@@ -27055,11 +27069,11 @@ __DEV__ &&
|
||||
};
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-4df098c4-20250609" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-c38e2689-20250609" !== 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.2.0-native-fb-4df098c4-20250609\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.2.0-native-fb-c38e2689-20250609\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -27096,10 +27110,10 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-4df098c4-20250609",
|
||||
version: "19.2.0-native-fb-c38e2689-20250609",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-4df098c4-20250609"
|
||||
reconcilerVersion: "19.2.0-native-fb-c38e2689-20250609"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -27237,5 +27251,5 @@ __DEV__ &&
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-4df098c4-20250609";
|
||||
exports.version = "19.2.0-native-fb-c38e2689-20250609";
|
||||
})();
|
||||
|
||||
compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-prod.js
Vendored
+60
-41
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<462efb9d1de3f47dfd794819a5a7c09c>>
|
||||
* @generated SignedSource<<8170fbccb360ffc71c537e172809ef3d>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -7390,7 +7390,8 @@ function initSuspenseListRenderState(
|
||||
isBackwards,
|
||||
tail,
|
||||
lastContentRow,
|
||||
tailMode
|
||||
tailMode,
|
||||
treeForkCount
|
||||
) {
|
||||
var renderState = workInProgress.memoizedState;
|
||||
null === renderState
|
||||
@@ -7400,14 +7401,16 @@ function initSuspenseListRenderState(
|
||||
renderingStartTime: 0,
|
||||
last: lastContentRow,
|
||||
tail: tail,
|
||||
tailMode: tailMode
|
||||
tailMode: tailMode,
|
||||
treeForkCount: treeForkCount
|
||||
})
|
||||
: ((renderState.isBackwards = isBackwards),
|
||||
(renderState.rendering = null),
|
||||
(renderState.renderingStartTime = 0),
|
||||
(renderState.last = lastContentRow),
|
||||
(renderState.tail = tail),
|
||||
(renderState.tailMode = tailMode));
|
||||
(renderState.tailMode = tailMode),
|
||||
(renderState.treeForkCount = treeForkCount));
|
||||
}
|
||||
function updateSuspenseListComponent(current, workInProgress, renderLanes) {
|
||||
var nextProps = workInProgress.pendingProps,
|
||||
@@ -7422,6 +7425,7 @@ function updateSuspenseListComponent(current, workInProgress, renderLanes) {
|
||||
: (suspenseContext &= 1);
|
||||
push(suspenseStackCursor, suspenseContext);
|
||||
reconcileChildren(current, workInProgress, nextProps, renderLanes);
|
||||
nextProps = isHydrating ? treeForkCount : 0;
|
||||
if (!shouldForceFallback && null !== current && 0 !== (current.flags & 128))
|
||||
a: for (current = workInProgress.child; null !== current; ) {
|
||||
if (13 === current.tag)
|
||||
@@ -7464,7 +7468,8 @@ function updateSuspenseListComponent(current, workInProgress, renderLanes) {
|
||||
!1,
|
||||
revealOrder,
|
||||
renderLanes,
|
||||
tailMode
|
||||
tailMode,
|
||||
nextProps
|
||||
);
|
||||
break;
|
||||
case "backwards":
|
||||
@@ -7487,11 +7492,19 @@ function updateSuspenseListComponent(current, workInProgress, renderLanes) {
|
||||
!0,
|
||||
renderLanes,
|
||||
null,
|
||||
tailMode
|
||||
tailMode,
|
||||
nextProps
|
||||
);
|
||||
break;
|
||||
case "together":
|
||||
initSuspenseListRenderState(workInProgress, !1, null, null, void 0);
|
||||
initSuspenseListRenderState(
|
||||
workInProgress,
|
||||
!1,
|
||||
null,
|
||||
null,
|
||||
void 0,
|
||||
nextProps
|
||||
);
|
||||
break;
|
||||
default:
|
||||
workInProgress.memoizedState = null;
|
||||
@@ -8762,12 +8775,12 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
);
|
||||
case 19:
|
||||
pop(suspenseStackCursor);
|
||||
type = workInProgress.memoizedState;
|
||||
if (null === type) return bubbleProperties(workInProgress), null;
|
||||
newProps = 0 !== (workInProgress.flags & 128);
|
||||
nextResource = type.rendering;
|
||||
newProps = workInProgress.memoizedState;
|
||||
if (null === newProps) return bubbleProperties(workInProgress), null;
|
||||
type = 0 !== (workInProgress.flags & 128);
|
||||
nextResource = newProps.rendering;
|
||||
if (null === nextResource)
|
||||
if (newProps) cutOffTailIfNeeded(type, !1);
|
||||
if (type) cutOffTailIfNeeded(newProps, !1);
|
||||
else {
|
||||
if (
|
||||
0 !== workInProgressRootExitStatus ||
|
||||
@@ -8777,7 +8790,7 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
nextResource = findFirstSuspended(current);
|
||||
if (null !== nextResource) {
|
||||
workInProgress.flags |= 128;
|
||||
cutOffTailIfNeeded(type, !1);
|
||||
cutOffTailIfNeeded(newProps, !1);
|
||||
current = nextResource.updateQueue;
|
||||
workInProgress.updateQueue = current;
|
||||
scheduleRetryEffect(workInProgress, current);
|
||||
@@ -8790,62 +8803,68 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
suspenseStackCursor,
|
||||
(suspenseStackCursor.current & 1) | 2
|
||||
);
|
||||
isHydrating &&
|
||||
pushTreeFork(workInProgress, newProps.treeForkCount);
|
||||
return workInProgress.child;
|
||||
}
|
||||
current = current.sibling;
|
||||
}
|
||||
null !== type.tail &&
|
||||
null !== newProps.tail &&
|
||||
now() > workInProgressRootRenderTargetTime &&
|
||||
((workInProgress.flags |= 128),
|
||||
(newProps = !0),
|
||||
cutOffTailIfNeeded(type, !1),
|
||||
(type = !0),
|
||||
cutOffTailIfNeeded(newProps, !1),
|
||||
(workInProgress.lanes = 4194304));
|
||||
}
|
||||
else {
|
||||
if (!newProps)
|
||||
if (!type)
|
||||
if (
|
||||
((current = findFirstSuspended(nextResource)), null !== current)
|
||||
) {
|
||||
if (
|
||||
((workInProgress.flags |= 128),
|
||||
(newProps = !0),
|
||||
(type = !0),
|
||||
(current = current.updateQueue),
|
||||
(workInProgress.updateQueue = current),
|
||||
scheduleRetryEffect(workInProgress, current),
|
||||
cutOffTailIfNeeded(type, !0),
|
||||
null === type.tail &&
|
||||
"hidden" === type.tailMode &&
|
||||
cutOffTailIfNeeded(newProps, !0),
|
||||
null === newProps.tail &&
|
||||
"hidden" === newProps.tailMode &&
|
||||
!nextResource.alternate &&
|
||||
!isHydrating)
|
||||
)
|
||||
return bubbleProperties(workInProgress), null;
|
||||
} else
|
||||
2 * now() - type.renderingStartTime >
|
||||
2 * now() - newProps.renderingStartTime >
|
||||
workInProgressRootRenderTargetTime &&
|
||||
536870912 !== renderLanes &&
|
||||
((workInProgress.flags |= 128),
|
||||
(newProps = !0),
|
||||
cutOffTailIfNeeded(type, !1),
|
||||
(type = !0),
|
||||
cutOffTailIfNeeded(newProps, !1),
|
||||
(workInProgress.lanes = 4194304));
|
||||
type.isBackwards
|
||||
newProps.isBackwards
|
||||
? ((nextResource.sibling = workInProgress.child),
|
||||
(workInProgress.child = nextResource))
|
||||
: ((current = type.last),
|
||||
: ((current = newProps.last),
|
||||
null !== current
|
||||
? (current.sibling = nextResource)
|
||||
: (workInProgress.child = nextResource),
|
||||
(type.last = nextResource));
|
||||
(newProps.last = nextResource));
|
||||
}
|
||||
if (null !== type.tail)
|
||||
if (null !== newProps.tail)
|
||||
return (
|
||||
(workInProgress = type.tail),
|
||||
(type.rendering = workInProgress),
|
||||
(type.tail = workInProgress.sibling),
|
||||
(type.renderingStartTime = now()),
|
||||
(workInProgress.sibling = null),
|
||||
(current = suspenseStackCursor.current),
|
||||
push(suspenseStackCursor, newProps ? (current & 1) | 2 : current & 1),
|
||||
workInProgress
|
||||
(current = newProps.tail),
|
||||
(newProps.rendering = current),
|
||||
(newProps.tail = current.sibling),
|
||||
(newProps.renderingStartTime = now()),
|
||||
(current.sibling = null),
|
||||
(renderLanes = suspenseStackCursor.current),
|
||||
push(
|
||||
suspenseStackCursor,
|
||||
type ? (renderLanes & 1) | 2 : renderLanes & 1
|
||||
),
|
||||
isHydrating && pushTreeFork(workInProgress, newProps.treeForkCount),
|
||||
current
|
||||
);
|
||||
bubbleProperties(workInProgress);
|
||||
return null;
|
||||
@@ -17101,14 +17120,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2017 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-4df098c4-20250609" !==
|
||||
"19.2.0-native-fb-c38e2689-20250609" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2017
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2017,
|
||||
"19.2.0-native-fb-4df098c4-20250609"
|
||||
"19.2.0-native-fb-c38e2689-20250609"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17130,10 +17149,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2536 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-4df098c4-20250609",
|
||||
version: "19.2.0-native-fb-c38e2689-20250609",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-4df098c4-20250609"
|
||||
reconcilerVersion: "19.2.0-native-fb-c38e2689-20250609"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2537 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -17231,4 +17250,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-4df098c4-20250609";
|
||||
exports.version = "19.2.0-native-fb-c38e2689-20250609";
|
||||
|
||||
+60
-41
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<1138e13205eecdbaf38c3d8504f4c19d>>
|
||||
* @generated SignedSource<<0731f38a0e9aacbf83feb768788d67f4>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -7583,7 +7583,8 @@ function initSuspenseListRenderState(
|
||||
isBackwards,
|
||||
tail,
|
||||
lastContentRow,
|
||||
tailMode
|
||||
tailMode,
|
||||
treeForkCount
|
||||
) {
|
||||
var renderState = workInProgress.memoizedState;
|
||||
null === renderState
|
||||
@@ -7593,14 +7594,16 @@ function initSuspenseListRenderState(
|
||||
renderingStartTime: 0,
|
||||
last: lastContentRow,
|
||||
tail: tail,
|
||||
tailMode: tailMode
|
||||
tailMode: tailMode,
|
||||
treeForkCount: treeForkCount
|
||||
})
|
||||
: ((renderState.isBackwards = isBackwards),
|
||||
(renderState.rendering = null),
|
||||
(renderState.renderingStartTime = 0),
|
||||
(renderState.last = lastContentRow),
|
||||
(renderState.tail = tail),
|
||||
(renderState.tailMode = tailMode));
|
||||
(renderState.tailMode = tailMode),
|
||||
(renderState.treeForkCount = treeForkCount));
|
||||
}
|
||||
function updateSuspenseListComponent(current, workInProgress, renderLanes) {
|
||||
var nextProps = workInProgress.pendingProps,
|
||||
@@ -7615,6 +7618,7 @@ function updateSuspenseListComponent(current, workInProgress, renderLanes) {
|
||||
: (suspenseContext &= 1);
|
||||
push(suspenseStackCursor, suspenseContext);
|
||||
reconcileChildren(current, workInProgress, nextProps, renderLanes);
|
||||
nextProps = isHydrating ? treeForkCount : 0;
|
||||
if (!shouldForceFallback && null !== current && 0 !== (current.flags & 128))
|
||||
a: for (current = workInProgress.child; null !== current; ) {
|
||||
if (13 === current.tag)
|
||||
@@ -7657,7 +7661,8 @@ function updateSuspenseListComponent(current, workInProgress, renderLanes) {
|
||||
!1,
|
||||
revealOrder,
|
||||
renderLanes,
|
||||
tailMode
|
||||
tailMode,
|
||||
nextProps
|
||||
);
|
||||
break;
|
||||
case "backwards":
|
||||
@@ -7680,11 +7685,19 @@ function updateSuspenseListComponent(current, workInProgress, renderLanes) {
|
||||
!0,
|
||||
renderLanes,
|
||||
null,
|
||||
tailMode
|
||||
tailMode,
|
||||
nextProps
|
||||
);
|
||||
break;
|
||||
case "together":
|
||||
initSuspenseListRenderState(workInProgress, !1, null, null, void 0);
|
||||
initSuspenseListRenderState(
|
||||
workInProgress,
|
||||
!1,
|
||||
null,
|
||||
null,
|
||||
void 0,
|
||||
nextProps
|
||||
);
|
||||
break;
|
||||
default:
|
||||
workInProgress.memoizedState = null;
|
||||
@@ -9042,12 +9055,12 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
);
|
||||
case 19:
|
||||
pop(suspenseStackCursor);
|
||||
type = workInProgress.memoizedState;
|
||||
if (null === type) return bubbleProperties(workInProgress), null;
|
||||
newProps = 0 !== (workInProgress.flags & 128);
|
||||
nextResource = type.rendering;
|
||||
newProps = workInProgress.memoizedState;
|
||||
if (null === newProps) return bubbleProperties(workInProgress), null;
|
||||
type = 0 !== (workInProgress.flags & 128);
|
||||
nextResource = newProps.rendering;
|
||||
if (null === nextResource)
|
||||
if (newProps) cutOffTailIfNeeded(type, !1);
|
||||
if (type) cutOffTailIfNeeded(newProps, !1);
|
||||
else {
|
||||
if (
|
||||
0 !== workInProgressRootExitStatus ||
|
||||
@@ -9057,7 +9070,7 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
nextResource = findFirstSuspended(current);
|
||||
if (null !== nextResource) {
|
||||
workInProgress.flags |= 128;
|
||||
cutOffTailIfNeeded(type, !1);
|
||||
cutOffTailIfNeeded(newProps, !1);
|
||||
current = nextResource.updateQueue;
|
||||
workInProgress.updateQueue = current;
|
||||
scheduleRetryEffect(workInProgress, current);
|
||||
@@ -9070,62 +9083,68 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
suspenseStackCursor,
|
||||
(suspenseStackCursor.current & 1) | 2
|
||||
);
|
||||
isHydrating &&
|
||||
pushTreeFork(workInProgress, newProps.treeForkCount);
|
||||
return workInProgress.child;
|
||||
}
|
||||
current = current.sibling;
|
||||
}
|
||||
null !== type.tail &&
|
||||
null !== newProps.tail &&
|
||||
now$1() > workInProgressRootRenderTargetTime &&
|
||||
((workInProgress.flags |= 128),
|
||||
(newProps = !0),
|
||||
cutOffTailIfNeeded(type, !1),
|
||||
(type = !0),
|
||||
cutOffTailIfNeeded(newProps, !1),
|
||||
(workInProgress.lanes = 4194304));
|
||||
}
|
||||
else {
|
||||
if (!newProps)
|
||||
if (!type)
|
||||
if (
|
||||
((current = findFirstSuspended(nextResource)), null !== current)
|
||||
) {
|
||||
if (
|
||||
((workInProgress.flags |= 128),
|
||||
(newProps = !0),
|
||||
(type = !0),
|
||||
(current = current.updateQueue),
|
||||
(workInProgress.updateQueue = current),
|
||||
scheduleRetryEffect(workInProgress, current),
|
||||
cutOffTailIfNeeded(type, !0),
|
||||
null === type.tail &&
|
||||
"hidden" === type.tailMode &&
|
||||
cutOffTailIfNeeded(newProps, !0),
|
||||
null === newProps.tail &&
|
||||
"hidden" === newProps.tailMode &&
|
||||
!nextResource.alternate &&
|
||||
!isHydrating)
|
||||
)
|
||||
return bubbleProperties(workInProgress), null;
|
||||
} else
|
||||
2 * now$1() - type.renderingStartTime >
|
||||
2 * now$1() - newProps.renderingStartTime >
|
||||
workInProgressRootRenderTargetTime &&
|
||||
536870912 !== renderLanes &&
|
||||
((workInProgress.flags |= 128),
|
||||
(newProps = !0),
|
||||
cutOffTailIfNeeded(type, !1),
|
||||
(type = !0),
|
||||
cutOffTailIfNeeded(newProps, !1),
|
||||
(workInProgress.lanes = 4194304));
|
||||
type.isBackwards
|
||||
newProps.isBackwards
|
||||
? ((nextResource.sibling = workInProgress.child),
|
||||
(workInProgress.child = nextResource))
|
||||
: ((current = type.last),
|
||||
: ((current = newProps.last),
|
||||
null !== current
|
||||
? (current.sibling = nextResource)
|
||||
: (workInProgress.child = nextResource),
|
||||
(type.last = nextResource));
|
||||
(newProps.last = nextResource));
|
||||
}
|
||||
if (null !== type.tail)
|
||||
if (null !== newProps.tail)
|
||||
return (
|
||||
(workInProgress = type.tail),
|
||||
(type.rendering = workInProgress),
|
||||
(type.tail = workInProgress.sibling),
|
||||
(type.renderingStartTime = now$1()),
|
||||
(workInProgress.sibling = null),
|
||||
(current = suspenseStackCursor.current),
|
||||
push(suspenseStackCursor, newProps ? (current & 1) | 2 : current & 1),
|
||||
workInProgress
|
||||
(current = newProps.tail),
|
||||
(newProps.rendering = current),
|
||||
(newProps.tail = current.sibling),
|
||||
(newProps.renderingStartTime = now$1()),
|
||||
(current.sibling = null),
|
||||
(renderLanes = suspenseStackCursor.current),
|
||||
push(
|
||||
suspenseStackCursor,
|
||||
type ? (renderLanes & 1) | 2 : renderLanes & 1
|
||||
),
|
||||
isHydrating && pushTreeFork(workInProgress, newProps.treeForkCount),
|
||||
current
|
||||
);
|
||||
bubbleProperties(workInProgress);
|
||||
return null;
|
||||
@@ -17811,14 +17830,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2120 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-4df098c4-20250609" !==
|
||||
"19.2.0-native-fb-c38e2689-20250609" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2120
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2120,
|
||||
"19.2.0-native-fb-4df098c4-20250609"
|
||||
"19.2.0-native-fb-c38e2689-20250609"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17840,10 +17859,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2127 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-4df098c4-20250609",
|
||||
version: "19.2.0-native-fb-c38e2689-20250609",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-4df098c4-20250609",
|
||||
reconcilerVersion: "19.2.0-native-fb-c38e2689-20250609",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$313 = 0;
|
||||
@@ -17956,4 +17975,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-4df098c4-20250609";
|
||||
exports.version = "19.2.0-native-fb-c38e2689-20250609";
|
||||
|
||||
+184
-170
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<553414c8a0a12eaf503f3c119ec5306d>>
|
||||
* @generated SignedSource<<73d9fa34ec237b6391e5b31e94a06f12>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -10066,24 +10066,24 @@ __DEV__ &&
|
||||
return current;
|
||||
}
|
||||
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
||||
var JSCompiler_object_inline_digest_2675;
|
||||
var JSCompiler_object_inline_stack_2676 = workInProgress.pendingProps;
|
||||
var JSCompiler_object_inline_digest_2678;
|
||||
var JSCompiler_object_inline_stack_2679 = workInProgress.pendingProps;
|
||||
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
||||
var JSCompiler_object_inline_message_2674 = !1;
|
||||
var JSCompiler_object_inline_message_2677 = !1;
|
||||
var didSuspend = 0 !== (workInProgress.flags & 128);
|
||||
(JSCompiler_object_inline_digest_2675 = didSuspend) ||
|
||||
(JSCompiler_object_inline_digest_2675 =
|
||||
(JSCompiler_object_inline_digest_2678 = didSuspend) ||
|
||||
(JSCompiler_object_inline_digest_2678 =
|
||||
null !== current && null === current.memoizedState
|
||||
? !1
|
||||
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
||||
JSCompiler_object_inline_digest_2675 &&
|
||||
((JSCompiler_object_inline_message_2674 = !0),
|
||||
JSCompiler_object_inline_digest_2678 &&
|
||||
((JSCompiler_object_inline_message_2677 = !0),
|
||||
(workInProgress.flags &= -129));
|
||||
JSCompiler_object_inline_digest_2675 = 0 !== (workInProgress.flags & 32);
|
||||
JSCompiler_object_inline_digest_2678 = 0 !== (workInProgress.flags & 32);
|
||||
workInProgress.flags &= -33;
|
||||
if (null === current) {
|
||||
if (isHydrating) {
|
||||
JSCompiler_object_inline_message_2674
|
||||
JSCompiler_object_inline_message_2677
|
||||
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
||||
: reuseSuspenseHandlerOnStack(workInProgress);
|
||||
(renderLanes = nextHydratableInstance)
|
||||
@@ -10096,18 +10096,18 @@ __DEV__ &&
|
||||
? current
|
||||
: null),
|
||||
null !== current &&
|
||||
((JSCompiler_object_inline_digest_2675 = {
|
||||
((JSCompiler_object_inline_digest_2678 = {
|
||||
dehydrated: current,
|
||||
treeContext: getSuspendedTreeContext(),
|
||||
retryLane: 536870912,
|
||||
hydrationErrors: null
|
||||
}),
|
||||
(workInProgress.memoizedState =
|
||||
JSCompiler_object_inline_digest_2675),
|
||||
(JSCompiler_object_inline_digest_2675 =
|
||||
JSCompiler_object_inline_digest_2678),
|
||||
(JSCompiler_object_inline_digest_2678 =
|
||||
createFiberFromDehydratedFragment(current)),
|
||||
(JSCompiler_object_inline_digest_2675.return = workInProgress),
|
||||
(workInProgress.child = JSCompiler_object_inline_digest_2675),
|
||||
(JSCompiler_object_inline_digest_2678.return = workInProgress),
|
||||
(workInProgress.child = JSCompiler_object_inline_digest_2678),
|
||||
(hydrationParentFiber = workInProgress),
|
||||
(nextHydratableInstance = null)))
|
||||
: (current = null);
|
||||
@@ -10121,12 +10121,12 @@ __DEV__ &&
|
||||
: (workInProgress.lanes = 536870912);
|
||||
return null;
|
||||
}
|
||||
var nextPrimaryChildren = JSCompiler_object_inline_stack_2676.children,
|
||||
nextFallbackChildren = JSCompiler_object_inline_stack_2676.fallback;
|
||||
if (JSCompiler_object_inline_message_2674)
|
||||
var nextPrimaryChildren = JSCompiler_object_inline_stack_2679.children,
|
||||
nextFallbackChildren = JSCompiler_object_inline_stack_2679.fallback;
|
||||
if (JSCompiler_object_inline_message_2677)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_stack_2676 =
|
||||
(JSCompiler_object_inline_stack_2679 =
|
||||
mountSuspenseFallbackChildren(
|
||||
workInProgress,
|
||||
nextPrimaryChildren,
|
||||
@@ -10138,19 +10138,19 @@ __DEV__ &&
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2675,
|
||||
JSCompiler_object_inline_digest_2678,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
JSCompiler_object_inline_stack_2676
|
||||
JSCompiler_object_inline_stack_2679
|
||||
);
|
||||
if (
|
||||
"number" ===
|
||||
typeof JSCompiler_object_inline_stack_2676.unstable_expectedLoadTime
|
||||
typeof JSCompiler_object_inline_stack_2679.unstable_expectedLoadTime
|
||||
)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_stack_2676 =
|
||||
(JSCompiler_object_inline_stack_2679 =
|
||||
mountSuspenseFallbackChildren(
|
||||
workInProgress,
|
||||
nextPrimaryChildren,
|
||||
@@ -10162,12 +10162,12 @@ __DEV__ &&
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2675,
|
||||
JSCompiler_object_inline_digest_2678,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
(workInProgress.lanes = 4194304),
|
||||
JSCompiler_object_inline_stack_2676
|
||||
JSCompiler_object_inline_stack_2679
|
||||
);
|
||||
pushPrimaryTreeSuspenseHandler(workInProgress);
|
||||
return mountSuspensePrimaryChildren(
|
||||
@@ -10177,8 +10177,8 @@ __DEV__ &&
|
||||
}
|
||||
var prevState = current.memoizedState;
|
||||
if (null !== prevState) {
|
||||
var JSCompiler_object_inline_componentStack_2677 = prevState.dehydrated;
|
||||
if (null !== JSCompiler_object_inline_componentStack_2677) {
|
||||
var JSCompiler_object_inline_componentStack_2680 = prevState.dehydrated;
|
||||
if (null !== JSCompiler_object_inline_componentStack_2680) {
|
||||
if (didSuspend)
|
||||
workInProgress.flags & 256
|
||||
? (pushPrimaryTreeSuspenseHandler(workInProgress),
|
||||
@@ -10195,13 +10195,13 @@ __DEV__ &&
|
||||
(workInProgress = null))
|
||||
: (reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(nextPrimaryChildren =
|
||||
JSCompiler_object_inline_stack_2676.fallback),
|
||||
JSCompiler_object_inline_stack_2679.fallback),
|
||||
(nextFallbackChildren = workInProgress.mode),
|
||||
(JSCompiler_object_inline_stack_2676 =
|
||||
(JSCompiler_object_inline_stack_2679 =
|
||||
mountWorkInProgressOffscreenFiber(
|
||||
{
|
||||
mode: "visible",
|
||||
children: JSCompiler_object_inline_stack_2676.children
|
||||
children: JSCompiler_object_inline_stack_2679.children
|
||||
},
|
||||
nextFallbackChildren
|
||||
)),
|
||||
@@ -10212,11 +10212,11 @@ __DEV__ &&
|
||||
null
|
||||
)),
|
||||
(nextPrimaryChildren.flags |= 2),
|
||||
(JSCompiler_object_inline_stack_2676.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2679.return = workInProgress),
|
||||
(nextPrimaryChildren.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2676.sibling =
|
||||
(JSCompiler_object_inline_stack_2679.sibling =
|
||||
nextPrimaryChildren),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2676),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2679),
|
||||
(workInProgress.mode & ConcurrentMode) !== NoMode &&
|
||||
reconcileChildFibers(
|
||||
workInProgress,
|
||||
@@ -10224,13 +10224,13 @@ __DEV__ &&
|
||||
null,
|
||||
renderLanes
|
||||
),
|
||||
(JSCompiler_object_inline_stack_2676 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2676.memoizedState =
|
||||
(JSCompiler_object_inline_stack_2679 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2679.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_stack_2676.childLanes =
|
||||
(JSCompiler_object_inline_stack_2679.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2675,
|
||||
JSCompiler_object_inline_digest_2678,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
@@ -10239,45 +10239,45 @@ __DEV__ &&
|
||||
(pushPrimaryTreeSuspenseHandler(workInProgress),
|
||||
warnIfHydrating(),
|
||||
isSuspenseInstanceFallback(
|
||||
JSCompiler_object_inline_componentStack_2677
|
||||
JSCompiler_object_inline_componentStack_2680
|
||||
))
|
||||
) {
|
||||
JSCompiler_object_inline_digest_2675 =
|
||||
JSCompiler_object_inline_componentStack_2677.nextSibling &&
|
||||
JSCompiler_object_inline_componentStack_2677.nextSibling.dataset;
|
||||
if (JSCompiler_object_inline_digest_2675) {
|
||||
nextPrimaryChildren = JSCompiler_object_inline_digest_2675.dgst;
|
||||
var message = JSCompiler_object_inline_digest_2675.msg;
|
||||
nextFallbackChildren = JSCompiler_object_inline_digest_2675.stck;
|
||||
var componentStack = JSCompiler_object_inline_digest_2675.cstck;
|
||||
JSCompiler_object_inline_digest_2678 =
|
||||
JSCompiler_object_inline_componentStack_2680.nextSibling &&
|
||||
JSCompiler_object_inline_componentStack_2680.nextSibling.dataset;
|
||||
if (JSCompiler_object_inline_digest_2678) {
|
||||
nextPrimaryChildren = JSCompiler_object_inline_digest_2678.dgst;
|
||||
var message = JSCompiler_object_inline_digest_2678.msg;
|
||||
nextFallbackChildren = JSCompiler_object_inline_digest_2678.stck;
|
||||
var componentStack = JSCompiler_object_inline_digest_2678.cstck;
|
||||
}
|
||||
JSCompiler_object_inline_message_2674 = message;
|
||||
JSCompiler_object_inline_digest_2675 = nextPrimaryChildren;
|
||||
JSCompiler_object_inline_stack_2676 = nextFallbackChildren;
|
||||
JSCompiler_object_inline_componentStack_2677 = componentStack;
|
||||
nextPrimaryChildren = JSCompiler_object_inline_message_2674;
|
||||
nextFallbackChildren = JSCompiler_object_inline_componentStack_2677;
|
||||
JSCompiler_object_inline_message_2677 = message;
|
||||
JSCompiler_object_inline_digest_2678 = nextPrimaryChildren;
|
||||
JSCompiler_object_inline_stack_2679 = nextFallbackChildren;
|
||||
JSCompiler_object_inline_componentStack_2680 = componentStack;
|
||||
nextPrimaryChildren = JSCompiler_object_inline_message_2677;
|
||||
nextFallbackChildren = JSCompiler_object_inline_componentStack_2680;
|
||||
nextPrimaryChildren = nextPrimaryChildren
|
||||
? Error(nextPrimaryChildren)
|
||||
: Error(
|
||||
"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
|
||||
);
|
||||
nextPrimaryChildren.stack =
|
||||
JSCompiler_object_inline_stack_2676 || "";
|
||||
nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2675;
|
||||
JSCompiler_object_inline_digest_2675 =
|
||||
JSCompiler_object_inline_stack_2679 || "";
|
||||
nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2678;
|
||||
JSCompiler_object_inline_digest_2678 =
|
||||
void 0 === nextFallbackChildren ? null : nextFallbackChildren;
|
||||
JSCompiler_object_inline_stack_2676 = {
|
||||
JSCompiler_object_inline_stack_2679 = {
|
||||
value: nextPrimaryChildren,
|
||||
source: null,
|
||||
stack: JSCompiler_object_inline_digest_2675
|
||||
stack: JSCompiler_object_inline_digest_2678
|
||||
};
|
||||
"string" === typeof JSCompiler_object_inline_digest_2675 &&
|
||||
"string" === typeof JSCompiler_object_inline_digest_2678 &&
|
||||
CapturedStacks.set(
|
||||
nextPrimaryChildren,
|
||||
JSCompiler_object_inline_stack_2676
|
||||
JSCompiler_object_inline_stack_2679
|
||||
);
|
||||
queueHydrationError(JSCompiler_object_inline_stack_2676);
|
||||
queueHydrationError(JSCompiler_object_inline_stack_2679);
|
||||
workInProgress = retrySuspenseComponentWithoutHydrating(
|
||||
current,
|
||||
workInProgress,
|
||||
@@ -10291,35 +10291,35 @@ __DEV__ &&
|
||||
renderLanes,
|
||||
!1
|
||||
),
|
||||
(JSCompiler_object_inline_digest_2675 =
|
||||
(JSCompiler_object_inline_digest_2678 =
|
||||
0 !== (renderLanes & current.childLanes)),
|
||||
didReceiveUpdate || JSCompiler_object_inline_digest_2675)
|
||||
didReceiveUpdate || JSCompiler_object_inline_digest_2678)
|
||||
) {
|
||||
JSCompiler_object_inline_digest_2675 = workInProgressRoot;
|
||||
JSCompiler_object_inline_digest_2678 = workInProgressRoot;
|
||||
if (
|
||||
null !== JSCompiler_object_inline_digest_2675 &&
|
||||
((JSCompiler_object_inline_stack_2676 = getBumpedLaneForHydration(
|
||||
JSCompiler_object_inline_digest_2675,
|
||||
null !== JSCompiler_object_inline_digest_2678 &&
|
||||
((JSCompiler_object_inline_stack_2679 = getBumpedLaneForHydration(
|
||||
JSCompiler_object_inline_digest_2678,
|
||||
renderLanes
|
||||
)),
|
||||
0 !== JSCompiler_object_inline_stack_2676 &&
|
||||
JSCompiler_object_inline_stack_2676 !== prevState.retryLane)
|
||||
0 !== JSCompiler_object_inline_stack_2679 &&
|
||||
JSCompiler_object_inline_stack_2679 !== prevState.retryLane)
|
||||
)
|
||||
throw (
|
||||
((prevState.retryLane = JSCompiler_object_inline_stack_2676),
|
||||
((prevState.retryLane = JSCompiler_object_inline_stack_2679),
|
||||
enqueueConcurrentRenderForLane(
|
||||
current,
|
||||
JSCompiler_object_inline_stack_2676
|
||||
JSCompiler_object_inline_stack_2679
|
||||
),
|
||||
scheduleUpdateOnFiber(
|
||||
JSCompiler_object_inline_digest_2675,
|
||||
JSCompiler_object_inline_digest_2678,
|
||||
current,
|
||||
JSCompiler_object_inline_stack_2676
|
||||
JSCompiler_object_inline_stack_2679
|
||||
),
|
||||
SelectiveHydrationException)
|
||||
);
|
||||
isSuspenseInstancePending(
|
||||
JSCompiler_object_inline_componentStack_2677
|
||||
JSCompiler_object_inline_componentStack_2680
|
||||
) || renderDidSuspendDelayIfPossible();
|
||||
workInProgress = retrySuspenseComponentWithoutHydrating(
|
||||
current,
|
||||
@@ -10328,14 +10328,14 @@ __DEV__ &&
|
||||
);
|
||||
} else
|
||||
isSuspenseInstancePending(
|
||||
JSCompiler_object_inline_componentStack_2677
|
||||
JSCompiler_object_inline_componentStack_2680
|
||||
)
|
||||
? ((workInProgress.flags |= 192),
|
||||
(workInProgress.child = current.child),
|
||||
(workInProgress = null))
|
||||
: ((renderLanes = prevState.treeContext),
|
||||
(nextHydratableInstance = getNextHydratable(
|
||||
JSCompiler_object_inline_componentStack_2677.nextSibling
|
||||
JSCompiler_object_inline_componentStack_2680.nextSibling
|
||||
)),
|
||||
(hydrationParentFiber = workInProgress),
|
||||
(isHydrating = !0),
|
||||
@@ -10347,47 +10347,47 @@ __DEV__ &&
|
||||
restoreSuspendedTreeContext(workInProgress, renderLanes),
|
||||
(workInProgress = mountSuspensePrimaryChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_stack_2676.children
|
||||
JSCompiler_object_inline_stack_2679.children
|
||||
)),
|
||||
(workInProgress.flags |= 4096));
|
||||
return workInProgress;
|
||||
}
|
||||
}
|
||||
if (JSCompiler_object_inline_message_2674)
|
||||
if (JSCompiler_object_inline_message_2677)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(nextPrimaryChildren = JSCompiler_object_inline_stack_2676.fallback),
|
||||
(nextPrimaryChildren = JSCompiler_object_inline_stack_2679.fallback),
|
||||
(nextFallbackChildren = workInProgress.mode),
|
||||
(componentStack = current.child),
|
||||
(JSCompiler_object_inline_componentStack_2677 =
|
||||
(JSCompiler_object_inline_componentStack_2680 =
|
||||
componentStack.sibling),
|
||||
(JSCompiler_object_inline_message_2674 = {
|
||||
(JSCompiler_object_inline_message_2677 = {
|
||||
mode: "hidden",
|
||||
children: JSCompiler_object_inline_stack_2676.children
|
||||
children: JSCompiler_object_inline_stack_2679.children
|
||||
}),
|
||||
(nextFallbackChildren & ConcurrentMode) === NoMode &&
|
||||
workInProgress.child !== componentStack
|
||||
? ((JSCompiler_object_inline_stack_2676 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2676.childLanes = 0),
|
||||
(JSCompiler_object_inline_stack_2676.pendingProps =
|
||||
JSCompiler_object_inline_message_2674),
|
||||
? ((JSCompiler_object_inline_stack_2679 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2679.childLanes = 0),
|
||||
(JSCompiler_object_inline_stack_2679.pendingProps =
|
||||
JSCompiler_object_inline_message_2677),
|
||||
workInProgress.mode & ProfileMode &&
|
||||
((JSCompiler_object_inline_stack_2676.actualDuration = -0),
|
||||
(JSCompiler_object_inline_stack_2676.actualStartTime = -1.1),
|
||||
(JSCompiler_object_inline_stack_2676.selfBaseDuration =
|
||||
((JSCompiler_object_inline_stack_2679.actualDuration = -0),
|
||||
(JSCompiler_object_inline_stack_2679.actualStartTime = -1.1),
|
||||
(JSCompiler_object_inline_stack_2679.selfBaseDuration =
|
||||
componentStack.selfBaseDuration),
|
||||
(JSCompiler_object_inline_stack_2676.treeBaseDuration =
|
||||
(JSCompiler_object_inline_stack_2679.treeBaseDuration =
|
||||
componentStack.treeBaseDuration)),
|
||||
(workInProgress.deletions = null))
|
||||
: ((JSCompiler_object_inline_stack_2676 = createWorkInProgress(
|
||||
: ((JSCompiler_object_inline_stack_2679 = createWorkInProgress(
|
||||
componentStack,
|
||||
JSCompiler_object_inline_message_2674
|
||||
JSCompiler_object_inline_message_2677
|
||||
)),
|
||||
(JSCompiler_object_inline_stack_2676.subtreeFlags =
|
||||
(JSCompiler_object_inline_stack_2679.subtreeFlags =
|
||||
componentStack.subtreeFlags & 65011712)),
|
||||
null !== JSCompiler_object_inline_componentStack_2677
|
||||
null !== JSCompiler_object_inline_componentStack_2680
|
||||
? (nextPrimaryChildren = createWorkInProgress(
|
||||
JSCompiler_object_inline_componentStack_2677,
|
||||
JSCompiler_object_inline_componentStack_2680,
|
||||
nextPrimaryChildren
|
||||
))
|
||||
: ((nextPrimaryChildren = createFiberFromFragment(
|
||||
@@ -10398,24 +10398,24 @@ __DEV__ &&
|
||||
)),
|
||||
(nextPrimaryChildren.flags |= 2)),
|
||||
(nextPrimaryChildren.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2676.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2676.sibling = nextPrimaryChildren),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2676),
|
||||
(JSCompiler_object_inline_stack_2676 = nextPrimaryChildren),
|
||||
(JSCompiler_object_inline_stack_2679.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2679.sibling = nextPrimaryChildren),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2679),
|
||||
(JSCompiler_object_inline_stack_2679 = nextPrimaryChildren),
|
||||
(nextPrimaryChildren = workInProgress.child),
|
||||
(nextFallbackChildren = current.child.memoizedState),
|
||||
null === nextFallbackChildren
|
||||
? (nextFallbackChildren = mountSuspenseOffscreenState(renderLanes))
|
||||
: ((componentStack = nextFallbackChildren.cachePool),
|
||||
null !== componentStack
|
||||
? ((JSCompiler_object_inline_componentStack_2677 =
|
||||
? ((JSCompiler_object_inline_componentStack_2680 =
|
||||
CacheContext._currentValue),
|
||||
(componentStack =
|
||||
componentStack.parent !==
|
||||
JSCompiler_object_inline_componentStack_2677
|
||||
JSCompiler_object_inline_componentStack_2680
|
||||
? {
|
||||
parent: JSCompiler_object_inline_componentStack_2677,
|
||||
pool: JSCompiler_object_inline_componentStack_2677
|
||||
parent: JSCompiler_object_inline_componentStack_2680,
|
||||
pool: JSCompiler_object_inline_componentStack_2680
|
||||
}
|
||||
: componentStack))
|
||||
: (componentStack = getSuspendedCache()),
|
||||
@@ -10426,35 +10426,35 @@ __DEV__ &&
|
||||
(nextPrimaryChildren.memoizedState = nextFallbackChildren),
|
||||
(nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2675,
|
||||
JSCompiler_object_inline_digest_2678,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
JSCompiler_object_inline_stack_2676
|
||||
JSCompiler_object_inline_stack_2679
|
||||
);
|
||||
pushPrimaryTreeSuspenseHandler(workInProgress);
|
||||
JSCompiler_object_inline_digest_2675 = current.child;
|
||||
current = JSCompiler_object_inline_digest_2675.sibling;
|
||||
JSCompiler_object_inline_digest_2675 = createWorkInProgress(
|
||||
JSCompiler_object_inline_digest_2675,
|
||||
JSCompiler_object_inline_digest_2678 = current.child;
|
||||
current = JSCompiler_object_inline_digest_2678.sibling;
|
||||
JSCompiler_object_inline_digest_2678 = createWorkInProgress(
|
||||
JSCompiler_object_inline_digest_2678,
|
||||
{
|
||||
mode: "visible",
|
||||
children: JSCompiler_object_inline_stack_2676.children
|
||||
children: JSCompiler_object_inline_stack_2679.children
|
||||
}
|
||||
);
|
||||
(workInProgress.mode & ConcurrentMode) === NoMode &&
|
||||
(JSCompiler_object_inline_digest_2675.lanes = renderLanes);
|
||||
JSCompiler_object_inline_digest_2675.return = workInProgress;
|
||||
JSCompiler_object_inline_digest_2675.sibling = null;
|
||||
(JSCompiler_object_inline_digest_2678.lanes = renderLanes);
|
||||
JSCompiler_object_inline_digest_2678.return = workInProgress;
|
||||
JSCompiler_object_inline_digest_2678.sibling = null;
|
||||
null !== current &&
|
||||
((renderLanes = workInProgress.deletions),
|
||||
null === renderLanes
|
||||
? ((workInProgress.deletions = [current]),
|
||||
(workInProgress.flags |= 16))
|
||||
: renderLanes.push(current));
|
||||
workInProgress.child = JSCompiler_object_inline_digest_2675;
|
||||
workInProgress.child = JSCompiler_object_inline_digest_2678;
|
||||
workInProgress.memoizedState = null;
|
||||
return JSCompiler_object_inline_digest_2675;
|
||||
return JSCompiler_object_inline_digest_2678;
|
||||
}
|
||||
function mountSuspensePrimaryChildren(workInProgress, primaryChildren) {
|
||||
primaryChildren = mountWorkInProgressOffscreenFiber(
|
||||
@@ -10537,7 +10537,8 @@ __DEV__ &&
|
||||
isBackwards,
|
||||
tail,
|
||||
lastContentRow,
|
||||
tailMode
|
||||
tailMode,
|
||||
treeForkCount
|
||||
) {
|
||||
var renderState = workInProgress.memoizedState;
|
||||
null === renderState
|
||||
@@ -10547,23 +10548,24 @@ __DEV__ &&
|
||||
renderingStartTime: 0,
|
||||
last: lastContentRow,
|
||||
tail: tail,
|
||||
tailMode: tailMode
|
||||
tailMode: tailMode,
|
||||
treeForkCount: treeForkCount
|
||||
})
|
||||
: ((renderState.isBackwards = isBackwards),
|
||||
(renderState.rendering = null),
|
||||
(renderState.renderingStartTime = 0),
|
||||
(renderState.last = lastContentRow),
|
||||
(renderState.tail = tail),
|
||||
(renderState.tailMode = tailMode));
|
||||
(renderState.tailMode = tailMode),
|
||||
(renderState.treeForkCount = treeForkCount));
|
||||
}
|
||||
function updateSuspenseListComponent(current, workInProgress, renderLanes) {
|
||||
var nextProps = workInProgress.pendingProps,
|
||||
revealOrder = nextProps.revealOrder,
|
||||
tailMode = nextProps.tail;
|
||||
nextProps = nextProps.children;
|
||||
var suspenseContext = suspenseStackCursor.current,
|
||||
shouldForceFallback = 0 !== (suspenseContext & ForceSuspenseFallback);
|
||||
shouldForceFallback
|
||||
tailMode = nextProps.tail,
|
||||
newChildren = nextProps.children,
|
||||
suspenseContext = suspenseStackCursor.current;
|
||||
(nextProps = 0 !== (suspenseContext & ForceSuspenseFallback))
|
||||
? ((suspenseContext =
|
||||
(suspenseContext & SubtreeSuspenseContextMask) |
|
||||
ForceSuspenseFallback),
|
||||
@@ -10652,29 +10654,29 @@ __DEV__ &&
|
||||
("forwards" === revealOrder ||
|
||||
"backwards" === revealOrder ||
|
||||
"unstable_legacy-backwards" === revealOrder) &&
|
||||
void 0 !== nextProps &&
|
||||
null !== nextProps &&
|
||||
!1 !== nextProps
|
||||
void 0 !== newChildren &&
|
||||
null !== newChildren &&
|
||||
!1 !== newChildren
|
||||
)
|
||||
if (isArrayImpl(nextProps))
|
||||
if (isArrayImpl(newChildren))
|
||||
for (
|
||||
suspenseContext = 0;
|
||||
suspenseContext < nextProps.length;
|
||||
suspenseContext < newChildren.length;
|
||||
suspenseContext++
|
||||
) {
|
||||
if (
|
||||
!validateSuspenseListNestedChild(
|
||||
nextProps[suspenseContext],
|
||||
newChildren[suspenseContext],
|
||||
suspenseContext
|
||||
)
|
||||
)
|
||||
break a;
|
||||
}
|
||||
else if (
|
||||
((suspenseContext = getIteratorFn(nextProps)),
|
||||
((suspenseContext = getIteratorFn(newChildren)),
|
||||
"function" === typeof suspenseContext)
|
||||
) {
|
||||
if ((suspenseContext = suspenseContext.call(nextProps)))
|
||||
if ((suspenseContext = suspenseContext.call(newChildren)))
|
||||
for (
|
||||
var step = suspenseContext.next(), _i = 0;
|
||||
!step.done;
|
||||
@@ -10688,12 +10690,11 @@ __DEV__ &&
|
||||
'A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',
|
||||
revealOrder
|
||||
);
|
||||
reconcileChildren(current, workInProgress, nextProps, renderLanes);
|
||||
if (
|
||||
!shouldForceFallback &&
|
||||
null !== current &&
|
||||
0 !== (current.flags & 128)
|
||||
)
|
||||
reconcileChildren(current, workInProgress, newChildren, renderLanes);
|
||||
isHydrating
|
||||
? (warnIfNotHydrating(), (newChildren = treeForkCount))
|
||||
: (newChildren = 0);
|
||||
if (!nextProps && null !== current && 0 !== (current.flags & 128))
|
||||
a: for (current = workInProgress.child; null !== current; ) {
|
||||
if (13 === current.tag)
|
||||
null !== current.memoizedState &&
|
||||
@@ -10737,7 +10738,8 @@ __DEV__ &&
|
||||
!1,
|
||||
revealOrder,
|
||||
renderLanes,
|
||||
tailMode
|
||||
tailMode,
|
||||
newChildren
|
||||
);
|
||||
break;
|
||||
case "backwards":
|
||||
@@ -10760,11 +10762,19 @@ __DEV__ &&
|
||||
!0,
|
||||
renderLanes,
|
||||
null,
|
||||
tailMode
|
||||
tailMode,
|
||||
newChildren
|
||||
);
|
||||
break;
|
||||
case "together":
|
||||
initSuspenseListRenderState(workInProgress, !1, null, null, void 0);
|
||||
initSuspenseListRenderState(
|
||||
workInProgress,
|
||||
!1,
|
||||
null,
|
||||
null,
|
||||
void 0,
|
||||
newChildren
|
||||
);
|
||||
break;
|
||||
default:
|
||||
workInProgress.memoizedState = null;
|
||||
@@ -12470,12 +12480,12 @@ __DEV__ &&
|
||||
);
|
||||
case 19:
|
||||
pop(suspenseStackCursor, workInProgress);
|
||||
type = workInProgress.memoizedState;
|
||||
if (null === type) return bubbleProperties(workInProgress), null;
|
||||
newProps = 0 !== (workInProgress.flags & 128);
|
||||
nextResource = type.rendering;
|
||||
newProps = workInProgress.memoizedState;
|
||||
if (null === newProps) return bubbleProperties(workInProgress), null;
|
||||
type = 0 !== (workInProgress.flags & 128);
|
||||
nextResource = newProps.rendering;
|
||||
if (null === nextResource)
|
||||
if (newProps) cutOffTailIfNeeded(type, !1);
|
||||
if (type) cutOffTailIfNeeded(newProps, !1);
|
||||
else {
|
||||
if (
|
||||
workInProgressRootExitStatus !== RootInProgress ||
|
||||
@@ -12485,7 +12495,7 @@ __DEV__ &&
|
||||
nextResource = findFirstSuspended(current);
|
||||
if (null !== nextResource) {
|
||||
workInProgress.flags |= 128;
|
||||
cutOffTailIfNeeded(type, !1);
|
||||
cutOffTailIfNeeded(newProps, !1);
|
||||
current = nextResource.updateQueue;
|
||||
workInProgress.updateQueue = current;
|
||||
scheduleRetryEffect(workInProgress, current);
|
||||
@@ -12505,65 +12515,69 @@ __DEV__ &&
|
||||
ForceSuspenseFallback,
|
||||
workInProgress
|
||||
);
|
||||
isHydrating &&
|
||||
pushTreeFork(workInProgress, newProps.treeForkCount);
|
||||
return workInProgress.child;
|
||||
}
|
||||
current = current.sibling;
|
||||
}
|
||||
null !== type.tail &&
|
||||
null !== newProps.tail &&
|
||||
now$1() > workInProgressRootRenderTargetTime &&
|
||||
((workInProgress.flags |= 128),
|
||||
(newProps = !0),
|
||||
cutOffTailIfNeeded(type, !1),
|
||||
(type = !0),
|
||||
cutOffTailIfNeeded(newProps, !1),
|
||||
(workInProgress.lanes = 4194304));
|
||||
}
|
||||
else {
|
||||
if (!newProps)
|
||||
if (!type)
|
||||
if (
|
||||
((current = findFirstSuspended(nextResource)), null !== current)
|
||||
) {
|
||||
if (
|
||||
((workInProgress.flags |= 128),
|
||||
(newProps = !0),
|
||||
(type = !0),
|
||||
(current = current.updateQueue),
|
||||
(workInProgress.updateQueue = current),
|
||||
scheduleRetryEffect(workInProgress, current),
|
||||
cutOffTailIfNeeded(type, !0),
|
||||
null === type.tail &&
|
||||
"hidden" === type.tailMode &&
|
||||
cutOffTailIfNeeded(newProps, !0),
|
||||
null === newProps.tail &&
|
||||
"hidden" === newProps.tailMode &&
|
||||
!nextResource.alternate &&
|
||||
!isHydrating)
|
||||
)
|
||||
return bubbleProperties(workInProgress), null;
|
||||
} else
|
||||
2 * now$1() - type.renderingStartTime >
|
||||
2 * now$1() - newProps.renderingStartTime >
|
||||
workInProgressRootRenderTargetTime &&
|
||||
536870912 !== renderLanes &&
|
||||
((workInProgress.flags |= 128),
|
||||
(newProps = !0),
|
||||
cutOffTailIfNeeded(type, !1),
|
||||
(type = !0),
|
||||
cutOffTailIfNeeded(newProps, !1),
|
||||
(workInProgress.lanes = 4194304));
|
||||
type.isBackwards
|
||||
newProps.isBackwards
|
||||
? ((nextResource.sibling = workInProgress.child),
|
||||
(workInProgress.child = nextResource))
|
||||
: ((current = type.last),
|
||||
: ((current = newProps.last),
|
||||
null !== current
|
||||
? (current.sibling = nextResource)
|
||||
: (workInProgress.child = nextResource),
|
||||
(type.last = nextResource));
|
||||
(newProps.last = nextResource));
|
||||
}
|
||||
if (null !== type.tail)
|
||||
if (null !== newProps.tail)
|
||||
return (
|
||||
(current = type.tail),
|
||||
(type.rendering = current),
|
||||
(type.tail = current.sibling),
|
||||
(type.renderingStartTime = now$1()),
|
||||
(current = newProps.tail),
|
||||
(newProps.rendering = current),
|
||||
(newProps.tail = current.sibling),
|
||||
(newProps.renderingStartTime = now$1()),
|
||||
(current.sibling = null),
|
||||
(renderLanes = suspenseStackCursor.current),
|
||||
(renderLanes = newProps
|
||||
(renderLanes = type
|
||||
? (renderLanes & SubtreeSuspenseContextMask) |
|
||||
ForceSuspenseFallback
|
||||
: renderLanes & SubtreeSuspenseContextMask),
|
||||
push(suspenseStackCursor, renderLanes, workInProgress),
|
||||
isHydrating &&
|
||||
pushTreeFork(workInProgress, newProps.treeForkCount),
|
||||
current
|
||||
);
|
||||
bubbleProperties(workInProgress);
|
||||
@@ -27111,11 +27125,11 @@ __DEV__ &&
|
||||
};
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-4df098c4-20250609" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-c38e2689-20250609" !== 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.2.0-native-fb-4df098c4-20250609\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.2.0-native-fb-c38e2689-20250609\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -27152,10 +27166,10 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-4df098c4-20250609",
|
||||
version: "19.2.0-native-fb-c38e2689-20250609",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-4df098c4-20250609"
|
||||
reconcilerVersion: "19.2.0-native-fb-c38e2689-20250609"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -27609,7 +27623,7 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-4df098c4-20250609";
|
||||
exports.version = "19.2.0-native-fb-c38e2689-20250609";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+60
-41
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<0e5a3dd2c34baff14e78dffd8f424f58>>
|
||||
* @generated SignedSource<<0ef40058f23db68f833b4628232ab55e>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -7390,7 +7390,8 @@ function initSuspenseListRenderState(
|
||||
isBackwards,
|
||||
tail,
|
||||
lastContentRow,
|
||||
tailMode
|
||||
tailMode,
|
||||
treeForkCount
|
||||
) {
|
||||
var renderState = workInProgress.memoizedState;
|
||||
null === renderState
|
||||
@@ -7400,14 +7401,16 @@ function initSuspenseListRenderState(
|
||||
renderingStartTime: 0,
|
||||
last: lastContentRow,
|
||||
tail: tail,
|
||||
tailMode: tailMode
|
||||
tailMode: tailMode,
|
||||
treeForkCount: treeForkCount
|
||||
})
|
||||
: ((renderState.isBackwards = isBackwards),
|
||||
(renderState.rendering = null),
|
||||
(renderState.renderingStartTime = 0),
|
||||
(renderState.last = lastContentRow),
|
||||
(renderState.tail = tail),
|
||||
(renderState.tailMode = tailMode));
|
||||
(renderState.tailMode = tailMode),
|
||||
(renderState.treeForkCount = treeForkCount));
|
||||
}
|
||||
function updateSuspenseListComponent(current, workInProgress, renderLanes) {
|
||||
var nextProps = workInProgress.pendingProps,
|
||||
@@ -7422,6 +7425,7 @@ function updateSuspenseListComponent(current, workInProgress, renderLanes) {
|
||||
: (suspenseContext &= 1);
|
||||
push(suspenseStackCursor, suspenseContext);
|
||||
reconcileChildren(current, workInProgress, nextProps, renderLanes);
|
||||
nextProps = isHydrating ? treeForkCount : 0;
|
||||
if (!shouldForceFallback && null !== current && 0 !== (current.flags & 128))
|
||||
a: for (current = workInProgress.child; null !== current; ) {
|
||||
if (13 === current.tag)
|
||||
@@ -7464,7 +7468,8 @@ function updateSuspenseListComponent(current, workInProgress, renderLanes) {
|
||||
!1,
|
||||
revealOrder,
|
||||
renderLanes,
|
||||
tailMode
|
||||
tailMode,
|
||||
nextProps
|
||||
);
|
||||
break;
|
||||
case "backwards":
|
||||
@@ -7487,11 +7492,19 @@ function updateSuspenseListComponent(current, workInProgress, renderLanes) {
|
||||
!0,
|
||||
renderLanes,
|
||||
null,
|
||||
tailMode
|
||||
tailMode,
|
||||
nextProps
|
||||
);
|
||||
break;
|
||||
case "together":
|
||||
initSuspenseListRenderState(workInProgress, !1, null, null, void 0);
|
||||
initSuspenseListRenderState(
|
||||
workInProgress,
|
||||
!1,
|
||||
null,
|
||||
null,
|
||||
void 0,
|
||||
nextProps
|
||||
);
|
||||
break;
|
||||
default:
|
||||
workInProgress.memoizedState = null;
|
||||
@@ -8762,12 +8775,12 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
);
|
||||
case 19:
|
||||
pop(suspenseStackCursor);
|
||||
type = workInProgress.memoizedState;
|
||||
if (null === type) return bubbleProperties(workInProgress), null;
|
||||
newProps = 0 !== (workInProgress.flags & 128);
|
||||
nextResource = type.rendering;
|
||||
newProps = workInProgress.memoizedState;
|
||||
if (null === newProps) return bubbleProperties(workInProgress), null;
|
||||
type = 0 !== (workInProgress.flags & 128);
|
||||
nextResource = newProps.rendering;
|
||||
if (null === nextResource)
|
||||
if (newProps) cutOffTailIfNeeded(type, !1);
|
||||
if (type) cutOffTailIfNeeded(newProps, !1);
|
||||
else {
|
||||
if (
|
||||
0 !== workInProgressRootExitStatus ||
|
||||
@@ -8777,7 +8790,7 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
nextResource = findFirstSuspended(current);
|
||||
if (null !== nextResource) {
|
||||
workInProgress.flags |= 128;
|
||||
cutOffTailIfNeeded(type, !1);
|
||||
cutOffTailIfNeeded(newProps, !1);
|
||||
current = nextResource.updateQueue;
|
||||
workInProgress.updateQueue = current;
|
||||
scheduleRetryEffect(workInProgress, current);
|
||||
@@ -8790,62 +8803,68 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
suspenseStackCursor,
|
||||
(suspenseStackCursor.current & 1) | 2
|
||||
);
|
||||
isHydrating &&
|
||||
pushTreeFork(workInProgress, newProps.treeForkCount);
|
||||
return workInProgress.child;
|
||||
}
|
||||
current = current.sibling;
|
||||
}
|
||||
null !== type.tail &&
|
||||
null !== newProps.tail &&
|
||||
now() > workInProgressRootRenderTargetTime &&
|
||||
((workInProgress.flags |= 128),
|
||||
(newProps = !0),
|
||||
cutOffTailIfNeeded(type, !1),
|
||||
(type = !0),
|
||||
cutOffTailIfNeeded(newProps, !1),
|
||||
(workInProgress.lanes = 4194304));
|
||||
}
|
||||
else {
|
||||
if (!newProps)
|
||||
if (!type)
|
||||
if (
|
||||
((current = findFirstSuspended(nextResource)), null !== current)
|
||||
) {
|
||||
if (
|
||||
((workInProgress.flags |= 128),
|
||||
(newProps = !0),
|
||||
(type = !0),
|
||||
(current = current.updateQueue),
|
||||
(workInProgress.updateQueue = current),
|
||||
scheduleRetryEffect(workInProgress, current),
|
||||
cutOffTailIfNeeded(type, !0),
|
||||
null === type.tail &&
|
||||
"hidden" === type.tailMode &&
|
||||
cutOffTailIfNeeded(newProps, !0),
|
||||
null === newProps.tail &&
|
||||
"hidden" === newProps.tailMode &&
|
||||
!nextResource.alternate &&
|
||||
!isHydrating)
|
||||
)
|
||||
return bubbleProperties(workInProgress), null;
|
||||
} else
|
||||
2 * now() - type.renderingStartTime >
|
||||
2 * now() - newProps.renderingStartTime >
|
||||
workInProgressRootRenderTargetTime &&
|
||||
536870912 !== renderLanes &&
|
||||
((workInProgress.flags |= 128),
|
||||
(newProps = !0),
|
||||
cutOffTailIfNeeded(type, !1),
|
||||
(type = !0),
|
||||
cutOffTailIfNeeded(newProps, !1),
|
||||
(workInProgress.lanes = 4194304));
|
||||
type.isBackwards
|
||||
newProps.isBackwards
|
||||
? ((nextResource.sibling = workInProgress.child),
|
||||
(workInProgress.child = nextResource))
|
||||
: ((current = type.last),
|
||||
: ((current = newProps.last),
|
||||
null !== current
|
||||
? (current.sibling = nextResource)
|
||||
: (workInProgress.child = nextResource),
|
||||
(type.last = nextResource));
|
||||
(newProps.last = nextResource));
|
||||
}
|
||||
if (null !== type.tail)
|
||||
if (null !== newProps.tail)
|
||||
return (
|
||||
(workInProgress = type.tail),
|
||||
(type.rendering = workInProgress),
|
||||
(type.tail = workInProgress.sibling),
|
||||
(type.renderingStartTime = now()),
|
||||
(workInProgress.sibling = null),
|
||||
(current = suspenseStackCursor.current),
|
||||
push(suspenseStackCursor, newProps ? (current & 1) | 2 : current & 1),
|
||||
workInProgress
|
||||
(current = newProps.tail),
|
||||
(newProps.rendering = current),
|
||||
(newProps.tail = current.sibling),
|
||||
(newProps.renderingStartTime = now()),
|
||||
(current.sibling = null),
|
||||
(renderLanes = suspenseStackCursor.current),
|
||||
push(
|
||||
suspenseStackCursor,
|
||||
type ? (renderLanes & 1) | 2 : renderLanes & 1
|
||||
),
|
||||
isHydrating && pushTreeFork(workInProgress, newProps.treeForkCount),
|
||||
current
|
||||
);
|
||||
bubbleProperties(workInProgress);
|
||||
return null;
|
||||
@@ -17112,14 +17131,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2018 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-4df098c4-20250609" !==
|
||||
"19.2.0-native-fb-c38e2689-20250609" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2018
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2018,
|
||||
"19.2.0-native-fb-4df098c4-20250609"
|
||||
"19.2.0-native-fb-c38e2689-20250609"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17141,10 +17160,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2539 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-4df098c4-20250609",
|
||||
version: "19.2.0-native-fb-c38e2689-20250609",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-4df098c4-20250609"
|
||||
reconcilerVersion: "19.2.0-native-fb-c38e2689-20250609"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2540 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -17395,4 +17414,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-4df098c4-20250609";
|
||||
exports.version = "19.2.0-native-fb-c38e2689-20250609";
|
||||
|
||||
+60
-41
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<e32e079549af65b614f5f847d694bb4b>>
|
||||
* @generated SignedSource<<c0eef7f7e8f02ef72c8730056c1e8417>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -7587,7 +7587,8 @@ function initSuspenseListRenderState(
|
||||
isBackwards,
|
||||
tail,
|
||||
lastContentRow,
|
||||
tailMode
|
||||
tailMode,
|
||||
treeForkCount
|
||||
) {
|
||||
var renderState = workInProgress.memoizedState;
|
||||
null === renderState
|
||||
@@ -7597,14 +7598,16 @@ function initSuspenseListRenderState(
|
||||
renderingStartTime: 0,
|
||||
last: lastContentRow,
|
||||
tail: tail,
|
||||
tailMode: tailMode
|
||||
tailMode: tailMode,
|
||||
treeForkCount: treeForkCount
|
||||
})
|
||||
: ((renderState.isBackwards = isBackwards),
|
||||
(renderState.rendering = null),
|
||||
(renderState.renderingStartTime = 0),
|
||||
(renderState.last = lastContentRow),
|
||||
(renderState.tail = tail),
|
||||
(renderState.tailMode = tailMode));
|
||||
(renderState.tailMode = tailMode),
|
||||
(renderState.treeForkCount = treeForkCount));
|
||||
}
|
||||
function updateSuspenseListComponent(current, workInProgress, renderLanes) {
|
||||
var nextProps = workInProgress.pendingProps,
|
||||
@@ -7619,6 +7622,7 @@ function updateSuspenseListComponent(current, workInProgress, renderLanes) {
|
||||
: (suspenseContext &= 1);
|
||||
push(suspenseStackCursor, suspenseContext);
|
||||
reconcileChildren(current, workInProgress, nextProps, renderLanes);
|
||||
nextProps = isHydrating ? treeForkCount : 0;
|
||||
if (!shouldForceFallback && null !== current && 0 !== (current.flags & 128))
|
||||
a: for (current = workInProgress.child; null !== current; ) {
|
||||
if (13 === current.tag)
|
||||
@@ -7661,7 +7665,8 @@ function updateSuspenseListComponent(current, workInProgress, renderLanes) {
|
||||
!1,
|
||||
revealOrder,
|
||||
renderLanes,
|
||||
tailMode
|
||||
tailMode,
|
||||
nextProps
|
||||
);
|
||||
break;
|
||||
case "backwards":
|
||||
@@ -7684,11 +7689,19 @@ function updateSuspenseListComponent(current, workInProgress, renderLanes) {
|
||||
!0,
|
||||
renderLanes,
|
||||
null,
|
||||
tailMode
|
||||
tailMode,
|
||||
nextProps
|
||||
);
|
||||
break;
|
||||
case "together":
|
||||
initSuspenseListRenderState(workInProgress, !1, null, null, void 0);
|
||||
initSuspenseListRenderState(
|
||||
workInProgress,
|
||||
!1,
|
||||
null,
|
||||
null,
|
||||
void 0,
|
||||
nextProps
|
||||
);
|
||||
break;
|
||||
default:
|
||||
workInProgress.memoizedState = null;
|
||||
@@ -9046,12 +9059,12 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
);
|
||||
case 19:
|
||||
pop(suspenseStackCursor);
|
||||
type = workInProgress.memoizedState;
|
||||
if (null === type) return bubbleProperties(workInProgress), null;
|
||||
newProps = 0 !== (workInProgress.flags & 128);
|
||||
nextResource = type.rendering;
|
||||
newProps = workInProgress.memoizedState;
|
||||
if (null === newProps) return bubbleProperties(workInProgress), null;
|
||||
type = 0 !== (workInProgress.flags & 128);
|
||||
nextResource = newProps.rendering;
|
||||
if (null === nextResource)
|
||||
if (newProps) cutOffTailIfNeeded(type, !1);
|
||||
if (type) cutOffTailIfNeeded(newProps, !1);
|
||||
else {
|
||||
if (
|
||||
0 !== workInProgressRootExitStatus ||
|
||||
@@ -9061,7 +9074,7 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
nextResource = findFirstSuspended(current);
|
||||
if (null !== nextResource) {
|
||||
workInProgress.flags |= 128;
|
||||
cutOffTailIfNeeded(type, !1);
|
||||
cutOffTailIfNeeded(newProps, !1);
|
||||
current = nextResource.updateQueue;
|
||||
workInProgress.updateQueue = current;
|
||||
scheduleRetryEffect(workInProgress, current);
|
||||
@@ -9074,62 +9087,68 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
suspenseStackCursor,
|
||||
(suspenseStackCursor.current & 1) | 2
|
||||
);
|
||||
isHydrating &&
|
||||
pushTreeFork(workInProgress, newProps.treeForkCount);
|
||||
return workInProgress.child;
|
||||
}
|
||||
current = current.sibling;
|
||||
}
|
||||
null !== type.tail &&
|
||||
null !== newProps.tail &&
|
||||
now$1() > workInProgressRootRenderTargetTime &&
|
||||
((workInProgress.flags |= 128),
|
||||
(newProps = !0),
|
||||
cutOffTailIfNeeded(type, !1),
|
||||
(type = !0),
|
||||
cutOffTailIfNeeded(newProps, !1),
|
||||
(workInProgress.lanes = 4194304));
|
||||
}
|
||||
else {
|
||||
if (!newProps)
|
||||
if (!type)
|
||||
if (
|
||||
((current = findFirstSuspended(nextResource)), null !== current)
|
||||
) {
|
||||
if (
|
||||
((workInProgress.flags |= 128),
|
||||
(newProps = !0),
|
||||
(type = !0),
|
||||
(current = current.updateQueue),
|
||||
(workInProgress.updateQueue = current),
|
||||
scheduleRetryEffect(workInProgress, current),
|
||||
cutOffTailIfNeeded(type, !0),
|
||||
null === type.tail &&
|
||||
"hidden" === type.tailMode &&
|
||||
cutOffTailIfNeeded(newProps, !0),
|
||||
null === newProps.tail &&
|
||||
"hidden" === newProps.tailMode &&
|
||||
!nextResource.alternate &&
|
||||
!isHydrating)
|
||||
)
|
||||
return bubbleProperties(workInProgress), null;
|
||||
} else
|
||||
2 * now$1() - type.renderingStartTime >
|
||||
2 * now$1() - newProps.renderingStartTime >
|
||||
workInProgressRootRenderTargetTime &&
|
||||
536870912 !== renderLanes &&
|
||||
((workInProgress.flags |= 128),
|
||||
(newProps = !0),
|
||||
cutOffTailIfNeeded(type, !1),
|
||||
(type = !0),
|
||||
cutOffTailIfNeeded(newProps, !1),
|
||||
(workInProgress.lanes = 4194304));
|
||||
type.isBackwards
|
||||
newProps.isBackwards
|
||||
? ((nextResource.sibling = workInProgress.child),
|
||||
(workInProgress.child = nextResource))
|
||||
: ((current = type.last),
|
||||
: ((current = newProps.last),
|
||||
null !== current
|
||||
? (current.sibling = nextResource)
|
||||
: (workInProgress.child = nextResource),
|
||||
(type.last = nextResource));
|
||||
(newProps.last = nextResource));
|
||||
}
|
||||
if (null !== type.tail)
|
||||
if (null !== newProps.tail)
|
||||
return (
|
||||
(workInProgress = type.tail),
|
||||
(type.rendering = workInProgress),
|
||||
(type.tail = workInProgress.sibling),
|
||||
(type.renderingStartTime = now$1()),
|
||||
(workInProgress.sibling = null),
|
||||
(current = suspenseStackCursor.current),
|
||||
push(suspenseStackCursor, newProps ? (current & 1) | 2 : current & 1),
|
||||
workInProgress
|
||||
(current = newProps.tail),
|
||||
(newProps.rendering = current),
|
||||
(newProps.tail = current.sibling),
|
||||
(newProps.renderingStartTime = now$1()),
|
||||
(current.sibling = null),
|
||||
(renderLanes = suspenseStackCursor.current),
|
||||
push(
|
||||
suspenseStackCursor,
|
||||
type ? (renderLanes & 1) | 2 : renderLanes & 1
|
||||
),
|
||||
isHydrating && pushTreeFork(workInProgress, newProps.treeForkCount),
|
||||
current
|
||||
);
|
||||
bubbleProperties(workInProgress);
|
||||
return null;
|
||||
@@ -17826,14 +17845,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2121 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-4df098c4-20250609" !==
|
||||
"19.2.0-native-fb-c38e2689-20250609" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2121
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2121,
|
||||
"19.2.0-native-fb-4df098c4-20250609"
|
||||
"19.2.0-native-fb-c38e2689-20250609"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17855,10 +17874,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2128 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-4df098c4-20250609",
|
||||
version: "19.2.0-native-fb-c38e2689-20250609",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-4df098c4-20250609",
|
||||
reconcilerVersion: "19.2.0-native-fb-c38e2689-20250609",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$313 = 0;
|
||||
@@ -18124,7 +18143,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-4df098c4-20250609";
|
||||
exports.version = "19.2.0-native-fb-c38e2689-20250609";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+22
-10
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<46083989d51b8bd36413c51a8f4c2697>>
|
||||
* @generated SignedSource<<de9c7c0d013228fcc578171855d9f29f>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -7468,7 +7468,8 @@ __DEV__ &&
|
||||
isBackwards,
|
||||
tail,
|
||||
lastContentRow,
|
||||
tailMode
|
||||
tailMode,
|
||||
treeForkCount
|
||||
) {
|
||||
var renderState = workInProgress.memoizedState;
|
||||
null === renderState
|
||||
@@ -7478,14 +7479,16 @@ __DEV__ &&
|
||||
renderingStartTime: 0,
|
||||
last: lastContentRow,
|
||||
tail: tail,
|
||||
tailMode: tailMode
|
||||
tailMode: tailMode,
|
||||
treeForkCount: treeForkCount
|
||||
})
|
||||
: ((renderState.isBackwards = isBackwards),
|
||||
(renderState.rendering = null),
|
||||
(renderState.renderingStartTime = 0),
|
||||
(renderState.last = lastContentRow),
|
||||
(renderState.tail = tail),
|
||||
(renderState.tailMode = tailMode));
|
||||
(renderState.tailMode = tailMode),
|
||||
(renderState.treeForkCount = treeForkCount));
|
||||
}
|
||||
function updateSuspenseListComponent(current, workInProgress, renderLanes) {
|
||||
var nextProps = workInProgress.pendingProps,
|
||||
@@ -7667,7 +7670,8 @@ __DEV__ &&
|
||||
!1,
|
||||
revealOrder,
|
||||
renderLanes,
|
||||
tailMode
|
||||
tailMode,
|
||||
0
|
||||
);
|
||||
break;
|
||||
case "backwards":
|
||||
@@ -7690,11 +7694,19 @@ __DEV__ &&
|
||||
!0,
|
||||
renderLanes,
|
||||
null,
|
||||
tailMode
|
||||
tailMode,
|
||||
0
|
||||
);
|
||||
break;
|
||||
case "together":
|
||||
initSuspenseListRenderState(workInProgress, !1, null, null, void 0);
|
||||
initSuspenseListRenderState(
|
||||
workInProgress,
|
||||
!1,
|
||||
null,
|
||||
null,
|
||||
void 0,
|
||||
0
|
||||
);
|
||||
break;
|
||||
default:
|
||||
workInProgress.memoizedState = null;
|
||||
@@ -15700,10 +15712,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-4df098c4-20250609",
|
||||
version: "19.2.0-native-fb-c38e2689-20250609",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-4df098c4-20250609"
|
||||
reconcilerVersion: "19.2.0-native-fb-c38e2689-20250609"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -15848,5 +15860,5 @@ __DEV__ &&
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-4df098c4-20250609";
|
||||
exports.version = "19.2.0-native-fb-c38e2689-20250609";
|
||||
})();
|
||||
|
||||
+15
-10
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<53a7cb35bfcf45a18190fe6ffd63d087>>
|
||||
* @generated SignedSource<<92af8836f008eb588309eaaf176515f2>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -5350,7 +5350,8 @@ function initSuspenseListRenderState(
|
||||
isBackwards,
|
||||
tail,
|
||||
lastContentRow,
|
||||
tailMode
|
||||
tailMode,
|
||||
treeForkCount
|
||||
) {
|
||||
var renderState = workInProgress.memoizedState;
|
||||
null === renderState
|
||||
@@ -5360,14 +5361,16 @@ function initSuspenseListRenderState(
|
||||
renderingStartTime: 0,
|
||||
last: lastContentRow,
|
||||
tail: tail,
|
||||
tailMode: tailMode
|
||||
tailMode: tailMode,
|
||||
treeForkCount: treeForkCount
|
||||
})
|
||||
: ((renderState.isBackwards = isBackwards),
|
||||
(renderState.rendering = null),
|
||||
(renderState.renderingStartTime = 0),
|
||||
(renderState.last = lastContentRow),
|
||||
(renderState.tail = tail),
|
||||
(renderState.tailMode = tailMode));
|
||||
(renderState.tailMode = tailMode),
|
||||
(renderState.treeForkCount = treeForkCount));
|
||||
}
|
||||
function updateSuspenseListComponent(current, workInProgress, renderLanes) {
|
||||
var nextProps = workInProgress.pendingProps,
|
||||
@@ -5424,7 +5427,8 @@ function updateSuspenseListComponent(current, workInProgress, renderLanes) {
|
||||
!1,
|
||||
revealOrder,
|
||||
renderLanes,
|
||||
tailMode
|
||||
tailMode,
|
||||
0
|
||||
);
|
||||
break;
|
||||
case "backwards":
|
||||
@@ -5447,11 +5451,12 @@ function updateSuspenseListComponent(current, workInProgress, renderLanes) {
|
||||
!0,
|
||||
renderLanes,
|
||||
null,
|
||||
tailMode
|
||||
tailMode,
|
||||
0
|
||||
);
|
||||
break;
|
||||
case "together":
|
||||
initSuspenseListRenderState(workInProgress, !1, null, null, void 0);
|
||||
initSuspenseListRenderState(workInProgress, !1, null, null, void 0, 0);
|
||||
break;
|
||||
default:
|
||||
workInProgress.memoizedState = null;
|
||||
@@ -9899,10 +9904,10 @@ function wrapFiber(fiber) {
|
||||
}
|
||||
var internals$jscomp$inline_1447 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-4df098c4-20250609",
|
||||
version: "19.2.0-native-fb-c38e2689-20250609",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-4df098c4-20250609"
|
||||
reconcilerVersion: "19.2.0-native-fb-c38e2689-20250609"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1448 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -10038,4 +10043,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-4df098c4-20250609";
|
||||
exports.version = "19.2.0-native-fb-c38e2689-20250609";
|
||||
|
||||
+15
-10
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<f9d116ee2ba49bfba8d6e95a5d6cc26b>>
|
||||
* @generated SignedSource<<2c3422439f3bd7f66fd933c0483eee73>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -5497,7 +5497,8 @@ function initSuspenseListRenderState(
|
||||
isBackwards,
|
||||
tail,
|
||||
lastContentRow,
|
||||
tailMode
|
||||
tailMode,
|
||||
treeForkCount
|
||||
) {
|
||||
var renderState = workInProgress.memoizedState;
|
||||
null === renderState
|
||||
@@ -5507,14 +5508,16 @@ function initSuspenseListRenderState(
|
||||
renderingStartTime: 0,
|
||||
last: lastContentRow,
|
||||
tail: tail,
|
||||
tailMode: tailMode
|
||||
tailMode: tailMode,
|
||||
treeForkCount: treeForkCount
|
||||
})
|
||||
: ((renderState.isBackwards = isBackwards),
|
||||
(renderState.rendering = null),
|
||||
(renderState.renderingStartTime = 0),
|
||||
(renderState.last = lastContentRow),
|
||||
(renderState.tail = tail),
|
||||
(renderState.tailMode = tailMode));
|
||||
(renderState.tailMode = tailMode),
|
||||
(renderState.treeForkCount = treeForkCount));
|
||||
}
|
||||
function updateSuspenseListComponent(current, workInProgress, renderLanes) {
|
||||
var nextProps = workInProgress.pendingProps,
|
||||
@@ -5571,7 +5574,8 @@ function updateSuspenseListComponent(current, workInProgress, renderLanes) {
|
||||
!1,
|
||||
revealOrder,
|
||||
renderLanes,
|
||||
tailMode
|
||||
tailMode,
|
||||
0
|
||||
);
|
||||
break;
|
||||
case "backwards":
|
||||
@@ -5594,11 +5598,12 @@ function updateSuspenseListComponent(current, workInProgress, renderLanes) {
|
||||
!0,
|
||||
renderLanes,
|
||||
null,
|
||||
tailMode
|
||||
tailMode,
|
||||
0
|
||||
);
|
||||
break;
|
||||
case "together":
|
||||
initSuspenseListRenderState(workInProgress, !1, null, null, void 0);
|
||||
initSuspenseListRenderState(workInProgress, !1, null, null, void 0, 0);
|
||||
break;
|
||||
default:
|
||||
workInProgress.memoizedState = null;
|
||||
@@ -10519,10 +10524,10 @@ function wrapFiber(fiber) {
|
||||
}
|
||||
var internals$jscomp$inline_1254 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-4df098c4-20250609",
|
||||
version: "19.2.0-native-fb-c38e2689-20250609",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-4df098c4-20250609",
|
||||
reconcilerVersion: "19.2.0-native-fb-c38e2689-20250609",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$155 = 0;
|
||||
@@ -10673,4 +10678,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-4df098c4-20250609";
|
||||
exports.version = "19.2.0-native-fb-c38e2689-20250609";
|
||||
|
||||
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<dc44b56c9dcfad69f7d0d05a7828f97d>>
|
||||
* @generated SignedSource<<8784c6fcc784513ef58f82774daead6f>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -1411,7 +1411,7 @@ __DEV__ &&
|
||||
exports.useTransition = function () {
|
||||
return resolveDispatcher().useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-4df098c4-20250609";
|
||||
exports.version = "19.2.0-native-fb-c38e2689-20250609";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<818897dddecb291a43f10daff180efaa>>
|
||||
* @generated SignedSource<<e7d79886e81c3a9ebfc4cea03ef7e100>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -586,4 +586,4 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-4df098c4-20250609";
|
||||
exports.version = "19.2.0-native-fb-c38e2689-20250609";
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<8293964090ee6d2e9a488dcfc6ae9ad9>>
|
||||
* @generated SignedSource<<ee7e1a5892ddff6552edad5f92e30daa>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -590,7 +590,7 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-4df098c4-20250609";
|
||||
exports.version = "19.2.0-native-fb-c38e2689-20250609";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
4df098c4c2c51a033592ebc84abc47cc49a6bfb2
|
||||
c38e26897848374c34ac6b651fce4a9088ed4dd0
|
||||
|
||||
+21
-9
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<95a1c5983448c10b644fb06c787be602>>
|
||||
* @generated SignedSource<<b0c69b4038a108e49052fe52d33ca6d0>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -8343,7 +8343,8 @@ __DEV__ &&
|
||||
isBackwards,
|
||||
tail,
|
||||
lastContentRow,
|
||||
tailMode
|
||||
tailMode,
|
||||
treeForkCount
|
||||
) {
|
||||
var renderState = workInProgress.memoizedState;
|
||||
null === renderState
|
||||
@@ -8353,14 +8354,16 @@ __DEV__ &&
|
||||
renderingStartTime: 0,
|
||||
last: lastContentRow,
|
||||
tail: tail,
|
||||
tailMode: tailMode
|
||||
tailMode: tailMode,
|
||||
treeForkCount: treeForkCount
|
||||
})
|
||||
: ((renderState.isBackwards = isBackwards),
|
||||
(renderState.rendering = null),
|
||||
(renderState.renderingStartTime = 0),
|
||||
(renderState.last = lastContentRow),
|
||||
(renderState.tail = tail),
|
||||
(renderState.tailMode = tailMode));
|
||||
(renderState.tailMode = tailMode),
|
||||
(renderState.treeForkCount = treeForkCount));
|
||||
}
|
||||
function updateSuspenseListComponent(current, workInProgress, renderLanes) {
|
||||
var nextProps = workInProgress.pendingProps,
|
||||
@@ -8542,7 +8545,8 @@ __DEV__ &&
|
||||
!1,
|
||||
revealOrder,
|
||||
renderLanes,
|
||||
tailMode
|
||||
tailMode,
|
||||
0
|
||||
);
|
||||
break;
|
||||
case "backwards":
|
||||
@@ -8565,11 +8569,19 @@ __DEV__ &&
|
||||
!0,
|
||||
renderLanes,
|
||||
null,
|
||||
tailMode
|
||||
tailMode,
|
||||
0
|
||||
);
|
||||
break;
|
||||
case "together":
|
||||
initSuspenseListRenderState(workInProgress, !1, null, null, void 0);
|
||||
initSuspenseListRenderState(
|
||||
workInProgress,
|
||||
!1,
|
||||
null,
|
||||
null,
|
||||
void 0,
|
||||
0
|
||||
);
|
||||
break;
|
||||
default:
|
||||
workInProgress.memoizedState = null;
|
||||
@@ -17575,10 +17587,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-4df098c4-20250609",
|
||||
version: "19.2.0-native-fb-c38e2689-20250609",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-4df098c4-20250609"
|
||||
reconcilerVersion: "19.2.0-native-fb-c38e2689-20250609"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+14
-9
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<bda595f98a192853c43a616ed2879537>>
|
||||
* @generated SignedSource<<4bf21900a2e670c2c922c979ebaf7dad>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -6600,7 +6600,8 @@ function initSuspenseListRenderState(
|
||||
isBackwards,
|
||||
tail,
|
||||
lastContentRow,
|
||||
tailMode
|
||||
tailMode,
|
||||
treeForkCount
|
||||
) {
|
||||
var renderState = workInProgress.memoizedState;
|
||||
null === renderState
|
||||
@@ -6610,14 +6611,16 @@ function initSuspenseListRenderState(
|
||||
renderingStartTime: 0,
|
||||
last: lastContentRow,
|
||||
tail: tail,
|
||||
tailMode: tailMode
|
||||
tailMode: tailMode,
|
||||
treeForkCount: treeForkCount
|
||||
})
|
||||
: ((renderState.isBackwards = isBackwards),
|
||||
(renderState.rendering = null),
|
||||
(renderState.renderingStartTime = 0),
|
||||
(renderState.last = lastContentRow),
|
||||
(renderState.tail = tail),
|
||||
(renderState.tailMode = tailMode));
|
||||
(renderState.tailMode = tailMode),
|
||||
(renderState.treeForkCount = treeForkCount));
|
||||
}
|
||||
function updateSuspenseListComponent(current, workInProgress, renderLanes) {
|
||||
var nextProps = workInProgress.pendingProps,
|
||||
@@ -6674,7 +6677,8 @@ function updateSuspenseListComponent(current, workInProgress, renderLanes) {
|
||||
!1,
|
||||
revealOrder,
|
||||
renderLanes,
|
||||
tailMode
|
||||
tailMode,
|
||||
0
|
||||
);
|
||||
break;
|
||||
case "backwards":
|
||||
@@ -6697,11 +6701,12 @@ function updateSuspenseListComponent(current, workInProgress, renderLanes) {
|
||||
!0,
|
||||
renderLanes,
|
||||
null,
|
||||
tailMode
|
||||
tailMode,
|
||||
0
|
||||
);
|
||||
break;
|
||||
case "together":
|
||||
initSuspenseListRenderState(workInProgress, !1, null, null, void 0);
|
||||
initSuspenseListRenderState(workInProgress, !1, null, null, void 0, 0);
|
||||
break;
|
||||
default:
|
||||
workInProgress.memoizedState = null;
|
||||
@@ -11258,10 +11263,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1263 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-4df098c4-20250609",
|
||||
version: "19.2.0-native-fb-c38e2689-20250609",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-4df098c4-20250609"
|
||||
reconcilerVersion: "19.2.0-native-fb-c38e2689-20250609"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1263.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+14
-9
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<9a2cfbc5b0340b855014af5b9cfd8797>>
|
||||
* @generated SignedSource<<b5e9f0efcb1deb2ff1da1fe60a784be6>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -6782,7 +6782,8 @@ function initSuspenseListRenderState(
|
||||
isBackwards,
|
||||
tail,
|
||||
lastContentRow,
|
||||
tailMode
|
||||
tailMode,
|
||||
treeForkCount
|
||||
) {
|
||||
var renderState = workInProgress.memoizedState;
|
||||
null === renderState
|
||||
@@ -6792,14 +6793,16 @@ function initSuspenseListRenderState(
|
||||
renderingStartTime: 0,
|
||||
last: lastContentRow,
|
||||
tail: tail,
|
||||
tailMode: tailMode
|
||||
tailMode: tailMode,
|
||||
treeForkCount: treeForkCount
|
||||
})
|
||||
: ((renderState.isBackwards = isBackwards),
|
||||
(renderState.rendering = null),
|
||||
(renderState.renderingStartTime = 0),
|
||||
(renderState.last = lastContentRow),
|
||||
(renderState.tail = tail),
|
||||
(renderState.tailMode = tailMode));
|
||||
(renderState.tailMode = tailMode),
|
||||
(renderState.treeForkCount = treeForkCount));
|
||||
}
|
||||
function updateSuspenseListComponent(current, workInProgress, renderLanes) {
|
||||
var nextProps = workInProgress.pendingProps,
|
||||
@@ -6856,7 +6859,8 @@ function updateSuspenseListComponent(current, workInProgress, renderLanes) {
|
||||
!1,
|
||||
revealOrder,
|
||||
renderLanes,
|
||||
tailMode
|
||||
tailMode,
|
||||
0
|
||||
);
|
||||
break;
|
||||
case "backwards":
|
||||
@@ -6879,11 +6883,12 @@ function updateSuspenseListComponent(current, workInProgress, renderLanes) {
|
||||
!0,
|
||||
renderLanes,
|
||||
null,
|
||||
tailMode
|
||||
tailMode,
|
||||
0
|
||||
);
|
||||
break;
|
||||
case "together":
|
||||
initSuspenseListRenderState(workInProgress, !1, null, null, void 0);
|
||||
initSuspenseListRenderState(workInProgress, !1, null, null, void 0, 0);
|
||||
break;
|
||||
default:
|
||||
workInProgress.memoizedState = null;
|
||||
@@ -11962,10 +11967,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1364 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-4df098c4-20250609",
|
||||
version: "19.2.0-native-fb-c38e2689-20250609",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-4df098c4-20250609"
|
||||
reconcilerVersion: "19.2.0-native-fb-c38e2689-20250609"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1364.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+23
-11
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<190ba4b8f634796f85b67b2bdc47ec0e>>
|
||||
* @generated SignedSource<<96d85ecd4a741142a1974f4e72bbcb55>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -8449,7 +8449,8 @@ __DEV__ &&
|
||||
isBackwards,
|
||||
tail,
|
||||
lastContentRow,
|
||||
tailMode
|
||||
tailMode,
|
||||
treeForkCount
|
||||
) {
|
||||
var renderState = workInProgress.memoizedState;
|
||||
null === renderState
|
||||
@@ -8459,14 +8460,16 @@ __DEV__ &&
|
||||
renderingStartTime: 0,
|
||||
last: lastContentRow,
|
||||
tail: tail,
|
||||
tailMode: tailMode
|
||||
tailMode: tailMode,
|
||||
treeForkCount: treeForkCount
|
||||
})
|
||||
: ((renderState.isBackwards = isBackwards),
|
||||
(renderState.rendering = null),
|
||||
(renderState.renderingStartTime = 0),
|
||||
(renderState.last = lastContentRow),
|
||||
(renderState.tail = tail),
|
||||
(renderState.tailMode = tailMode));
|
||||
(renderState.tailMode = tailMode),
|
||||
(renderState.treeForkCount = treeForkCount));
|
||||
}
|
||||
function updateSuspenseListComponent(current, workInProgress, renderLanes) {
|
||||
var nextProps = workInProgress.pendingProps,
|
||||
@@ -8648,7 +8651,8 @@ __DEV__ &&
|
||||
!1,
|
||||
revealOrder,
|
||||
renderLanes,
|
||||
tailMode
|
||||
tailMode,
|
||||
0
|
||||
);
|
||||
break;
|
||||
case "backwards":
|
||||
@@ -8671,11 +8675,19 @@ __DEV__ &&
|
||||
!0,
|
||||
renderLanes,
|
||||
null,
|
||||
tailMode
|
||||
tailMode,
|
||||
0
|
||||
);
|
||||
break;
|
||||
case "together":
|
||||
initSuspenseListRenderState(workInProgress, !1, null, null, void 0);
|
||||
initSuspenseListRenderState(
|
||||
workInProgress,
|
||||
!1,
|
||||
null,
|
||||
null,
|
||||
void 0,
|
||||
0
|
||||
);
|
||||
break;
|
||||
default:
|
||||
workInProgress.memoizedState = null;
|
||||
@@ -17651,11 +17663,11 @@ __DEV__ &&
|
||||
shouldSuspendImpl = newShouldSuspendImpl;
|
||||
};
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-4df098c4-20250609" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-c38e2689-20250609" !== 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.2.0-native-fb-4df098c4-20250609\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-c38e2689-20250609\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -17681,10 +17693,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-4df098c4-20250609",
|
||||
version: "19.2.0-native-fb-c38e2689-20250609",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-4df098c4-20250609"
|
||||
reconcilerVersion: "19.2.0-native-fb-c38e2689-20250609"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+16
-11
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<6cffccc1858c4e2df6fafb9daa4a5bb6>>
|
||||
* @generated SignedSource<<8145fcdae3ac80c14959e493d1db8ba4>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -6754,7 +6754,8 @@ function initSuspenseListRenderState(
|
||||
isBackwards,
|
||||
tail,
|
||||
lastContentRow,
|
||||
tailMode
|
||||
tailMode,
|
||||
treeForkCount
|
||||
) {
|
||||
var renderState = workInProgress.memoizedState;
|
||||
null === renderState
|
||||
@@ -6764,14 +6765,16 @@ function initSuspenseListRenderState(
|
||||
renderingStartTime: 0,
|
||||
last: lastContentRow,
|
||||
tail: tail,
|
||||
tailMode: tailMode
|
||||
tailMode: tailMode,
|
||||
treeForkCount: treeForkCount
|
||||
})
|
||||
: ((renderState.isBackwards = isBackwards),
|
||||
(renderState.rendering = null),
|
||||
(renderState.renderingStartTime = 0),
|
||||
(renderState.last = lastContentRow),
|
||||
(renderState.tail = tail),
|
||||
(renderState.tailMode = tailMode));
|
||||
(renderState.tailMode = tailMode),
|
||||
(renderState.treeForkCount = treeForkCount));
|
||||
}
|
||||
function updateSuspenseListComponent(current, workInProgress, renderLanes) {
|
||||
var nextProps = workInProgress.pendingProps,
|
||||
@@ -6828,7 +6831,8 @@ function updateSuspenseListComponent(current, workInProgress, renderLanes) {
|
||||
!1,
|
||||
revealOrder,
|
||||
renderLanes,
|
||||
tailMode
|
||||
tailMode,
|
||||
0
|
||||
);
|
||||
break;
|
||||
case "backwards":
|
||||
@@ -6851,11 +6855,12 @@ function updateSuspenseListComponent(current, workInProgress, renderLanes) {
|
||||
!0,
|
||||
renderLanes,
|
||||
null,
|
||||
tailMode
|
||||
tailMode,
|
||||
0
|
||||
);
|
||||
break;
|
||||
case "together":
|
||||
initSuspenseListRenderState(workInProgress, !1, null, null, void 0);
|
||||
initSuspenseListRenderState(workInProgress, !1, null, null, void 0, 0);
|
||||
break;
|
||||
default:
|
||||
workInProgress.memoizedState = null;
|
||||
@@ -11215,11 +11220,11 @@ function updateContainer(element, container, parentComponent, callback) {
|
||||
return lane;
|
||||
}
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-4df098c4-20250609" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-c38e2689-20250609" !== 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.2.0-native-fb-4df098c4-20250609\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-c38e2689-20250609\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -11269,10 +11274,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1307 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-4df098c4-20250609",
|
||||
version: "19.2.0-native-fb-c38e2689-20250609",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-4df098c4-20250609"
|
||||
reconcilerVersion: "19.2.0-native-fb-c38e2689-20250609"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1307.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+16
-11
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<df4ef1b20ddd996c9ae45b87759d5085>>
|
||||
* @generated SignedSource<<bee98e5b801337bb8e3e894261a338fa>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -6936,7 +6936,8 @@ function initSuspenseListRenderState(
|
||||
isBackwards,
|
||||
tail,
|
||||
lastContentRow,
|
||||
tailMode
|
||||
tailMode,
|
||||
treeForkCount
|
||||
) {
|
||||
var renderState = workInProgress.memoizedState;
|
||||
null === renderState
|
||||
@@ -6946,14 +6947,16 @@ function initSuspenseListRenderState(
|
||||
renderingStartTime: 0,
|
||||
last: lastContentRow,
|
||||
tail: tail,
|
||||
tailMode: tailMode
|
||||
tailMode: tailMode,
|
||||
treeForkCount: treeForkCount
|
||||
})
|
||||
: ((renderState.isBackwards = isBackwards),
|
||||
(renderState.rendering = null),
|
||||
(renderState.renderingStartTime = 0),
|
||||
(renderState.last = lastContentRow),
|
||||
(renderState.tail = tail),
|
||||
(renderState.tailMode = tailMode));
|
||||
(renderState.tailMode = tailMode),
|
||||
(renderState.treeForkCount = treeForkCount));
|
||||
}
|
||||
function updateSuspenseListComponent(current, workInProgress, renderLanes) {
|
||||
var nextProps = workInProgress.pendingProps,
|
||||
@@ -7010,7 +7013,8 @@ function updateSuspenseListComponent(current, workInProgress, renderLanes) {
|
||||
!1,
|
||||
revealOrder,
|
||||
renderLanes,
|
||||
tailMode
|
||||
tailMode,
|
||||
0
|
||||
);
|
||||
break;
|
||||
case "backwards":
|
||||
@@ -7033,11 +7037,12 @@ function updateSuspenseListComponent(current, workInProgress, renderLanes) {
|
||||
!0,
|
||||
renderLanes,
|
||||
null,
|
||||
tailMode
|
||||
tailMode,
|
||||
0
|
||||
);
|
||||
break;
|
||||
case "together":
|
||||
initSuspenseListRenderState(workInProgress, !1, null, null, void 0);
|
||||
initSuspenseListRenderState(workInProgress, !1, null, null, void 0, 0);
|
||||
break;
|
||||
default:
|
||||
workInProgress.memoizedState = null;
|
||||
@@ -11917,11 +11922,11 @@ function updateContainer(element, container, parentComponent, callback) {
|
||||
return lane;
|
||||
}
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-4df098c4-20250609" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-c38e2689-20250609" !== 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.2.0-native-fb-4df098c4-20250609\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-c38e2689-20250609\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -11971,10 +11976,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1408 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-4df098c4-20250609",
|
||||
version: "19.2.0-native-fb-c38e2689-20250609",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-4df098c4-20250609"
|
||||
reconcilerVersion: "19.2.0-native-fb-c38e2689-20250609"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1408.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "eslint-plugin-react-hooks",
|
||||
"description": "ESLint rules for React Hooks",
|
||||
"version": "0.0.0-experimental-4df098c4-20250609",
|
||||
"version": "0.0.0-experimental-c38e2689-20250609",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/facebook/react.git",
|
||||
|
||||
Reference in New Issue
Block a user