@@ -253,7 +253,6 @@ var assign = Object.assign,
253253 REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
254254 REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
255255 REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
256- REACT_PROVIDER_TYPE = Symbol.for("react.provider"),
257256 REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
258257 REACT_CONTEXT_TYPE = Symbol.for("react.context"),
259258 REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
@@ -306,7 +305,7 @@ function getComponentNameFromType(type) {
306305 case REACT_PORTAL_TYPE:
307306 return "Portal";
308307 case REACT_CONTEXT_TYPE:
309- return ( type.displayName || "Context") + ".Provider ";
308+ return type.displayName || "Context";
310309 case REACT_CONSUMER_TYPE:
311310 return (type._context.displayName || "Context") + ".Consumer";
312311 case REACT_FORWARD_REF_TYPE:
@@ -2699,7 +2698,6 @@ function createFiberFromTypeAndProps(
26992698 default:
27002699 if ("object" === typeof type && null !== type)
27012700 switch (type.$$typeof) {
2702- case REACT_PROVIDER_TYPE:
27032701 case REACT_CONTEXT_TYPE:
27042702 fiberTag = 10;
27052703 break a;
@@ -7463,7 +7461,8 @@ function initSuspenseListRenderState(
74637461 isBackwards,
74647462 tail,
74657463 lastContentRow,
7466- tailMode
7464+ tailMode,
7465+ treeForkCount
74677466) {
74687467 var renderState = workInProgress.memoizedState;
74697468 null === renderState
@@ -7473,14 +7472,16 @@ function initSuspenseListRenderState(
74737472 renderingStartTime: 0,
74747473 last: lastContentRow,
74757474 tail: tail,
7476- tailMode: tailMode
7475+ tailMode: tailMode,
7476+ treeForkCount: treeForkCount
74777477 })
74787478 : ((renderState.isBackwards = isBackwards),
74797479 (renderState.rendering = null),
74807480 (renderState.renderingStartTime = 0),
74817481 (renderState.last = lastContentRow),
74827482 (renderState.tail = tail),
7483- (renderState.tailMode = tailMode));
7483+ (renderState.tailMode = tailMode),
7484+ (renderState.treeForkCount = treeForkCount));
74847485}
74857486function updateSuspenseListComponent(current, workInProgress, renderLanes) {
74867487 var nextProps = workInProgress.pendingProps,
@@ -7495,6 +7496,7 @@ function updateSuspenseListComponent(current, workInProgress, renderLanes) {
74957496 : (suspenseContext &= 1);
74967497 push(suspenseStackCursor, suspenseContext);
74977498 reconcileChildren(current, workInProgress, nextProps, renderLanes);
7499+ nextProps = isHydrating ? treeForkCount : 0;
74987500 if (!shouldForceFallback && null !== current && 0 !== (current.flags & 128))
74997501 a: for (current = workInProgress.child; null !== current; ) {
75007502 if (13 === current.tag)
@@ -7534,7 +7536,8 @@ function updateSuspenseListComponent(current, workInProgress, renderLanes) {
75347536 !1,
75357537 revealOrder,
75367538 renderLanes,
7537- tailMode
7539+ tailMode,
7540+ nextProps
75387541 );
75397542 break;
75407543 case "backwards":
@@ -7557,11 +7560,19 @@ function updateSuspenseListComponent(current, workInProgress, renderLanes) {
75577560 !0,
75587561 renderLanes,
75597562 null,
7560- tailMode
7563+ tailMode,
7564+ nextProps
75617565 );
75627566 break;
75637567 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+ );
75657576 break;
75667577 default:
75677578 workInProgress.memoizedState = null;
@@ -8799,12 +8810,12 @@ function completeWork(current, workInProgress, renderLanes) {
87998810 );
88008811 case 19:
88018812 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;
88068817 if (null === nextResource)
8807- if (newProps ) cutOffTailIfNeeded(type , !1);
8818+ if (type ) cutOffTailIfNeeded(newProps , !1);
88088819 else {
88098820 if (
88108821 0 !== workInProgressRootExitStatus ||
@@ -8814,7 +8825,7 @@ function completeWork(current, workInProgress, renderLanes) {
88148825 nextResource = findFirstSuspended(current);
88158826 if (null !== nextResource) {
88168827 workInProgress.flags |= 128;
8817- cutOffTailIfNeeded(type , !1);
8828+ cutOffTailIfNeeded(newProps , !1);
88188829 current = nextResource.updateQueue;
88198830 workInProgress.updateQueue = current;
88208831 scheduleRetryEffect(workInProgress, current);
@@ -8827,62 +8838,68 @@ function completeWork(current, workInProgress, renderLanes) {
88278838 suspenseStackCursor,
88288839 (suspenseStackCursor.current & 1) | 2
88298840 );
8841+ isHydrating &&
8842+ pushTreeFork(workInProgress, newProps.treeForkCount);
88308843 return workInProgress.child;
88318844 }
88328845 current = current.sibling;
88338846 }
8834- null !== type .tail &&
8847+ null !== newProps .tail &&
88358848 now() > workInProgressRootRenderTargetTime &&
88368849 ((workInProgress.flags |= 128),
8837- (newProps = !0),
8838- cutOffTailIfNeeded(type , !1),
8850+ (type = !0),
8851+ cutOffTailIfNeeded(newProps , !1),
88398852 (workInProgress.lanes = 4194304));
88408853 }
88418854 else {
8842- if (!newProps )
8855+ if (!type )
88438856 if (
88448857 ((current = findFirstSuspended(nextResource)), null !== current)
88458858 ) {
88468859 if (
88478860 ((workInProgress.flags |= 128),
8848- (newProps = !0),
8861+ (type = !0),
88498862 (current = current.updateQueue),
88508863 (workInProgress.updateQueue = current),
88518864 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 &&
88558868 !nextResource.alternate &&
88568869 !isHydrating)
88578870 )
88588871 return bubbleProperties(workInProgress), null;
88598872 } else
8860- 2 * now() - type .renderingStartTime >
8873+ 2 * now() - newProps .renderingStartTime >
88618874 workInProgressRootRenderTargetTime &&
88628875 536870912 !== renderLanes &&
88638876 ((workInProgress.flags |= 128),
8864- (newProps = !0),
8865- cutOffTailIfNeeded(type , !1),
8877+ (type = !0),
8878+ cutOffTailIfNeeded(newProps , !1),
88668879 (workInProgress.lanes = 4194304));
8867- type .isBackwards
8880+ newProps .isBackwards
88688881 ? ((nextResource.sibling = workInProgress.child),
88698882 (workInProgress.child = nextResource))
8870- : ((current = type .last),
8883+ : ((current = newProps .last),
88718884 null !== current
88728885 ? (current.sibling = nextResource)
88738886 : (workInProgress.child = nextResource),
8874- (type .last = nextResource));
8887+ (newProps .last = nextResource));
88758888 }
8876- if (null !== type .tail)
8889+ if (null !== newProps .tail)
88778890 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
88868903 );
88878904 bubbleProperties(workInProgress);
88888905 return null;
@@ -19139,14 +19156,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
1913919156};
1914019157var isomorphicReactPackageVersion$jscomp$inline_2180 = React.version;
1914119158if (
19142- "19.2.0-experimental-b6c0aa88-20250609 " !==
19159+ "19.2.0-experimental-b7e2de63-20250611 " !==
1914319160 isomorphicReactPackageVersion$jscomp$inline_2180
1914419161)
1914519162 throw Error(
1914619163 formatProdErrorMessage(
1914719164 527,
1914819165 isomorphicReactPackageVersion$jscomp$inline_2180,
19149- "19.2.0-experimental-b6c0aa88-20250609 "
19166+ "19.2.0-experimental-b7e2de63-20250611 "
1915019167 )
1915119168 );
1915219169ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -19168,10 +19185,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
1916819185};
1916919186var internals$jscomp$inline_2865 = {
1917019187 bundleType: 0,
19171- version: "19.2.0-experimental-b6c0aa88-20250609 ",
19188+ version: "19.2.0-experimental-b7e2de63-20250611 ",
1917219189 rendererPackageName: "react-dom",
1917319190 currentDispatcherRef: ReactSharedInternals,
19174- reconcilerVersion: "19.2.0-experimental-b6c0aa88-20250609 "
19191+ reconcilerVersion: "19.2.0-experimental-b7e2de63-20250611 "
1917519192};
1917619193if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1917719194 var hook$jscomp$inline_2866 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -19278,4 +19295,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
1927819295 listenToAllSupportedEvents(container);
1927919296 return new ReactDOMHydrationRoot(initialChildren);
1928019297};
19281- exports.version = "19.2.0-experimental-b6c0aa88-20250609 ";
19298+ exports.version = "19.2.0-experimental-b7e2de63-20250611 ";
0 commit comments