7
7
* @noflow
8
8
* @nolint
9
9
* @preventMunge
10
- * @generated SignedSource<<462efb9d1de3f47dfd794819a5a7c09c >>
10
+ * @generated SignedSource<<8170fbccb360ffc71c537e172809ef3d >>
11
11
*/
12
12
13
13
/*
@@ -7390,7 +7390,8 @@ function initSuspenseListRenderState(
7390
7390
isBackwards,
7391
7391
tail,
7392
7392
lastContentRow,
7393
- tailMode
7393
+ tailMode,
7394
+ treeForkCount
7394
7395
) {
7395
7396
var renderState = workInProgress.memoizedState;
7396
7397
null === renderState
@@ -7400,14 +7401,16 @@ function initSuspenseListRenderState(
7400
7401
renderingStartTime: 0,
7401
7402
last: lastContentRow,
7402
7403
tail: tail,
7403
- tailMode: tailMode
7404
+ tailMode: tailMode,
7405
+ treeForkCount: treeForkCount
7404
7406
})
7405
7407
: ((renderState.isBackwards = isBackwards),
7406
7408
(renderState.rendering = null),
7407
7409
(renderState.renderingStartTime = 0),
7408
7410
(renderState.last = lastContentRow),
7409
7411
(renderState.tail = tail),
7410
- (renderState.tailMode = tailMode));
7412
+ (renderState.tailMode = tailMode),
7413
+ (renderState.treeForkCount = treeForkCount));
7411
7414
}
7412
7415
function updateSuspenseListComponent(current, workInProgress, renderLanes) {
7413
7416
var nextProps = workInProgress.pendingProps,
@@ -7422,6 +7425,7 @@ function updateSuspenseListComponent(current, workInProgress, renderLanes) {
7422
7425
: (suspenseContext &= 1);
7423
7426
push(suspenseStackCursor, suspenseContext);
7424
7427
reconcileChildren(current, workInProgress, nextProps, renderLanes);
7428
+ nextProps = isHydrating ? treeForkCount : 0;
7425
7429
if (!shouldForceFallback && null !== current && 0 !== (current.flags & 128))
7426
7430
a: for (current = workInProgress.child; null !== current; ) {
7427
7431
if (13 === current.tag)
@@ -7464,7 +7468,8 @@ function updateSuspenseListComponent(current, workInProgress, renderLanes) {
7464
7468
!1,
7465
7469
revealOrder,
7466
7470
renderLanes,
7467
- tailMode
7471
+ tailMode,
7472
+ nextProps
7468
7473
);
7469
7474
break;
7470
7475
case "backwards":
@@ -7487,11 +7492,19 @@ function updateSuspenseListComponent(current, workInProgress, renderLanes) {
7487
7492
!0,
7488
7493
renderLanes,
7489
7494
null,
7490
- tailMode
7495
+ tailMode,
7496
+ nextProps
7491
7497
);
7492
7498
break;
7493
7499
case "together":
7494
- initSuspenseListRenderState(workInProgress, !1, null, null, void 0);
7500
+ initSuspenseListRenderState(
7501
+ workInProgress,
7502
+ !1,
7503
+ null,
7504
+ null,
7505
+ void 0,
7506
+ nextProps
7507
+ );
7495
7508
break;
7496
7509
default:
7497
7510
workInProgress.memoizedState = null;
@@ -8762,12 +8775,12 @@ function completeWork(current, workInProgress, renderLanes) {
8762
8775
);
8763
8776
case 19:
8764
8777
pop(suspenseStackCursor);
8765
- type = workInProgress.memoizedState;
8766
- if (null === type ) return bubbleProperties(workInProgress), null;
8767
- newProps = 0 !== (workInProgress.flags & 128);
8768
- nextResource = type .rendering;
8778
+ newProps = workInProgress.memoizedState;
8779
+ if (null === newProps ) return bubbleProperties(workInProgress), null;
8780
+ type = 0 !== (workInProgress.flags & 128);
8781
+ nextResource = newProps .rendering;
8769
8782
if (null === nextResource)
8770
- if (newProps ) cutOffTailIfNeeded(type , !1);
8783
+ if (type ) cutOffTailIfNeeded(newProps , !1);
8771
8784
else {
8772
8785
if (
8773
8786
0 !== workInProgressRootExitStatus ||
@@ -8777,7 +8790,7 @@ function completeWork(current, workInProgress, renderLanes) {
8777
8790
nextResource = findFirstSuspended(current);
8778
8791
if (null !== nextResource) {
8779
8792
workInProgress.flags |= 128;
8780
- cutOffTailIfNeeded(type , !1);
8793
+ cutOffTailIfNeeded(newProps , !1);
8781
8794
current = nextResource.updateQueue;
8782
8795
workInProgress.updateQueue = current;
8783
8796
scheduleRetryEffect(workInProgress, current);
@@ -8790,62 +8803,68 @@ function completeWork(current, workInProgress, renderLanes) {
8790
8803
suspenseStackCursor,
8791
8804
(suspenseStackCursor.current & 1) | 2
8792
8805
);
8806
+ isHydrating &&
8807
+ pushTreeFork(workInProgress, newProps.treeForkCount);
8793
8808
return workInProgress.child;
8794
8809
}
8795
8810
current = current.sibling;
8796
8811
}
8797
- null !== type .tail &&
8812
+ null !== newProps .tail &&
8798
8813
now() > workInProgressRootRenderTargetTime &&
8799
8814
((workInProgress.flags |= 128),
8800
- (newProps = !0),
8801
- cutOffTailIfNeeded(type , !1),
8815
+ (type = !0),
8816
+ cutOffTailIfNeeded(newProps , !1),
8802
8817
(workInProgress.lanes = 4194304));
8803
8818
}
8804
8819
else {
8805
- if (!newProps )
8820
+ if (!type )
8806
8821
if (
8807
8822
((current = findFirstSuspended(nextResource)), null !== current)
8808
8823
) {
8809
8824
if (
8810
8825
((workInProgress.flags |= 128),
8811
- (newProps = !0),
8826
+ (type = !0),
8812
8827
(current = current.updateQueue),
8813
8828
(workInProgress.updateQueue = current),
8814
8829
scheduleRetryEffect(workInProgress, current),
8815
- cutOffTailIfNeeded(type , !0),
8816
- null === type .tail &&
8817
- "hidden" === type .tailMode &&
8830
+ cutOffTailIfNeeded(newProps , !0),
8831
+ null === newProps .tail &&
8832
+ "hidden" === newProps .tailMode &&
8818
8833
!nextResource.alternate &&
8819
8834
!isHydrating)
8820
8835
)
8821
8836
return bubbleProperties(workInProgress), null;
8822
8837
} else
8823
- 2 * now() - type .renderingStartTime >
8838
+ 2 * now() - newProps .renderingStartTime >
8824
8839
workInProgressRootRenderTargetTime &&
8825
8840
536870912 !== renderLanes &&
8826
8841
((workInProgress.flags |= 128),
8827
- (newProps = !0),
8828
- cutOffTailIfNeeded(type , !1),
8842
+ (type = !0),
8843
+ cutOffTailIfNeeded(newProps , !1),
8829
8844
(workInProgress.lanes = 4194304));
8830
- type .isBackwards
8845
+ newProps .isBackwards
8831
8846
? ((nextResource.sibling = workInProgress.child),
8832
8847
(workInProgress.child = nextResource))
8833
- : ((current = type .last),
8848
+ : ((current = newProps .last),
8834
8849
null !== current
8835
8850
? (current.sibling = nextResource)
8836
8851
: (workInProgress.child = nextResource),
8837
- (type .last = nextResource));
8852
+ (newProps .last = nextResource));
8838
8853
}
8839
- if (null !== type .tail)
8854
+ if (null !== newProps .tail)
8840
8855
return (
8841
- (workInProgress = type.tail),
8842
- (type.rendering = workInProgress),
8843
- (type.tail = workInProgress.sibling),
8844
- (type.renderingStartTime = now()),
8845
- (workInProgress.sibling = null),
8846
- (current = suspenseStackCursor.current),
8847
- push(suspenseStackCursor, newProps ? (current & 1) | 2 : current & 1),
8848
- workInProgress
8856
+ (current = newProps.tail),
8857
+ (newProps.rendering = current),
8858
+ (newProps.tail = current.sibling),
8859
+ (newProps.renderingStartTime = now()),
8860
+ (current.sibling = null),
8861
+ (renderLanes = suspenseStackCursor.current),
8862
+ push(
8863
+ suspenseStackCursor,
8864
+ type ? (renderLanes & 1) | 2 : renderLanes & 1
8865
+ ),
8866
+ isHydrating && pushTreeFork(workInProgress, newProps.treeForkCount),
8867
+ current
8849
8868
);
8850
8869
bubbleProperties(workInProgress);
8851
8870
return null;
@@ -17101,14 +17120,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
17101
17120
};
17102
17121
var isomorphicReactPackageVersion$jscomp$inline_2017 = React.version;
17103
17122
if (
17104
- "19.2.0-native-fb-4df098c4 -20250609" !==
17123
+ "19.2.0-native-fb-c38e2689 -20250609" !==
17105
17124
isomorphicReactPackageVersion$jscomp$inline_2017
17106
17125
)
17107
17126
throw Error(
17108
17127
formatProdErrorMessage(
17109
17128
527,
17110
17129
isomorphicReactPackageVersion$jscomp$inline_2017,
17111
- "19.2.0-native-fb-4df098c4 -20250609"
17130
+ "19.2.0-native-fb-c38e2689 -20250609"
17112
17131
)
17113
17132
);
17114
17133
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -17130,10 +17149,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
17130
17149
};
17131
17150
var internals$jscomp$inline_2536 = {
17132
17151
bundleType: 0,
17133
- version: "19.2.0-native-fb-4df098c4 -20250609",
17152
+ version: "19.2.0-native-fb-c38e2689 -20250609",
17134
17153
rendererPackageName: "react-dom",
17135
17154
currentDispatcherRef: ReactSharedInternals,
17136
- reconcilerVersion: "19.2.0-native-fb-4df098c4 -20250609"
17155
+ reconcilerVersion: "19.2.0-native-fb-c38e2689 -20250609"
17137
17156
};
17138
17157
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
17139
17158
var hook$jscomp$inline_2537 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -17231,4 +17250,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
17231
17250
listenToAllSupportedEvents(container);
17232
17251
return new ReactDOMHydrationRoot(initialChildren);
17233
17252
};
17234
- exports.version = "19.2.0-native-fb-4df098c4 -20250609";
17253
+ exports.version = "19.2.0-native-fb-c38e2689 -20250609";
0 commit comments