@@ -253,7 +253,6 @@ var assign = Object.assign,
253
253
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
254
254
REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
255
255
REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
256
- REACT_PROVIDER_TYPE = Symbol.for("react.provider"),
257
256
REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
258
257
REACT_CONTEXT_TYPE = Symbol.for("react.context"),
259
258
REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
@@ -306,7 +305,7 @@ function getComponentNameFromType(type) {
306
305
case REACT_PORTAL_TYPE:
307
306
return "Portal";
308
307
case REACT_CONTEXT_TYPE:
309
- return ( type.displayName || "Context") + ".Provider ";
308
+ return type.displayName || "Context";
310
309
case REACT_CONSUMER_TYPE:
311
310
return (type._context.displayName || "Context") + ".Consumer";
312
311
case REACT_FORWARD_REF_TYPE:
@@ -2699,7 +2698,6 @@ function createFiberFromTypeAndProps(
2699
2698
default:
2700
2699
if ("object" === typeof type && null !== type)
2701
2700
switch (type.$$typeof) {
2702
- case REACT_PROVIDER_TYPE:
2703
2701
case REACT_CONTEXT_TYPE:
2704
2702
fiberTag = 10;
2705
2703
break a;
@@ -7463,7 +7461,8 @@ function initSuspenseListRenderState(
7463
7461
isBackwards,
7464
7462
tail,
7465
7463
lastContentRow,
7466
- tailMode
7464
+ tailMode,
7465
+ treeForkCount
7467
7466
) {
7468
7467
var renderState = workInProgress.memoizedState;
7469
7468
null === renderState
@@ -7473,14 +7472,16 @@ function initSuspenseListRenderState(
7473
7472
renderingStartTime: 0,
7474
7473
last: lastContentRow,
7475
7474
tail: tail,
7476
- tailMode: tailMode
7475
+ tailMode: tailMode,
7476
+ treeForkCount: treeForkCount
7477
7477
})
7478
7478
: ((renderState.isBackwards = isBackwards),
7479
7479
(renderState.rendering = null),
7480
7480
(renderState.renderingStartTime = 0),
7481
7481
(renderState.last = lastContentRow),
7482
7482
(renderState.tail = tail),
7483
- (renderState.tailMode = tailMode));
7483
+ (renderState.tailMode = tailMode),
7484
+ (renderState.treeForkCount = treeForkCount));
7484
7485
}
7485
7486
function updateSuspenseListComponent(current, workInProgress, renderLanes) {
7486
7487
var nextProps = workInProgress.pendingProps,
@@ -7495,6 +7496,7 @@ function updateSuspenseListComponent(current, workInProgress, renderLanes) {
7495
7496
: (suspenseContext &= 1);
7496
7497
push(suspenseStackCursor, suspenseContext);
7497
7498
reconcileChildren(current, workInProgress, nextProps, renderLanes);
7499
+ nextProps = isHydrating ? treeForkCount : 0;
7498
7500
if (!shouldForceFallback && null !== current && 0 !== (current.flags & 128))
7499
7501
a: for (current = workInProgress.child; null !== current; ) {
7500
7502
if (13 === current.tag)
@@ -7534,7 +7536,8 @@ function updateSuspenseListComponent(current, workInProgress, renderLanes) {
7534
7536
!1,
7535
7537
revealOrder,
7536
7538
renderLanes,
7537
- tailMode
7539
+ tailMode,
7540
+ nextProps
7538
7541
);
7539
7542
break;
7540
7543
case "backwards":
@@ -7557,11 +7560,19 @@ function updateSuspenseListComponent(current, workInProgress, renderLanes) {
7557
7560
!0,
7558
7561
renderLanes,
7559
7562
null,
7560
- tailMode
7563
+ tailMode,
7564
+ nextProps
7561
7565
);
7562
7566
break;
7563
7567
case "together":
7564
- initSuspenseListRenderState(workInProgress, !1, null, null, void 0);
7568
+ initSuspenseListRenderState(
7569
+ workInProgress,
7570
+ !1,
7571
+ null,
7572
+ null,
7573
+ void 0,
7574
+ nextProps
7575
+ );
7565
7576
break;
7566
7577
default:
7567
7578
workInProgress.memoizedState = null;
@@ -8799,12 +8810,12 @@ function completeWork(current, workInProgress, renderLanes) {
8799
8810
);
8800
8811
case 19:
8801
8812
pop(suspenseStackCursor);
8802
- type = workInProgress.memoizedState;
8803
- if (null === type ) return bubbleProperties(workInProgress), null;
8804
- newProps = 0 !== (workInProgress.flags & 128);
8805
- nextResource = type .rendering;
8813
+ newProps = workInProgress.memoizedState;
8814
+ if (null === newProps ) return bubbleProperties(workInProgress), null;
8815
+ type = 0 !== (workInProgress.flags & 128);
8816
+ nextResource = newProps .rendering;
8806
8817
if (null === nextResource)
8807
- if (newProps ) cutOffTailIfNeeded(type , !1);
8818
+ if (type ) cutOffTailIfNeeded(newProps , !1);
8808
8819
else {
8809
8820
if (
8810
8821
0 !== workInProgressRootExitStatus ||
@@ -8814,7 +8825,7 @@ function completeWork(current, workInProgress, renderLanes) {
8814
8825
nextResource = findFirstSuspended(current);
8815
8826
if (null !== nextResource) {
8816
8827
workInProgress.flags |= 128;
8817
- cutOffTailIfNeeded(type , !1);
8828
+ cutOffTailIfNeeded(newProps , !1);
8818
8829
current = nextResource.updateQueue;
8819
8830
workInProgress.updateQueue = current;
8820
8831
scheduleRetryEffect(workInProgress, current);
@@ -8827,62 +8838,68 @@ function completeWork(current, workInProgress, renderLanes) {
8827
8838
suspenseStackCursor,
8828
8839
(suspenseStackCursor.current & 1) | 2
8829
8840
);
8841
+ isHydrating &&
8842
+ pushTreeFork(workInProgress, newProps.treeForkCount);
8830
8843
return workInProgress.child;
8831
8844
}
8832
8845
current = current.sibling;
8833
8846
}
8834
- null !== type .tail &&
8847
+ null !== newProps .tail &&
8835
8848
now() > workInProgressRootRenderTargetTime &&
8836
8849
((workInProgress.flags |= 128),
8837
- (newProps = !0),
8838
- cutOffTailIfNeeded(type , !1),
8850
+ (type = !0),
8851
+ cutOffTailIfNeeded(newProps , !1),
8839
8852
(workInProgress.lanes = 4194304));
8840
8853
}
8841
8854
else {
8842
- if (!newProps )
8855
+ if (!type )
8843
8856
if (
8844
8857
((current = findFirstSuspended(nextResource)), null !== current)
8845
8858
) {
8846
8859
if (
8847
8860
((workInProgress.flags |= 128),
8848
- (newProps = !0),
8861
+ (type = !0),
8849
8862
(current = current.updateQueue),
8850
8863
(workInProgress.updateQueue = current),
8851
8864
scheduleRetryEffect(workInProgress, current),
8852
- cutOffTailIfNeeded(type , !0),
8853
- null === type .tail &&
8854
- "hidden" === type .tailMode &&
8865
+ cutOffTailIfNeeded(newProps , !0),
8866
+ null === newProps .tail &&
8867
+ "hidden" === newProps .tailMode &&
8855
8868
!nextResource.alternate &&
8856
8869
!isHydrating)
8857
8870
)
8858
8871
return bubbleProperties(workInProgress), null;
8859
8872
} else
8860
- 2 * now() - type .renderingStartTime >
8873
+ 2 * now() - newProps .renderingStartTime >
8861
8874
workInProgressRootRenderTargetTime &&
8862
8875
536870912 !== renderLanes &&
8863
8876
((workInProgress.flags |= 128),
8864
- (newProps = !0),
8865
- cutOffTailIfNeeded(type , !1),
8877
+ (type = !0),
8878
+ cutOffTailIfNeeded(newProps , !1),
8866
8879
(workInProgress.lanes = 4194304));
8867
- type .isBackwards
8880
+ newProps .isBackwards
8868
8881
? ((nextResource.sibling = workInProgress.child),
8869
8882
(workInProgress.child = nextResource))
8870
- : ((current = type .last),
8883
+ : ((current = newProps .last),
8871
8884
null !== current
8872
8885
? (current.sibling = nextResource)
8873
8886
: (workInProgress.child = nextResource),
8874
- (type .last = nextResource));
8887
+ (newProps .last = nextResource));
8875
8888
}
8876
- if (null !== type .tail)
8889
+ if (null !== newProps .tail)
8877
8890
return (
8878
- (workInProgress = type.tail),
8879
- (type.rendering = workInProgress),
8880
- (type.tail = workInProgress.sibling),
8881
- (type.renderingStartTime = now()),
8882
- (workInProgress.sibling = null),
8883
- (current = suspenseStackCursor.current),
8884
- push(suspenseStackCursor, newProps ? (current & 1) | 2 : current & 1),
8885
- workInProgress
8891
+ (current = newProps.tail),
8892
+ (newProps.rendering = current),
8893
+ (newProps.tail = current.sibling),
8894
+ (newProps.renderingStartTime = now()),
8895
+ (current.sibling = null),
8896
+ (renderLanes = suspenseStackCursor.current),
8897
+ push(
8898
+ suspenseStackCursor,
8899
+ type ? (renderLanes & 1) | 2 : renderLanes & 1
8900
+ ),
8901
+ isHydrating && pushTreeFork(workInProgress, newProps.treeForkCount),
8902
+ current
8886
8903
);
8887
8904
bubbleProperties(workInProgress);
8888
8905
return null;
@@ -19139,14 +19156,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
19139
19156
};
19140
19157
var isomorphicReactPackageVersion$jscomp$inline_2180 = React.version;
19141
19158
if (
19142
- "19.2.0-experimental-280ff6fe-20250606 " !==
19159
+ "19.2.0-experimental-a00ca6f6-20250611 " !==
19143
19160
isomorphicReactPackageVersion$jscomp$inline_2180
19144
19161
)
19145
19162
throw Error(
19146
19163
formatProdErrorMessage(
19147
19164
527,
19148
19165
isomorphicReactPackageVersion$jscomp$inline_2180,
19149
- "19.2.0-experimental-280ff6fe-20250606 "
19166
+ "19.2.0-experimental-a00ca6f6-20250611 "
19150
19167
)
19151
19168
);
19152
19169
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -19168,10 +19185,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
19168
19185
};
19169
19186
var internals$jscomp$inline_2865 = {
19170
19187
bundleType: 0,
19171
- version: "19.2.0-experimental-280ff6fe-20250606 ",
19188
+ version: "19.2.0-experimental-a00ca6f6-20250611 ",
19172
19189
rendererPackageName: "react-dom",
19173
19190
currentDispatcherRef: ReactSharedInternals,
19174
- reconcilerVersion: "19.2.0-experimental-280ff6fe-20250606 "
19191
+ reconcilerVersion: "19.2.0-experimental-a00ca6f6-20250611 "
19175
19192
};
19176
19193
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
19177
19194
var hook$jscomp$inline_2866 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -19278,4 +19295,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
19278
19295
listenToAllSupportedEvents(container);
19279
19296
return new ReactDOMHydrationRoot(initialChildren);
19280
19297
};
19281
- exports.version = "19.2.0-experimental-280ff6fe-20250606 ";
19298
+ exports.version = "19.2.0-experimental-a00ca6f6-20250611 ";
0 commit comments