react-dom 19.2.0-canary-280ff6fe-20250606 → 19.2.0-canary-56408a5b-20250610

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9702,24 +9702,24 @@
9702
9702
  return current;
9703
9703
  }
9704
9704
  function updateSuspenseComponent(current, workInProgress, renderLanes) {
9705
- var JSCompiler_object_inline_digest_2547;
9706
- var JSCompiler_object_inline_stack_2548 = workInProgress.pendingProps;
9705
+ var JSCompiler_object_inline_digest_2550;
9706
+ var JSCompiler_object_inline_stack_2551 = workInProgress.pendingProps;
9707
9707
  shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
9708
- var JSCompiler_object_inline_message_2546 = !1;
9708
+ var JSCompiler_object_inline_message_2549 = !1;
9709
9709
  var didSuspend = 0 !== (workInProgress.flags & 128);
9710
- (JSCompiler_object_inline_digest_2547 = didSuspend) ||
9711
- (JSCompiler_object_inline_digest_2547 =
9710
+ (JSCompiler_object_inline_digest_2550 = didSuspend) ||
9711
+ (JSCompiler_object_inline_digest_2550 =
9712
9712
  null !== current && null === current.memoizedState
9713
9713
  ? !1
9714
9714
  : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
9715
- JSCompiler_object_inline_digest_2547 &&
9716
- ((JSCompiler_object_inline_message_2546 = !0),
9715
+ JSCompiler_object_inline_digest_2550 &&
9716
+ ((JSCompiler_object_inline_message_2549 = !0),
9717
9717
  (workInProgress.flags &= -129));
9718
- JSCompiler_object_inline_digest_2547 = 0 !== (workInProgress.flags & 32);
9718
+ JSCompiler_object_inline_digest_2550 = 0 !== (workInProgress.flags & 32);
9719
9719
  workInProgress.flags &= -33;
9720
9720
  if (null === current) {
9721
9721
  if (isHydrating) {
9722
- JSCompiler_object_inline_message_2546
9722
+ JSCompiler_object_inline_message_2549
9723
9723
  ? pushPrimaryTreeSuspenseHandler(workInProgress)
9724
9724
  : reuseSuspenseHandlerOnStack(workInProgress);
9725
9725
  (current = nextHydratableInstance)
@@ -9732,18 +9732,18 @@
9732
9732
  ? renderLanes
9733
9733
  : null),
9734
9734
  null !== renderLanes &&
9735
- ((JSCompiler_object_inline_digest_2547 = {
9735
+ ((JSCompiler_object_inline_digest_2550 = {
9736
9736
  dehydrated: renderLanes,
9737
9737
  treeContext: getSuspendedTreeContext(),
9738
9738
  retryLane: 536870912,
9739
9739
  hydrationErrors: null
9740
9740
  }),
9741
9741
  (workInProgress.memoizedState =
9742
- JSCompiler_object_inline_digest_2547),
9743
- (JSCompiler_object_inline_digest_2547 =
9742
+ JSCompiler_object_inline_digest_2550),
9743
+ (JSCompiler_object_inline_digest_2550 =
9744
9744
  createFiberFromDehydratedFragment(renderLanes)),
9745
- (JSCompiler_object_inline_digest_2547.return = workInProgress),
9746
- (workInProgress.child = JSCompiler_object_inline_digest_2547),
9745
+ (JSCompiler_object_inline_digest_2550.return = workInProgress),
9746
+ (workInProgress.child = JSCompiler_object_inline_digest_2550),
9747
9747
  (hydrationParentFiber = workInProgress),
9748
9748
  (nextHydratableInstance = null)))
9749
9749
  : (renderLanes = null);
@@ -9757,36 +9757,36 @@
9757
9757
  : (workInProgress.lanes = 536870912);
9758
9758
  return null;
9759
9759
  }
9760
- var nextPrimaryChildren = JSCompiler_object_inline_stack_2548.children;
9761
- JSCompiler_object_inline_stack_2548 =
9762
- JSCompiler_object_inline_stack_2548.fallback;
9763
- if (JSCompiler_object_inline_message_2546) {
9760
+ var nextPrimaryChildren = JSCompiler_object_inline_stack_2551.children;
9761
+ JSCompiler_object_inline_stack_2551 =
9762
+ JSCompiler_object_inline_stack_2551.fallback;
9763
+ if (JSCompiler_object_inline_message_2549) {
9764
9764
  reuseSuspenseHandlerOnStack(workInProgress);
9765
9765
  var mode = workInProgress.mode;
9766
9766
  nextPrimaryChildren = mountWorkInProgressOffscreenFiber(
9767
9767
  { mode: "hidden", children: nextPrimaryChildren },
9768
9768
  mode
9769
9769
  );
9770
- JSCompiler_object_inline_stack_2548 = createFiberFromFragment(
9771
- JSCompiler_object_inline_stack_2548,
9770
+ JSCompiler_object_inline_stack_2551 = createFiberFromFragment(
9771
+ JSCompiler_object_inline_stack_2551,
9772
9772
  mode,
9773
9773
  renderLanes,
9774
9774
  null
9775
9775
  );
9776
9776
  nextPrimaryChildren.return = workInProgress;
9777
- JSCompiler_object_inline_stack_2548.return = workInProgress;
9778
- nextPrimaryChildren.sibling = JSCompiler_object_inline_stack_2548;
9777
+ JSCompiler_object_inline_stack_2551.return = workInProgress;
9778
+ nextPrimaryChildren.sibling = JSCompiler_object_inline_stack_2551;
9779
9779
  workInProgress.child = nextPrimaryChildren;
9780
9780
  nextPrimaryChildren = workInProgress.child;
9781
9781
  nextPrimaryChildren.memoizedState =
9782
9782
  mountSuspenseOffscreenState(renderLanes);
9783
9783
  nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree(
9784
9784
  current,
9785
- JSCompiler_object_inline_digest_2547,
9785
+ JSCompiler_object_inline_digest_2550,
9786
9786
  renderLanes
9787
9787
  );
9788
9788
  workInProgress.memoizedState = SUSPENDED_MARKER;
9789
- return JSCompiler_object_inline_stack_2548;
9789
+ return JSCompiler_object_inline_stack_2551;
9790
9790
  }
9791
9791
  pushPrimaryTreeSuspenseHandler(workInProgress);
9792
9792
  return mountSuspensePrimaryChildren(
@@ -9796,8 +9796,8 @@
9796
9796
  }
9797
9797
  var prevState = current.memoizedState;
9798
9798
  if (null !== prevState) {
9799
- var JSCompiler_object_inline_componentStack_2549 = prevState.dehydrated;
9800
- if (null !== JSCompiler_object_inline_componentStack_2549) {
9799
+ var JSCompiler_object_inline_componentStack_2552 = prevState.dehydrated;
9800
+ if (null !== JSCompiler_object_inline_componentStack_2552) {
9801
9801
  if (didSuspend)
9802
9802
  workInProgress.flags & 256
9803
9803
  ? (pushPrimaryTreeSuspenseHandler(workInProgress),
@@ -9814,13 +9814,13 @@
9814
9814
  (workInProgress = null))
9815
9815
  : (reuseSuspenseHandlerOnStack(workInProgress),
9816
9816
  (nextPrimaryChildren =
9817
- JSCompiler_object_inline_stack_2548.fallback),
9817
+ JSCompiler_object_inline_stack_2551.fallback),
9818
9818
  (mode = workInProgress.mode),
9819
- (JSCompiler_object_inline_stack_2548 =
9819
+ (JSCompiler_object_inline_stack_2551 =
9820
9820
  mountWorkInProgressOffscreenFiber(
9821
9821
  {
9822
9822
  mode: "visible",
9823
- children: JSCompiler_object_inline_stack_2548.children
9823
+ children: JSCompiler_object_inline_stack_2551.children
9824
9824
  },
9825
9825
  mode
9826
9826
  )),
@@ -9831,24 +9831,24 @@
9831
9831
  null
9832
9832
  )),
9833
9833
  (nextPrimaryChildren.flags |= 2),
9834
- (JSCompiler_object_inline_stack_2548.return = workInProgress),
9834
+ (JSCompiler_object_inline_stack_2551.return = workInProgress),
9835
9835
  (nextPrimaryChildren.return = workInProgress),
9836
- (JSCompiler_object_inline_stack_2548.sibling =
9836
+ (JSCompiler_object_inline_stack_2551.sibling =
9837
9837
  nextPrimaryChildren),
9838
- (workInProgress.child = JSCompiler_object_inline_stack_2548),
9838
+ (workInProgress.child = JSCompiler_object_inline_stack_2551),
9839
9839
  reconcileChildFibers(
9840
9840
  workInProgress,
9841
9841
  current.child,
9842
9842
  null,
9843
9843
  renderLanes
9844
9844
  ),
9845
- (JSCompiler_object_inline_stack_2548 = workInProgress.child),
9846
- (JSCompiler_object_inline_stack_2548.memoizedState =
9845
+ (JSCompiler_object_inline_stack_2551 = workInProgress.child),
9846
+ (JSCompiler_object_inline_stack_2551.memoizedState =
9847
9847
  mountSuspenseOffscreenState(renderLanes)),
9848
- (JSCompiler_object_inline_stack_2548.childLanes =
9848
+ (JSCompiler_object_inline_stack_2551.childLanes =
9849
9849
  getRemainingWorkInPrimaryTree(
9850
9850
  current,
9851
- JSCompiler_object_inline_digest_2547,
9851
+ JSCompiler_object_inline_digest_2550,
9852
9852
  renderLanes
9853
9853
  )),
9854
9854
  (workInProgress.memoizedState = SUSPENDED_MARKER),
@@ -9857,45 +9857,45 @@
9857
9857
  (pushPrimaryTreeSuspenseHandler(workInProgress),
9858
9858
  warnIfHydrating(),
9859
9859
  isSuspenseInstanceFallback(
9860
- JSCompiler_object_inline_componentStack_2549
9860
+ JSCompiler_object_inline_componentStack_2552
9861
9861
  ))
9862
9862
  ) {
9863
- JSCompiler_object_inline_digest_2547 =
9864
- JSCompiler_object_inline_componentStack_2549.nextSibling &&
9865
- JSCompiler_object_inline_componentStack_2549.nextSibling.dataset;
9866
- if (JSCompiler_object_inline_digest_2547) {
9867
- nextPrimaryChildren = JSCompiler_object_inline_digest_2547.dgst;
9868
- var message = JSCompiler_object_inline_digest_2547.msg;
9869
- mode = JSCompiler_object_inline_digest_2547.stck;
9870
- var componentStack = JSCompiler_object_inline_digest_2547.cstck;
9863
+ JSCompiler_object_inline_digest_2550 =
9864
+ JSCompiler_object_inline_componentStack_2552.nextSibling &&
9865
+ JSCompiler_object_inline_componentStack_2552.nextSibling.dataset;
9866
+ if (JSCompiler_object_inline_digest_2550) {
9867
+ nextPrimaryChildren = JSCompiler_object_inline_digest_2550.dgst;
9868
+ var message = JSCompiler_object_inline_digest_2550.msg;
9869
+ mode = JSCompiler_object_inline_digest_2550.stck;
9870
+ var componentStack = JSCompiler_object_inline_digest_2550.cstck;
9871
9871
  }
9872
- JSCompiler_object_inline_message_2546 = message;
9873
- JSCompiler_object_inline_digest_2547 = nextPrimaryChildren;
9874
- JSCompiler_object_inline_stack_2548 = mode;
9875
- JSCompiler_object_inline_componentStack_2549 = componentStack;
9876
- nextPrimaryChildren = JSCompiler_object_inline_message_2546;
9877
- mode = JSCompiler_object_inline_componentStack_2549;
9872
+ JSCompiler_object_inline_message_2549 = message;
9873
+ JSCompiler_object_inline_digest_2550 = nextPrimaryChildren;
9874
+ JSCompiler_object_inline_stack_2551 = mode;
9875
+ JSCompiler_object_inline_componentStack_2552 = componentStack;
9876
+ nextPrimaryChildren = JSCompiler_object_inline_message_2549;
9877
+ mode = JSCompiler_object_inline_componentStack_2552;
9878
9878
  nextPrimaryChildren = nextPrimaryChildren
9879
9879
  ? Error(nextPrimaryChildren)
9880
9880
  : Error(
9881
9881
  "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
9882
9882
  );
9883
9883
  nextPrimaryChildren.stack =
9884
- JSCompiler_object_inline_stack_2548 || "";
9885
- nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2547;
9886
- JSCompiler_object_inline_digest_2547 =
9884
+ JSCompiler_object_inline_stack_2551 || "";
9885
+ nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2550;
9886
+ JSCompiler_object_inline_digest_2550 =
9887
9887
  void 0 === mode ? null : mode;
9888
- JSCompiler_object_inline_stack_2548 = {
9888
+ JSCompiler_object_inline_stack_2551 = {
9889
9889
  value: nextPrimaryChildren,
9890
9890
  source: null,
9891
- stack: JSCompiler_object_inline_digest_2547
9891
+ stack: JSCompiler_object_inline_digest_2550
9892
9892
  };
9893
- "string" === typeof JSCompiler_object_inline_digest_2547 &&
9893
+ "string" === typeof JSCompiler_object_inline_digest_2550 &&
9894
9894
  CapturedStacks.set(
9895
9895
  nextPrimaryChildren,
9896
- JSCompiler_object_inline_stack_2548
9896
+ JSCompiler_object_inline_stack_2551
9897
9897
  );
9898
- queueHydrationError(JSCompiler_object_inline_stack_2548);
9898
+ queueHydrationError(JSCompiler_object_inline_stack_2551);
9899
9899
  workInProgress = retrySuspenseComponentWithoutHydrating(
9900
9900
  current,
9901
9901
  workInProgress,
@@ -9909,35 +9909,35 @@
9909
9909
  renderLanes,
9910
9910
  !1
9911
9911
  ),
9912
- (JSCompiler_object_inline_digest_2547 =
9912
+ (JSCompiler_object_inline_digest_2550 =
9913
9913
  0 !== (renderLanes & current.childLanes)),
9914
- didReceiveUpdate || JSCompiler_object_inline_digest_2547)
9914
+ didReceiveUpdate || JSCompiler_object_inline_digest_2550)
9915
9915
  ) {
9916
- JSCompiler_object_inline_digest_2547 = workInProgressRoot;
9916
+ JSCompiler_object_inline_digest_2550 = workInProgressRoot;
9917
9917
  if (
9918
- null !== JSCompiler_object_inline_digest_2547 &&
9919
- ((JSCompiler_object_inline_stack_2548 = getBumpedLaneForHydration(
9920
- JSCompiler_object_inline_digest_2547,
9918
+ null !== JSCompiler_object_inline_digest_2550 &&
9919
+ ((JSCompiler_object_inline_stack_2551 = getBumpedLaneForHydration(
9920
+ JSCompiler_object_inline_digest_2550,
9921
9921
  renderLanes
9922
9922
  )),
9923
- 0 !== JSCompiler_object_inline_stack_2548 &&
9924
- JSCompiler_object_inline_stack_2548 !== prevState.retryLane)
9923
+ 0 !== JSCompiler_object_inline_stack_2551 &&
9924
+ JSCompiler_object_inline_stack_2551 !== prevState.retryLane)
9925
9925
  )
9926
9926
  throw (
9927
- ((prevState.retryLane = JSCompiler_object_inline_stack_2548),
9927
+ ((prevState.retryLane = JSCompiler_object_inline_stack_2551),
9928
9928
  enqueueConcurrentRenderForLane(
9929
9929
  current,
9930
- JSCompiler_object_inline_stack_2548
9930
+ JSCompiler_object_inline_stack_2551
9931
9931
  ),
9932
9932
  scheduleUpdateOnFiber(
9933
- JSCompiler_object_inline_digest_2547,
9933
+ JSCompiler_object_inline_digest_2550,
9934
9934
  current,
9935
- JSCompiler_object_inline_stack_2548
9935
+ JSCompiler_object_inline_stack_2551
9936
9936
  ),
9937
9937
  SelectiveHydrationException)
9938
9938
  );
9939
9939
  isSuspenseInstancePending(
9940
- JSCompiler_object_inline_componentStack_2549
9940
+ JSCompiler_object_inline_componentStack_2552
9941
9941
  ) || renderDidSuspendDelayIfPossible();
9942
9942
  workInProgress = retrySuspenseComponentWithoutHydrating(
9943
9943
  current,
@@ -9946,14 +9946,14 @@
9946
9946
  );
9947
9947
  } else
9948
9948
  isSuspenseInstancePending(
9949
- JSCompiler_object_inline_componentStack_2549
9949
+ JSCompiler_object_inline_componentStack_2552
9950
9950
  )
9951
9951
  ? ((workInProgress.flags |= 192),
9952
9952
  (workInProgress.child = current.child),
9953
9953
  (workInProgress = null))
9954
9954
  : ((current = prevState.treeContext),
9955
9955
  (nextHydratableInstance = getNextHydratable(
9956
- JSCompiler_object_inline_componentStack_2549.nextSibling
9956
+ JSCompiler_object_inline_componentStack_2552.nextSibling
9957
9957
  )),
9958
9958
  (hydrationParentFiber = workInProgress),
9959
9959
  (isHydrating = !0),
@@ -9965,32 +9965,32 @@
9965
9965
  restoreSuspendedTreeContext(workInProgress, current),
9966
9966
  (workInProgress = mountSuspensePrimaryChildren(
9967
9967
  workInProgress,
9968
- JSCompiler_object_inline_stack_2548.children
9968
+ JSCompiler_object_inline_stack_2551.children
9969
9969
  )),
9970
9970
  (workInProgress.flags |= 4096));
9971
9971
  return workInProgress;
9972
9972
  }
9973
9973
  }
9974
- if (JSCompiler_object_inline_message_2546)
9974
+ if (JSCompiler_object_inline_message_2549)
9975
9975
  return (
9976
9976
  reuseSuspenseHandlerOnStack(workInProgress),
9977
- (nextPrimaryChildren = JSCompiler_object_inline_stack_2548.fallback),
9977
+ (nextPrimaryChildren = JSCompiler_object_inline_stack_2551.fallback),
9978
9978
  (mode = workInProgress.mode),
9979
9979
  (componentStack = current.child),
9980
- (JSCompiler_object_inline_componentStack_2549 =
9980
+ (JSCompiler_object_inline_componentStack_2552 =
9981
9981
  componentStack.sibling),
9982
- (JSCompiler_object_inline_stack_2548 = createWorkInProgress(
9982
+ (JSCompiler_object_inline_stack_2551 = createWorkInProgress(
9983
9983
  componentStack,
9984
9984
  {
9985
9985
  mode: "hidden",
9986
- children: JSCompiler_object_inline_stack_2548.children
9986
+ children: JSCompiler_object_inline_stack_2551.children
9987
9987
  }
9988
9988
  )),
9989
- (JSCompiler_object_inline_stack_2548.subtreeFlags =
9989
+ (JSCompiler_object_inline_stack_2551.subtreeFlags =
9990
9990
  componentStack.subtreeFlags & 65011712),
9991
- null !== JSCompiler_object_inline_componentStack_2549
9991
+ null !== JSCompiler_object_inline_componentStack_2552
9992
9992
  ? (nextPrimaryChildren = createWorkInProgress(
9993
- JSCompiler_object_inline_componentStack_2549,
9993
+ JSCompiler_object_inline_componentStack_2552,
9994
9994
  nextPrimaryChildren
9995
9995
  ))
9996
9996
  : ((nextPrimaryChildren = createFiberFromFragment(
@@ -10001,24 +10001,24 @@
10001
10001
  )),
10002
10002
  (nextPrimaryChildren.flags |= 2)),
10003
10003
  (nextPrimaryChildren.return = workInProgress),
10004
- (JSCompiler_object_inline_stack_2548.return = workInProgress),
10005
- (JSCompiler_object_inline_stack_2548.sibling = nextPrimaryChildren),
10006
- (workInProgress.child = JSCompiler_object_inline_stack_2548),
10007
- (JSCompiler_object_inline_stack_2548 = nextPrimaryChildren),
10004
+ (JSCompiler_object_inline_stack_2551.return = workInProgress),
10005
+ (JSCompiler_object_inline_stack_2551.sibling = nextPrimaryChildren),
10006
+ (workInProgress.child = JSCompiler_object_inline_stack_2551),
10007
+ (JSCompiler_object_inline_stack_2551 = nextPrimaryChildren),
10008
10008
  (nextPrimaryChildren = workInProgress.child),
10009
10009
  (mode = current.child.memoizedState),
10010
10010
  null === mode
10011
10011
  ? (mode = mountSuspenseOffscreenState(renderLanes))
10012
10012
  : ((componentStack = mode.cachePool),
10013
10013
  null !== componentStack
10014
- ? ((JSCompiler_object_inline_componentStack_2549 =
10014
+ ? ((JSCompiler_object_inline_componentStack_2552 =
10015
10015
  CacheContext._currentValue),
10016
10016
  (componentStack =
10017
10017
  componentStack.parent !==
10018
- JSCompiler_object_inline_componentStack_2549
10018
+ JSCompiler_object_inline_componentStack_2552
10019
10019
  ? {
10020
- parent: JSCompiler_object_inline_componentStack_2549,
10021
- pool: JSCompiler_object_inline_componentStack_2549
10020
+ parent: JSCompiler_object_inline_componentStack_2552,
10021
+ pool: JSCompiler_object_inline_componentStack_2552
10022
10022
  }
10023
10023
  : componentStack))
10024
10024
  : (componentStack = getSuspendedCache()),
@@ -10029,27 +10029,27 @@
10029
10029
  (nextPrimaryChildren.memoizedState = mode),
10030
10030
  (nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree(
10031
10031
  current,
10032
- JSCompiler_object_inline_digest_2547,
10032
+ JSCompiler_object_inline_digest_2550,
10033
10033
  renderLanes
10034
10034
  )),
10035
10035
  (workInProgress.memoizedState = SUSPENDED_MARKER),
10036
- JSCompiler_object_inline_stack_2548
10036
+ JSCompiler_object_inline_stack_2551
10037
10037
  );
10038
10038
  pushPrimaryTreeSuspenseHandler(workInProgress);
10039
10039
  renderLanes = current.child;
10040
10040
  current = renderLanes.sibling;
10041
10041
  renderLanes = createWorkInProgress(renderLanes, {
10042
10042
  mode: "visible",
10043
- children: JSCompiler_object_inline_stack_2548.children
10043
+ children: JSCompiler_object_inline_stack_2551.children
10044
10044
  });
10045
10045
  renderLanes.return = workInProgress;
10046
10046
  renderLanes.sibling = null;
10047
10047
  null !== current &&
10048
- ((JSCompiler_object_inline_digest_2547 = workInProgress.deletions),
10049
- null === JSCompiler_object_inline_digest_2547
10048
+ ((JSCompiler_object_inline_digest_2550 = workInProgress.deletions),
10049
+ null === JSCompiler_object_inline_digest_2550
10050
10050
  ? ((workInProgress.deletions = [current]),
10051
10051
  (workInProgress.flags |= 16))
10052
- : JSCompiler_object_inline_digest_2547.push(current));
10052
+ : JSCompiler_object_inline_digest_2550.push(current));
10053
10053
  workInProgress.child = renderLanes;
10054
10054
  workInProgress.memoizedState = null;
10055
10055
  return renderLanes;
@@ -10102,7 +10102,8 @@
10102
10102
  isBackwards,
10103
10103
  tail,
10104
10104
  lastContentRow,
10105
- tailMode
10105
+ tailMode,
10106
+ treeForkCount
10106
10107
  ) {
10107
10108
  var renderState = workInProgress.memoizedState;
10108
10109
  null === renderState
@@ -10112,23 +10113,24 @@
10112
10113
  renderingStartTime: 0,
10113
10114
  last: lastContentRow,
10114
10115
  tail: tail,
10115
- tailMode: tailMode
10116
+ tailMode: tailMode,
10117
+ treeForkCount: treeForkCount
10116
10118
  })
10117
10119
  : ((renderState.isBackwards = isBackwards),
10118
10120
  (renderState.rendering = null),
10119
10121
  (renderState.renderingStartTime = 0),
10120
10122
  (renderState.last = lastContentRow),
10121
10123
  (renderState.tail = tail),
10122
- (renderState.tailMode = tailMode));
10124
+ (renderState.tailMode = tailMode),
10125
+ (renderState.treeForkCount = treeForkCount));
10123
10126
  }
10124
10127
  function updateSuspenseListComponent(current, workInProgress, renderLanes) {
10125
10128
  var nextProps = workInProgress.pendingProps,
10126
10129
  revealOrder = nextProps.revealOrder,
10127
- tailMode = nextProps.tail;
10128
- nextProps = nextProps.children;
10129
- var suspenseContext = suspenseStackCursor.current,
10130
- shouldForceFallback = 0 !== (suspenseContext & ForceSuspenseFallback);
10131
- shouldForceFallback
10130
+ tailMode = nextProps.tail,
10131
+ newChildren = nextProps.children,
10132
+ suspenseContext = suspenseStackCursor.current;
10133
+ (nextProps = 0 !== (suspenseContext & ForceSuspenseFallback))
10132
10134
  ? ((suspenseContext =
10133
10135
  (suspenseContext & SubtreeSuspenseContextMask) |
10134
10136
  ForceSuspenseFallback),
@@ -10217,29 +10219,29 @@
10217
10219
  ("forwards" === revealOrder ||
10218
10220
  "backwards" === revealOrder ||
10219
10221
  "unstable_legacy-backwards" === revealOrder) &&
10220
- void 0 !== nextProps &&
10221
- null !== nextProps &&
10222
- !1 !== nextProps
10222
+ void 0 !== newChildren &&
10223
+ null !== newChildren &&
10224
+ !1 !== newChildren
10223
10225
  )
10224
- if (isArrayImpl(nextProps))
10226
+ if (isArrayImpl(newChildren))
10225
10227
  for (
10226
10228
  suspenseContext = 0;
10227
- suspenseContext < nextProps.length;
10229
+ suspenseContext < newChildren.length;
10228
10230
  suspenseContext++
10229
10231
  ) {
10230
10232
  if (
10231
10233
  !validateSuspenseListNestedChild(
10232
- nextProps[suspenseContext],
10234
+ newChildren[suspenseContext],
10233
10235
  suspenseContext
10234
10236
  )
10235
10237
  )
10236
10238
  break a;
10237
10239
  }
10238
10240
  else if (
10239
- ((suspenseContext = getIteratorFn(nextProps)),
10241
+ ((suspenseContext = getIteratorFn(newChildren)),
10240
10242
  "function" === typeof suspenseContext)
10241
10243
  ) {
10242
- if ((suspenseContext = suspenseContext.call(nextProps)))
10244
+ if ((suspenseContext = suspenseContext.call(newChildren)))
10243
10245
  for (
10244
10246
  var step = suspenseContext.next(), _i = 0;
10245
10247
  !step.done;
@@ -10253,12 +10255,11 @@
10253
10255
  '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?',
10254
10256
  revealOrder
10255
10257
  );
10256
- reconcileChildren(current, workInProgress, nextProps, renderLanes);
10257
- if (
10258
- !shouldForceFallback &&
10259
- null !== current &&
10260
- 0 !== (current.flags & 128)
10261
- )
10258
+ reconcileChildren(current, workInProgress, newChildren, renderLanes);
10259
+ isHydrating
10260
+ ? (warnIfNotHydrating(), (newChildren = treeForkCount))
10261
+ : (newChildren = 0);
10262
+ if (!nextProps && null !== current && 0 !== (current.flags & 128))
10262
10263
  a: for (current = workInProgress.child; null !== current; ) {
10263
10264
  if (13 === current.tag)
10264
10265
  null !== current.memoizedState &&
@@ -10299,7 +10300,8 @@
10299
10300
  !1,
10300
10301
  revealOrder,
10301
10302
  renderLanes,
10302
- tailMode
10303
+ tailMode,
10304
+ newChildren
10303
10305
  );
10304
10306
  break;
10305
10307
  case "backwards":
@@ -10322,11 +10324,19 @@
10322
10324
  !0,
10323
10325
  renderLanes,
10324
10326
  null,
10325
- tailMode
10327
+ tailMode,
10328
+ newChildren
10326
10329
  );
10327
10330
  break;
10328
10331
  case "together":
10329
- initSuspenseListRenderState(workInProgress, !1, null, null, void 0);
10332
+ initSuspenseListRenderState(
10333
+ workInProgress,
10334
+ !1,
10335
+ null,
10336
+ null,
10337
+ void 0,
10338
+ newChildren
10339
+ );
10330
10340
  break;
10331
10341
  default:
10332
10342
  workInProgress.memoizedState = null;
@@ -11928,12 +11938,12 @@
11928
11938
  );
11929
11939
  case 19:
11930
11940
  pop(suspenseStackCursor, workInProgress);
11931
- type = workInProgress.memoizedState;
11932
- if (null === type) return bubbleProperties(workInProgress), null;
11933
- newProps = 0 !== (workInProgress.flags & 128);
11934
- nextResource = type.rendering;
11941
+ newProps = workInProgress.memoizedState;
11942
+ if (null === newProps) return bubbleProperties(workInProgress), null;
11943
+ type = 0 !== (workInProgress.flags & 128);
11944
+ nextResource = newProps.rendering;
11935
11945
  if (null === nextResource)
11936
- if (newProps) cutOffTailIfNeeded(type, !1);
11946
+ if (type) cutOffTailIfNeeded(newProps, !1);
11937
11947
  else {
11938
11948
  if (
11939
11949
  workInProgressRootExitStatus !== RootInProgress ||
@@ -11943,7 +11953,7 @@
11943
11953
  nextResource = findFirstSuspended(current);
11944
11954
  if (null !== nextResource) {
11945
11955
  workInProgress.flags |= 128;
11946
- cutOffTailIfNeeded(type, !1);
11956
+ cutOffTailIfNeeded(newProps, !1);
11947
11957
  current = nextResource.updateQueue;
11948
11958
  workInProgress.updateQueue = current;
11949
11959
  scheduleRetryEffect(workInProgress, current);
@@ -11963,65 +11973,69 @@
11963
11973
  ForceSuspenseFallback,
11964
11974
  workInProgress
11965
11975
  );
11976
+ isHydrating &&
11977
+ pushTreeFork(workInProgress, newProps.treeForkCount);
11966
11978
  return workInProgress.child;
11967
11979
  }
11968
11980
  current = current.sibling;
11969
11981
  }
11970
- null !== type.tail &&
11982
+ null !== newProps.tail &&
11971
11983
  now$1() > workInProgressRootRenderTargetTime &&
11972
11984
  ((workInProgress.flags |= 128),
11973
- (newProps = !0),
11974
- cutOffTailIfNeeded(type, !1),
11985
+ (type = !0),
11986
+ cutOffTailIfNeeded(newProps, !1),
11975
11987
  (workInProgress.lanes = 4194304));
11976
11988
  }
11977
11989
  else {
11978
- if (!newProps)
11990
+ if (!type)
11979
11991
  if (
11980
11992
  ((current = findFirstSuspended(nextResource)), null !== current)
11981
11993
  ) {
11982
11994
  if (
11983
11995
  ((workInProgress.flags |= 128),
11984
- (newProps = !0),
11996
+ (type = !0),
11985
11997
  (current = current.updateQueue),
11986
11998
  (workInProgress.updateQueue = current),
11987
11999
  scheduleRetryEffect(workInProgress, current),
11988
- cutOffTailIfNeeded(type, !0),
11989
- null === type.tail &&
11990
- "hidden" === type.tailMode &&
12000
+ cutOffTailIfNeeded(newProps, !0),
12001
+ null === newProps.tail &&
12002
+ "hidden" === newProps.tailMode &&
11991
12003
  !nextResource.alternate &&
11992
12004
  !isHydrating)
11993
12005
  )
11994
12006
  return bubbleProperties(workInProgress), null;
11995
12007
  } else
11996
- 2 * now$1() - type.renderingStartTime >
12008
+ 2 * now$1() - newProps.renderingStartTime >
11997
12009
  workInProgressRootRenderTargetTime &&
11998
12010
  536870912 !== renderLanes &&
11999
12011
  ((workInProgress.flags |= 128),
12000
- (newProps = !0),
12001
- cutOffTailIfNeeded(type, !1),
12012
+ (type = !0),
12013
+ cutOffTailIfNeeded(newProps, !1),
12002
12014
  (workInProgress.lanes = 4194304));
12003
- type.isBackwards
12015
+ newProps.isBackwards
12004
12016
  ? ((nextResource.sibling = workInProgress.child),
12005
12017
  (workInProgress.child = nextResource))
12006
- : ((current = type.last),
12018
+ : ((current = newProps.last),
12007
12019
  null !== current
12008
12020
  ? (current.sibling = nextResource)
12009
12021
  : (workInProgress.child = nextResource),
12010
- (type.last = nextResource));
12022
+ (newProps.last = nextResource));
12011
12023
  }
12012
- if (null !== type.tail)
12024
+ if (null !== newProps.tail)
12013
12025
  return (
12014
- (current = type.tail),
12015
- (type.rendering = current),
12016
- (type.tail = current.sibling),
12017
- (type.renderingStartTime = now$1()),
12026
+ (current = newProps.tail),
12027
+ (newProps.rendering = current),
12028
+ (newProps.tail = current.sibling),
12029
+ (newProps.renderingStartTime = now$1()),
12018
12030
  (current.sibling = null),
12019
12031
  (renderLanes = suspenseStackCursor.current),
12020
- (renderLanes = newProps
12032
+ (renderLanes = type
12021
12033
  ? (renderLanes & SubtreeSuspenseContextMask) |
12022
12034
  ForceSuspenseFallback
12023
12035
  : renderLanes & SubtreeSuspenseContextMask),
12024
12036
  push(suspenseStackCursor, renderLanes, workInProgress),
12037
+ isHydrating &&
12038
+ pushTreeFork(workInProgress, newProps.treeForkCount),
12025
12039
  current
12026
12040
  );
12027
12041
  bubbleProperties(workInProgress);
@@ -25478,11 +25492,11 @@
25478
25492
  };
25479
25493
  (function () {
25480
25494
  var isomorphicReactPackageVersion = React.version;
25481
- if ("19.2.0-canary-280ff6fe-20250606" !== isomorphicReactPackageVersion)
25495
+ if ("19.2.0-canary-56408a5b-20250610" !== isomorphicReactPackageVersion)
25482
25496
  throw Error(
25483
25497
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
25484
25498
  (isomorphicReactPackageVersion +
25485
- "\n - react-dom: 19.2.0-canary-280ff6fe-20250606\nLearn more: https://react.dev/warnings/version-mismatch")
25499
+ "\n - react-dom: 19.2.0-canary-56408a5b-20250610\nLearn more: https://react.dev/warnings/version-mismatch")
25486
25500
  );
25487
25501
  })();
25488
25502
  ("function" === typeof Map &&
@@ -25519,10 +25533,10 @@
25519
25533
  !(function () {
25520
25534
  var internals = {
25521
25535
  bundleType: 1,
25522
- version: "19.2.0-canary-280ff6fe-20250606",
25536
+ version: "19.2.0-canary-56408a5b-20250610",
25523
25537
  rendererPackageName: "react-dom",
25524
25538
  currentDispatcherRef: ReactSharedInternals,
25525
- reconcilerVersion: "19.2.0-canary-280ff6fe-20250606"
25539
+ reconcilerVersion: "19.2.0-canary-56408a5b-20250610"
25526
25540
  };
25527
25541
  internals.overrideHookState = overrideHookState;
25528
25542
  internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -25660,7 +25674,7 @@
25660
25674
  listenToAllSupportedEvents(container);
25661
25675
  return new ReactDOMHydrationRoot(initialChildren);
25662
25676
  };
25663
- exports.version = "19.2.0-canary-280ff6fe-20250606";
25677
+ exports.version = "19.2.0-canary-56408a5b-20250610";
25664
25678
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
25665
25679
  "function" ===
25666
25680
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&