77 * @noflow
88 * @nolint
99 * @preventMunge
10- * @generated SignedSource<<9b4af32d9f53d4ac82128e9bfa64ca35 >>
10+ * @generated SignedSource<<3d29db32a0fa1a5c960c5feea3e179bf >>
1111 */
1212
1313/*
@@ -6406,6 +6406,20 @@ __DEV__ &&
64066406 }
64076407 };
64086408 }
6409+ function validateSuspenseListNestedChild(childSlot, index) {
6410+ var isAnArray = isArrayImpl(childSlot);
6411+ childSlot = !isAnArray && "function" === typeof getIteratorFn(childSlot);
6412+ return isAnArray || childSlot
6413+ ? ((isAnArray = isAnArray ? "array" : "iterable"),
6414+ console.error(
6415+ "A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",
6416+ isAnArray,
6417+ index,
6418+ isAnArray
6419+ ),
6420+ !1)
6421+ : !0;
6422+ }
64096423 function initializeUpdateQueue(fiber) {
64106424 fiber.updateQueue = {
64116425 baseState: fiber.memoizedState,
@@ -10507,20 +10521,6 @@ __DEV__ &&
1050710521 propagationRoot
1050810522 );
1050910523 }
10510- function validateSuspenseListNestedChild(childSlot, index) {
10511- var isAnArray = isArrayImpl(childSlot);
10512- childSlot = !isAnArray && "function" === typeof getIteratorFn(childSlot);
10513- return isAnArray || childSlot
10514- ? ((isAnArray = isAnArray ? "array" : "iterable"),
10515- console.error(
10516- "A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",
10517- isAnArray,
10518- index,
10519- isAnArray
10520- ),
10521- !1)
10522- : !0;
10523- }
1052410524 function initSuspenseListRenderState(
1052510525 workInProgress,
1052610526 isBackwards,
@@ -10550,6 +10550,15 @@ __DEV__ &&
1055010550 revealOrder = nextProps.revealOrder,
1055110551 tailMode = nextProps.tail;
1055210552 nextProps = nextProps.children;
10553+ var suspenseContext = suspenseStackCursor.current,
10554+ shouldForceFallback = 0 !== (suspenseContext & ForceSuspenseFallback);
10555+ shouldForceFallback
10556+ ? ((suspenseContext =
10557+ (suspenseContext & SubtreeSuspenseContextMask) |
10558+ ForceSuspenseFallback),
10559+ (workInProgress.flags |= 128))
10560+ : (suspenseContext &= SubtreeSuspenseContextMask);
10561+ push(suspenseStackCursor, suspenseContext, workInProgress);
1055310562 if (
1055410563 void 0 !== revealOrder &&
1055510564 "forwards" !== revealOrder &&
@@ -10612,12 +10621,29 @@ __DEV__ &&
1061210621 !1 !== nextProps
1061310622 )
1061410623 if (isArrayImpl(nextProps))
10615- for (var i = 0; i < nextProps.length; i++) {
10616- if (!validateSuspenseListNestedChild(nextProps[i], i)) break a;
10624+ for (
10625+ suspenseContext = 0;
10626+ suspenseContext < nextProps.length;
10627+ suspenseContext++
10628+ ) {
10629+ if (
10630+ !validateSuspenseListNestedChild(
10631+ nextProps[suspenseContext],
10632+ suspenseContext
10633+ )
10634+ )
10635+ break a;
1061710636 }
10618- else if (((i = getIteratorFn(nextProps)), "function" === typeof i)) {
10619- if ((i = i.call(nextProps)))
10620- for (var step = i.next(), _i = 0; !step.done; step = i.next()) {
10637+ else if (
10638+ ((suspenseContext = getIteratorFn(nextProps)),
10639+ "function" === typeof suspenseContext)
10640+ ) {
10641+ if ((suspenseContext = suspenseContext.call(nextProps)))
10642+ for (
10643+ var step = suspenseContext.next(), _i = 0;
10644+ !step.done;
10645+ step = suspenseContext.next()
10646+ ) {
1062110647 if (!validateSuspenseListNestedChild(step.value, _i)) break a;
1062210648 _i++;
1062310649 }
@@ -10627,40 +10653,31 @@ __DEV__ &&
1062710653 revealOrder
1062810654 );
1062910655 reconcileChildren(current, workInProgress, nextProps, renderLanes);
10630- nextProps = suspenseStackCursor.current;
10631- if (0 !== (nextProps & ForceSuspenseFallback))
10632- (nextProps =
10633- (nextProps & SubtreeSuspenseContextMask) | ForceSuspenseFallback),
10634- (workInProgress.flags |= 128);
10635- else {
10636- if (null !== current && 0 !== (current.flags & 128))
10637- a: for (current = workInProgress.child; null !== current; ) {
10638- if (13 === current.tag)
10639- null !== current.memoizedState &&
10640- scheduleSuspenseWorkOnFiber(
10641- current,
10642- renderLanes,
10643- workInProgress
10644- );
10645- else if (19 === current.tag)
10656+ if (
10657+ !shouldForceFallback &&
10658+ null !== current &&
10659+ 0 !== (current.flags & 128)
10660+ )
10661+ a: for (current = workInProgress.child; null !== current; ) {
10662+ if (13 === current.tag)
10663+ null !== current.memoizedState &&
1064610664 scheduleSuspenseWorkOnFiber(current, renderLanes, workInProgress);
10647- else if (null !== current.child) {
10648- current.child.return = current;
10649- current = current.child;
10650- continue;
10651- }
10652- if (current === workInProgress) break a;
10653- for (; null === current.sibling; ) {
10654- if (null === current.return || current.return === workInProgress)
10655- break a;
10656- current = current.return;
10657- }
10658- current.sibling.return = current.return;
10659- current = current.sibling;
10665+ else if (19 === current.tag)
10666+ scheduleSuspenseWorkOnFiber(current, renderLanes, workInProgress);
10667+ else if (null !== current.child) {
10668+ current.child.return = current;
10669+ current = current.child;
10670+ continue;
1066010671 }
10661- nextProps &= SubtreeSuspenseContextMask;
10662- }
10663- push(suspenseStackCursor, nextProps, workInProgress);
10672+ if (current === workInProgress) break a;
10673+ for (; null === current.sibling; ) {
10674+ if (null === current.return || current.return === workInProgress)
10675+ break a;
10676+ current = current.return;
10677+ }
10678+ current.sibling.return = current.return;
10679+ current = current.sibling;
10680+ }
1066410681 if ((workInProgress.mode & ConcurrentMode) === NoMode)
1066510682 workInProgress.memoizedState = null;
1066610683 else
@@ -27010,11 +27027,11 @@ __DEV__ &&
2701027027 };
2701127028 (function () {
2701227029 var isomorphicReactPackageVersion = React.version;
27013- if ("19.2.0-native-fb-c6c2a52a-20250519 " !== isomorphicReactPackageVersion)
27030+ if ("19.2.0-native-fb-d38c7e10-20250520 " !== isomorphicReactPackageVersion)
2701427031 throw Error(
2701527032 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
2701627033 (isomorphicReactPackageVersion +
27017- "\n - react-dom: 19.2.0-native-fb-c6c2a52a-20250519 \nLearn more: https://react.dev/warnings/version-mismatch")
27034+ "\n - react-dom: 19.2.0-native-fb-d38c7e10-20250520 \nLearn more: https://react.dev/warnings/version-mismatch")
2701827035 );
2701927036 })();
2702027037 ("function" === typeof Map &&
@@ -27051,10 +27068,10 @@ __DEV__ &&
2705127068 !(function () {
2705227069 var internals = {
2705327070 bundleType: 1,
27054- version: "19.2.0-native-fb-c6c2a52a-20250519 ",
27071+ version: "19.2.0-native-fb-d38c7e10-20250520 ",
2705527072 rendererPackageName: "react-dom",
2705627073 currentDispatcherRef: ReactSharedInternals,
27057- reconcilerVersion: "19.2.0-native-fb-c6c2a52a-20250519 "
27074+ reconcilerVersion: "19.2.0-native-fb-d38c7e10-20250520 "
2705827075 };
2705927076 internals.overrideHookState = overrideHookState;
2706027077 internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -27192,5 +27209,5 @@ __DEV__ &&
2719227209 listenToAllSupportedEvents(container);
2719327210 return new ReactDOMHydrationRoot(initialChildren);
2719427211 };
27195- exports.version = "19.2.0-native-fb-c6c2a52a-20250519 ";
27212+ exports.version = "19.2.0-native-fb-d38c7e10-20250520 ";
2719627213 })();
0 commit comments