react-dom 19.2.0-canary-1ae0a845-20250603 → 19.2.0-canary-b4477d38-20250605

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.
@@ -6605,7 +6605,10 @@
6605
6605
  return node;
6606
6606
  } else if (
6607
6607
  19 === node.tag &&
6608
- void 0 !== node.memoizedProps.revealOrder
6608
+ ("forwards" === node.memoizedProps.revealOrder ||
6609
+ "backwards" === node.memoizedProps.revealOrder ||
6610
+ "unstable_legacy-backwards" === node.memoizedProps.revealOrder ||
6611
+ "together" === node.memoizedProps.revealOrder)
6609
6612
  ) {
6610
6613
  if (0 !== (node.flags & 128)) return node;
6611
6614
  } else if (null !== node.child) {
@@ -9707,24 +9710,24 @@
9707
9710
  return current;
9708
9711
  }
9709
9712
  function updateSuspenseComponent(current, workInProgress, renderLanes) {
9710
- var JSCompiler_object_inline_digest_2550;
9711
- var JSCompiler_object_inline_stack_2551 = workInProgress.pendingProps;
9713
+ var JSCompiler_object_inline_digest_2552;
9714
+ var JSCompiler_object_inline_stack_2553 = workInProgress.pendingProps;
9712
9715
  shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
9713
- var JSCompiler_object_inline_message_2549 = !1;
9716
+ var JSCompiler_object_inline_message_2551 = !1;
9714
9717
  var didSuspend = 0 !== (workInProgress.flags & 128);
9715
- (JSCompiler_object_inline_digest_2550 = didSuspend) ||
9716
- (JSCompiler_object_inline_digest_2550 =
9718
+ (JSCompiler_object_inline_digest_2552 = didSuspend) ||
9719
+ (JSCompiler_object_inline_digest_2552 =
9717
9720
  null !== current && null === current.memoizedState
9718
9721
  ? !1
9719
9722
  : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
9720
- JSCompiler_object_inline_digest_2550 &&
9721
- ((JSCompiler_object_inline_message_2549 = !0),
9723
+ JSCompiler_object_inline_digest_2552 &&
9724
+ ((JSCompiler_object_inline_message_2551 = !0),
9722
9725
  (workInProgress.flags &= -129));
9723
- JSCompiler_object_inline_digest_2550 = 0 !== (workInProgress.flags & 32);
9726
+ JSCompiler_object_inline_digest_2552 = 0 !== (workInProgress.flags & 32);
9724
9727
  workInProgress.flags &= -33;
9725
9728
  if (null === current) {
9726
9729
  if (isHydrating) {
9727
- JSCompiler_object_inline_message_2549
9730
+ JSCompiler_object_inline_message_2551
9728
9731
  ? pushPrimaryTreeSuspenseHandler(workInProgress)
9729
9732
  : reuseSuspenseHandlerOnStack(workInProgress);
9730
9733
  (current = nextHydratableInstance)
@@ -9737,18 +9740,18 @@
9737
9740
  ? renderLanes
9738
9741
  : null),
9739
9742
  null !== renderLanes &&
9740
- ((JSCompiler_object_inline_digest_2550 = {
9743
+ ((JSCompiler_object_inline_digest_2552 = {
9741
9744
  dehydrated: renderLanes,
9742
9745
  treeContext: getSuspendedTreeContext(),
9743
9746
  retryLane: 536870912,
9744
9747
  hydrationErrors: null
9745
9748
  }),
9746
9749
  (workInProgress.memoizedState =
9747
- JSCompiler_object_inline_digest_2550),
9748
- (JSCompiler_object_inline_digest_2550 =
9750
+ JSCompiler_object_inline_digest_2552),
9751
+ (JSCompiler_object_inline_digest_2552 =
9749
9752
  createFiberFromDehydratedFragment(renderLanes)),
9750
- (JSCompiler_object_inline_digest_2550.return = workInProgress),
9751
- (workInProgress.child = JSCompiler_object_inline_digest_2550),
9753
+ (JSCompiler_object_inline_digest_2552.return = workInProgress),
9754
+ (workInProgress.child = JSCompiler_object_inline_digest_2552),
9752
9755
  (hydrationParentFiber = workInProgress),
9753
9756
  (nextHydratableInstance = null)))
9754
9757
  : (renderLanes = null);
@@ -9762,36 +9765,36 @@
9762
9765
  : (workInProgress.lanes = 536870912);
9763
9766
  return null;
9764
9767
  }
9765
- var nextPrimaryChildren = JSCompiler_object_inline_stack_2551.children;
9766
- JSCompiler_object_inline_stack_2551 =
9767
- JSCompiler_object_inline_stack_2551.fallback;
9768
- if (JSCompiler_object_inline_message_2549) {
9768
+ var nextPrimaryChildren = JSCompiler_object_inline_stack_2553.children;
9769
+ JSCompiler_object_inline_stack_2553 =
9770
+ JSCompiler_object_inline_stack_2553.fallback;
9771
+ if (JSCompiler_object_inline_message_2551) {
9769
9772
  reuseSuspenseHandlerOnStack(workInProgress);
9770
9773
  var mode = workInProgress.mode;
9771
9774
  nextPrimaryChildren = mountWorkInProgressOffscreenFiber(
9772
9775
  { mode: "hidden", children: nextPrimaryChildren },
9773
9776
  mode
9774
9777
  );
9775
- JSCompiler_object_inline_stack_2551 = createFiberFromFragment(
9776
- JSCompiler_object_inline_stack_2551,
9778
+ JSCompiler_object_inline_stack_2553 = createFiberFromFragment(
9779
+ JSCompiler_object_inline_stack_2553,
9777
9780
  mode,
9778
9781
  renderLanes,
9779
9782
  null
9780
9783
  );
9781
9784
  nextPrimaryChildren.return = workInProgress;
9782
- JSCompiler_object_inline_stack_2551.return = workInProgress;
9783
- nextPrimaryChildren.sibling = JSCompiler_object_inline_stack_2551;
9785
+ JSCompiler_object_inline_stack_2553.return = workInProgress;
9786
+ nextPrimaryChildren.sibling = JSCompiler_object_inline_stack_2553;
9784
9787
  workInProgress.child = nextPrimaryChildren;
9785
9788
  nextPrimaryChildren = workInProgress.child;
9786
9789
  nextPrimaryChildren.memoizedState =
9787
9790
  mountSuspenseOffscreenState(renderLanes);
9788
9791
  nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree(
9789
9792
  current,
9790
- JSCompiler_object_inline_digest_2550,
9793
+ JSCompiler_object_inline_digest_2552,
9791
9794
  renderLanes
9792
9795
  );
9793
9796
  workInProgress.memoizedState = SUSPENDED_MARKER;
9794
- return JSCompiler_object_inline_stack_2551;
9797
+ return JSCompiler_object_inline_stack_2553;
9795
9798
  }
9796
9799
  pushPrimaryTreeSuspenseHandler(workInProgress);
9797
9800
  return mountSuspensePrimaryChildren(
@@ -9801,8 +9804,8 @@
9801
9804
  }
9802
9805
  var prevState = current.memoizedState;
9803
9806
  if (null !== prevState) {
9804
- var JSCompiler_object_inline_componentStack_2552 = prevState.dehydrated;
9805
- if (null !== JSCompiler_object_inline_componentStack_2552) {
9807
+ var JSCompiler_object_inline_componentStack_2554 = prevState.dehydrated;
9808
+ if (null !== JSCompiler_object_inline_componentStack_2554) {
9806
9809
  if (didSuspend)
9807
9810
  workInProgress.flags & 256
9808
9811
  ? (pushPrimaryTreeSuspenseHandler(workInProgress),
@@ -9819,13 +9822,13 @@
9819
9822
  (workInProgress = null))
9820
9823
  : (reuseSuspenseHandlerOnStack(workInProgress),
9821
9824
  (nextPrimaryChildren =
9822
- JSCompiler_object_inline_stack_2551.fallback),
9825
+ JSCompiler_object_inline_stack_2553.fallback),
9823
9826
  (mode = workInProgress.mode),
9824
- (JSCompiler_object_inline_stack_2551 =
9827
+ (JSCompiler_object_inline_stack_2553 =
9825
9828
  mountWorkInProgressOffscreenFiber(
9826
9829
  {
9827
9830
  mode: "visible",
9828
- children: JSCompiler_object_inline_stack_2551.children
9831
+ children: JSCompiler_object_inline_stack_2553.children
9829
9832
  },
9830
9833
  mode
9831
9834
  )),
@@ -9836,24 +9839,24 @@
9836
9839
  null
9837
9840
  )),
9838
9841
  (nextPrimaryChildren.flags |= 2),
9839
- (JSCompiler_object_inline_stack_2551.return = workInProgress),
9842
+ (JSCompiler_object_inline_stack_2553.return = workInProgress),
9840
9843
  (nextPrimaryChildren.return = workInProgress),
9841
- (JSCompiler_object_inline_stack_2551.sibling =
9844
+ (JSCompiler_object_inline_stack_2553.sibling =
9842
9845
  nextPrimaryChildren),
9843
- (workInProgress.child = JSCompiler_object_inline_stack_2551),
9846
+ (workInProgress.child = JSCompiler_object_inline_stack_2553),
9844
9847
  reconcileChildFibers(
9845
9848
  workInProgress,
9846
9849
  current.child,
9847
9850
  null,
9848
9851
  renderLanes
9849
9852
  ),
9850
- (JSCompiler_object_inline_stack_2551 = workInProgress.child),
9851
- (JSCompiler_object_inline_stack_2551.memoizedState =
9853
+ (JSCompiler_object_inline_stack_2553 = workInProgress.child),
9854
+ (JSCompiler_object_inline_stack_2553.memoizedState =
9852
9855
  mountSuspenseOffscreenState(renderLanes)),
9853
- (JSCompiler_object_inline_stack_2551.childLanes =
9856
+ (JSCompiler_object_inline_stack_2553.childLanes =
9854
9857
  getRemainingWorkInPrimaryTree(
9855
9858
  current,
9856
- JSCompiler_object_inline_digest_2550,
9859
+ JSCompiler_object_inline_digest_2552,
9857
9860
  renderLanes
9858
9861
  )),
9859
9862
  (workInProgress.memoizedState = SUSPENDED_MARKER),
@@ -9862,45 +9865,45 @@
9862
9865
  (pushPrimaryTreeSuspenseHandler(workInProgress),
9863
9866
  warnIfHydrating(),
9864
9867
  isSuspenseInstanceFallback(
9865
- JSCompiler_object_inline_componentStack_2552
9868
+ JSCompiler_object_inline_componentStack_2554
9866
9869
  ))
9867
9870
  ) {
9868
- JSCompiler_object_inline_digest_2550 =
9869
- JSCompiler_object_inline_componentStack_2552.nextSibling &&
9870
- JSCompiler_object_inline_componentStack_2552.nextSibling.dataset;
9871
- if (JSCompiler_object_inline_digest_2550) {
9872
- nextPrimaryChildren = JSCompiler_object_inline_digest_2550.dgst;
9873
- var message = JSCompiler_object_inline_digest_2550.msg;
9874
- mode = JSCompiler_object_inline_digest_2550.stck;
9875
- var componentStack = JSCompiler_object_inline_digest_2550.cstck;
9871
+ JSCompiler_object_inline_digest_2552 =
9872
+ JSCompiler_object_inline_componentStack_2554.nextSibling &&
9873
+ JSCompiler_object_inline_componentStack_2554.nextSibling.dataset;
9874
+ if (JSCompiler_object_inline_digest_2552) {
9875
+ nextPrimaryChildren = JSCompiler_object_inline_digest_2552.dgst;
9876
+ var message = JSCompiler_object_inline_digest_2552.msg;
9877
+ mode = JSCompiler_object_inline_digest_2552.stck;
9878
+ var componentStack = JSCompiler_object_inline_digest_2552.cstck;
9876
9879
  }
9877
- JSCompiler_object_inline_message_2549 = message;
9878
- JSCompiler_object_inline_digest_2550 = nextPrimaryChildren;
9879
- JSCompiler_object_inline_stack_2551 = mode;
9880
- JSCompiler_object_inline_componentStack_2552 = componentStack;
9881
- nextPrimaryChildren = JSCompiler_object_inline_message_2549;
9882
- mode = JSCompiler_object_inline_componentStack_2552;
9880
+ JSCompiler_object_inline_message_2551 = message;
9881
+ JSCompiler_object_inline_digest_2552 = nextPrimaryChildren;
9882
+ JSCompiler_object_inline_stack_2553 = mode;
9883
+ JSCompiler_object_inline_componentStack_2554 = componentStack;
9884
+ nextPrimaryChildren = JSCompiler_object_inline_message_2551;
9885
+ mode = JSCompiler_object_inline_componentStack_2554;
9883
9886
  nextPrimaryChildren = nextPrimaryChildren
9884
9887
  ? Error(nextPrimaryChildren)
9885
9888
  : Error(
9886
9889
  "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
9887
9890
  );
9888
9891
  nextPrimaryChildren.stack =
9889
- JSCompiler_object_inline_stack_2551 || "";
9890
- nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2550;
9891
- JSCompiler_object_inline_digest_2550 =
9892
+ JSCompiler_object_inline_stack_2553 || "";
9893
+ nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2552;
9894
+ JSCompiler_object_inline_digest_2552 =
9892
9895
  void 0 === mode ? null : mode;
9893
- JSCompiler_object_inline_stack_2551 = {
9896
+ JSCompiler_object_inline_stack_2553 = {
9894
9897
  value: nextPrimaryChildren,
9895
9898
  source: null,
9896
- stack: JSCompiler_object_inline_digest_2550
9899
+ stack: JSCompiler_object_inline_digest_2552
9897
9900
  };
9898
- "string" === typeof JSCompiler_object_inline_digest_2550 &&
9901
+ "string" === typeof JSCompiler_object_inline_digest_2552 &&
9899
9902
  CapturedStacks.set(
9900
9903
  nextPrimaryChildren,
9901
- JSCompiler_object_inline_stack_2551
9904
+ JSCompiler_object_inline_stack_2553
9902
9905
  );
9903
- queueHydrationError(JSCompiler_object_inline_stack_2551);
9906
+ queueHydrationError(JSCompiler_object_inline_stack_2553);
9904
9907
  workInProgress = retrySuspenseComponentWithoutHydrating(
9905
9908
  current,
9906
9909
  workInProgress,
@@ -9914,35 +9917,35 @@
9914
9917
  renderLanes,
9915
9918
  !1
9916
9919
  ),
9917
- (JSCompiler_object_inline_digest_2550 =
9920
+ (JSCompiler_object_inline_digest_2552 =
9918
9921
  0 !== (renderLanes & current.childLanes)),
9919
- didReceiveUpdate || JSCompiler_object_inline_digest_2550)
9922
+ didReceiveUpdate || JSCompiler_object_inline_digest_2552)
9920
9923
  ) {
9921
- JSCompiler_object_inline_digest_2550 = workInProgressRoot;
9924
+ JSCompiler_object_inline_digest_2552 = workInProgressRoot;
9922
9925
  if (
9923
- null !== JSCompiler_object_inline_digest_2550 &&
9924
- ((JSCompiler_object_inline_stack_2551 = getBumpedLaneForHydration(
9925
- JSCompiler_object_inline_digest_2550,
9926
+ null !== JSCompiler_object_inline_digest_2552 &&
9927
+ ((JSCompiler_object_inline_stack_2553 = getBumpedLaneForHydration(
9928
+ JSCompiler_object_inline_digest_2552,
9926
9929
  renderLanes
9927
9930
  )),
9928
- 0 !== JSCompiler_object_inline_stack_2551 &&
9929
- JSCompiler_object_inline_stack_2551 !== prevState.retryLane)
9931
+ 0 !== JSCompiler_object_inline_stack_2553 &&
9932
+ JSCompiler_object_inline_stack_2553 !== prevState.retryLane)
9930
9933
  )
9931
9934
  throw (
9932
- ((prevState.retryLane = JSCompiler_object_inline_stack_2551),
9935
+ ((prevState.retryLane = JSCompiler_object_inline_stack_2553),
9933
9936
  enqueueConcurrentRenderForLane(
9934
9937
  current,
9935
- JSCompiler_object_inline_stack_2551
9938
+ JSCompiler_object_inline_stack_2553
9936
9939
  ),
9937
9940
  scheduleUpdateOnFiber(
9938
- JSCompiler_object_inline_digest_2550,
9941
+ JSCompiler_object_inline_digest_2552,
9939
9942
  current,
9940
- JSCompiler_object_inline_stack_2551
9943
+ JSCompiler_object_inline_stack_2553
9941
9944
  ),
9942
9945
  SelectiveHydrationException)
9943
9946
  );
9944
9947
  isSuspenseInstancePending(
9945
- JSCompiler_object_inline_componentStack_2552
9948
+ JSCompiler_object_inline_componentStack_2554
9946
9949
  ) || renderDidSuspendDelayIfPossible();
9947
9950
  workInProgress = retrySuspenseComponentWithoutHydrating(
9948
9951
  current,
@@ -9951,14 +9954,14 @@
9951
9954
  );
9952
9955
  } else
9953
9956
  isSuspenseInstancePending(
9954
- JSCompiler_object_inline_componentStack_2552
9957
+ JSCompiler_object_inline_componentStack_2554
9955
9958
  )
9956
9959
  ? ((workInProgress.flags |= 192),
9957
9960
  (workInProgress.child = current.child),
9958
9961
  (workInProgress = null))
9959
9962
  : ((current = prevState.treeContext),
9960
9963
  (nextHydratableInstance = getNextHydratable(
9961
- JSCompiler_object_inline_componentStack_2552.nextSibling
9964
+ JSCompiler_object_inline_componentStack_2554.nextSibling
9962
9965
  )),
9963
9966
  (hydrationParentFiber = workInProgress),
9964
9967
  (isHydrating = !0),
@@ -9970,32 +9973,32 @@
9970
9973
  restoreSuspendedTreeContext(workInProgress, current),
9971
9974
  (workInProgress = mountSuspensePrimaryChildren(
9972
9975
  workInProgress,
9973
- JSCompiler_object_inline_stack_2551.children
9976
+ JSCompiler_object_inline_stack_2553.children
9974
9977
  )),
9975
9978
  (workInProgress.flags |= 4096));
9976
9979
  return workInProgress;
9977
9980
  }
9978
9981
  }
9979
- if (JSCompiler_object_inline_message_2549)
9982
+ if (JSCompiler_object_inline_message_2551)
9980
9983
  return (
9981
9984
  reuseSuspenseHandlerOnStack(workInProgress),
9982
- (nextPrimaryChildren = JSCompiler_object_inline_stack_2551.fallback),
9985
+ (nextPrimaryChildren = JSCompiler_object_inline_stack_2553.fallback),
9983
9986
  (mode = workInProgress.mode),
9984
9987
  (componentStack = current.child),
9985
- (JSCompiler_object_inline_componentStack_2552 =
9988
+ (JSCompiler_object_inline_componentStack_2554 =
9986
9989
  componentStack.sibling),
9987
- (JSCompiler_object_inline_stack_2551 = createWorkInProgress(
9990
+ (JSCompiler_object_inline_stack_2553 = createWorkInProgress(
9988
9991
  componentStack,
9989
9992
  {
9990
9993
  mode: "hidden",
9991
- children: JSCompiler_object_inline_stack_2551.children
9994
+ children: JSCompiler_object_inline_stack_2553.children
9992
9995
  }
9993
9996
  )),
9994
- (JSCompiler_object_inline_stack_2551.subtreeFlags =
9997
+ (JSCompiler_object_inline_stack_2553.subtreeFlags =
9995
9998
  componentStack.subtreeFlags & 65011712),
9996
- null !== JSCompiler_object_inline_componentStack_2552
9999
+ null !== JSCompiler_object_inline_componentStack_2554
9997
10000
  ? (nextPrimaryChildren = createWorkInProgress(
9998
- JSCompiler_object_inline_componentStack_2552,
10001
+ JSCompiler_object_inline_componentStack_2554,
9999
10002
  nextPrimaryChildren
10000
10003
  ))
10001
10004
  : ((nextPrimaryChildren = createFiberFromFragment(
@@ -10006,24 +10009,24 @@
10006
10009
  )),
10007
10010
  (nextPrimaryChildren.flags |= 2)),
10008
10011
  (nextPrimaryChildren.return = workInProgress),
10009
- (JSCompiler_object_inline_stack_2551.return = workInProgress),
10010
- (JSCompiler_object_inline_stack_2551.sibling = nextPrimaryChildren),
10011
- (workInProgress.child = JSCompiler_object_inline_stack_2551),
10012
- (JSCompiler_object_inline_stack_2551 = nextPrimaryChildren),
10012
+ (JSCompiler_object_inline_stack_2553.return = workInProgress),
10013
+ (JSCompiler_object_inline_stack_2553.sibling = nextPrimaryChildren),
10014
+ (workInProgress.child = JSCompiler_object_inline_stack_2553),
10015
+ (JSCompiler_object_inline_stack_2553 = nextPrimaryChildren),
10013
10016
  (nextPrimaryChildren = workInProgress.child),
10014
10017
  (mode = current.child.memoizedState),
10015
10018
  null === mode
10016
10019
  ? (mode = mountSuspenseOffscreenState(renderLanes))
10017
10020
  : ((componentStack = mode.cachePool),
10018
10021
  null !== componentStack
10019
- ? ((JSCompiler_object_inline_componentStack_2552 =
10022
+ ? ((JSCompiler_object_inline_componentStack_2554 =
10020
10023
  CacheContext._currentValue),
10021
10024
  (componentStack =
10022
10025
  componentStack.parent !==
10023
- JSCompiler_object_inline_componentStack_2552
10026
+ JSCompiler_object_inline_componentStack_2554
10024
10027
  ? {
10025
- parent: JSCompiler_object_inline_componentStack_2552,
10026
- pool: JSCompiler_object_inline_componentStack_2552
10028
+ parent: JSCompiler_object_inline_componentStack_2554,
10029
+ pool: JSCompiler_object_inline_componentStack_2554
10027
10030
  }
10028
10031
  : componentStack))
10029
10032
  : (componentStack = getSuspendedCache()),
@@ -10034,27 +10037,27 @@
10034
10037
  (nextPrimaryChildren.memoizedState = mode),
10035
10038
  (nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree(
10036
10039
  current,
10037
- JSCompiler_object_inline_digest_2550,
10040
+ JSCompiler_object_inline_digest_2552,
10038
10041
  renderLanes
10039
10042
  )),
10040
10043
  (workInProgress.memoizedState = SUSPENDED_MARKER),
10041
- JSCompiler_object_inline_stack_2551
10044
+ JSCompiler_object_inline_stack_2553
10042
10045
  );
10043
10046
  pushPrimaryTreeSuspenseHandler(workInProgress);
10044
10047
  renderLanes = current.child;
10045
10048
  current = renderLanes.sibling;
10046
10049
  renderLanes = createWorkInProgress(renderLanes, {
10047
10050
  mode: "visible",
10048
- children: JSCompiler_object_inline_stack_2551.children
10051
+ children: JSCompiler_object_inline_stack_2553.children
10049
10052
  });
10050
10053
  renderLanes.return = workInProgress;
10051
10054
  renderLanes.sibling = null;
10052
10055
  null !== current &&
10053
- ((JSCompiler_object_inline_digest_2550 = workInProgress.deletions),
10054
- null === JSCompiler_object_inline_digest_2550
10056
+ ((JSCompiler_object_inline_digest_2552 = workInProgress.deletions),
10057
+ null === JSCompiler_object_inline_digest_2552
10055
10058
  ? ((workInProgress.deletions = [current]),
10056
10059
  (workInProgress.flags |= 16))
10057
- : JSCompiler_object_inline_digest_2550.push(current));
10060
+ : JSCompiler_object_inline_digest_2552.push(current));
10058
10061
  workInProgress.child = renderLanes;
10059
10062
  workInProgress.memoizedState = null;
10060
10063
  return renderLanes;
@@ -10140,21 +10143,30 @@
10140
10143
  (workInProgress.flags |= 128))
10141
10144
  : (suspenseContext &= SubtreeSuspenseContextMask);
10142
10145
  push(suspenseStackCursor, suspenseContext, workInProgress);
10146
+ suspenseContext = null == revealOrder ? "null" : revealOrder;
10143
10147
  if (
10144
- void 0 !== revealOrder &&
10145
10148
  "forwards" !== revealOrder &&
10146
- "backwards" !== revealOrder &&
10149
+ "unstable_legacy-backwards" !== revealOrder &&
10147
10150
  "together" !== revealOrder &&
10148
- !didWarnAboutRevealOrder[revealOrder]
10151
+ "independent" !== revealOrder &&
10152
+ !didWarnAboutRevealOrder[suspenseContext]
10149
10153
  )
10150
10154
  if (
10151
- ((didWarnAboutRevealOrder[revealOrder] = !0),
10152
- "string" === typeof revealOrder)
10155
+ ((didWarnAboutRevealOrder[suspenseContext] = !0), null == revealOrder)
10153
10156
  )
10157
+ console.error(
10158
+ 'The default for the <SuspenseList revealOrder="..."> prop is changing. To be future compatible you must explictly specify either "independent" (the current default), "together", "forwards" or "legacy_unstable-backwards".'
10159
+ );
10160
+ else if ("backwards" === revealOrder)
10161
+ console.error(
10162
+ 'The rendering order of <SuspenseList revealOrder="backwards"> is changing. To be future compatible you must specify revealOrder="legacy_unstable-backwards" instead.'
10163
+ );
10164
+ else if ("string" === typeof revealOrder)
10154
10165
  switch (revealOrder.toLowerCase()) {
10155
10166
  case "together":
10156
10167
  case "forwards":
10157
10168
  case "backwards":
10169
+ case "independent":
10158
10170
  console.error(
10159
10171
  '"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',
10160
10172
  revealOrder,
@@ -10171,32 +10183,48 @@
10171
10183
  break;
10172
10184
  default:
10173
10185
  console.error(
10174
- '"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',
10186
+ '"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',
10175
10187
  revealOrder
10176
10188
  );
10177
10189
  }
10178
10190
  else
10179
10191
  console.error(
10180
- '%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',
10192
+ '%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',
10181
10193
  revealOrder
10182
10194
  );
10183
- void 0 === tailMode ||
10184
- didWarnAboutTailOptions[tailMode] ||
10185
- ("collapsed" !== tailMode && "hidden" !== tailMode
10186
- ? ((didWarnAboutTailOptions[tailMode] = !0),
10187
- console.error(
10188
- '"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',
10189
- tailMode
10190
- ))
10191
- : "forwards" !== revealOrder &&
10192
- "backwards" !== revealOrder &&
10193
- ((didWarnAboutTailOptions[tailMode] = !0),
10194
- console.error(
10195
- '<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',
10196
- tailMode
10197
- )));
10195
+ suspenseContext = null == tailMode ? "null" : tailMode;
10196
+ if (!didWarnAboutTailOptions[suspenseContext])
10197
+ if (null == tailMode) {
10198
+ if (
10199
+ "forwards" === revealOrder ||
10200
+ "backwards" === revealOrder ||
10201
+ "unstable_legacy-backwards" === revealOrder
10202
+ )
10203
+ (didWarnAboutTailOptions[suspenseContext] = !0),
10204
+ console.error(
10205
+ 'The default for the <SuspenseList tail="..."> prop is changing. To be future compatible you must explictly specify either "visible" (the current default), "collapsed" or "hidden".'
10206
+ );
10207
+ } else
10208
+ "visible" !== tailMode &&
10209
+ "collapsed" !== tailMode &&
10210
+ "hidden" !== tailMode
10211
+ ? ((didWarnAboutTailOptions[suspenseContext] = !0),
10212
+ console.error(
10213
+ '"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',
10214
+ tailMode
10215
+ ))
10216
+ : "forwards" !== revealOrder &&
10217
+ "backwards" !== revealOrder &&
10218
+ "unstable_legacy-backwards" !== revealOrder &&
10219
+ ((didWarnAboutTailOptions[suspenseContext] = !0),
10220
+ console.error(
10221
+ '<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',
10222
+ tailMode
10223
+ ));
10198
10224
  a: if (
10199
- ("forwards" === revealOrder || "backwards" === revealOrder) &&
10225
+ ("forwards" === revealOrder ||
10226
+ "backwards" === revealOrder ||
10227
+ "unstable_legacy-backwards" === revealOrder) &&
10200
10228
  void 0 !== nextProps &&
10201
10229
  null !== nextProps &&
10202
10230
  !1 !== nextProps
@@ -10283,6 +10311,7 @@
10283
10311
  );
10284
10312
  break;
10285
10313
  case "backwards":
10314
+ case "unstable_legacy-backwards":
10286
10315
  renderLanes = null;
10287
10316
  revealOrder = workInProgress.child;
10288
10317
  for (workInProgress.child = null; null !== revealOrder; ) {
@@ -25501,11 +25530,11 @@
25501
25530
  };
25502
25531
  (function () {
25503
25532
  var isomorphicReactPackageVersion = React.version;
25504
- if ("19.2.0-canary-1ae0a845-20250603" !== isomorphicReactPackageVersion)
25533
+ if ("19.2.0-canary-b4477d38-20250605" !== isomorphicReactPackageVersion)
25505
25534
  throw Error(
25506
25535
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
25507
25536
  (isomorphicReactPackageVersion +
25508
- "\n - react-dom: 19.2.0-canary-1ae0a845-20250603\nLearn more: https://react.dev/warnings/version-mismatch")
25537
+ "\n - react-dom: 19.2.0-canary-b4477d38-20250605\nLearn more: https://react.dev/warnings/version-mismatch")
25509
25538
  );
25510
25539
  })();
25511
25540
  ("function" === typeof Map &&
@@ -25542,10 +25571,10 @@
25542
25571
  !(function () {
25543
25572
  var internals = {
25544
25573
  bundleType: 1,
25545
- version: "19.2.0-canary-1ae0a845-20250603",
25574
+ version: "19.2.0-canary-b4477d38-20250605",
25546
25575
  rendererPackageName: "react-dom",
25547
25576
  currentDispatcherRef: ReactSharedInternals,
25548
- reconcilerVersion: "19.2.0-canary-1ae0a845-20250603"
25577
+ reconcilerVersion: "19.2.0-canary-b4477d38-20250605"
25549
25578
  };
25550
25579
  internals.overrideHookState = overrideHookState;
25551
25580
  internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -26013,7 +26042,7 @@
26013
26042
  exports.useFormStatus = function () {
26014
26043
  return resolveDispatcher().useHostTransitionStatus();
26015
26044
  };
26016
- exports.version = "19.2.0-canary-1ae0a845-20250603";
26045
+ exports.version = "19.2.0-canary-b4477d38-20250605";
26017
26046
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
26018
26047
  "function" ===
26019
26048
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -4441,7 +4441,13 @@ function findFirstSuspended(row) {
4441
4441
  isSuspenseInstanceFallback(state))
4442
4442
  )
4443
4443
  return node;
4444
- } else if (19 === node.tag && void 0 !== node.memoizedProps.revealOrder) {
4444
+ } else if (
4445
+ 19 === node.tag &&
4446
+ ("forwards" === node.memoizedProps.revealOrder ||
4447
+ "backwards" === node.memoizedProps.revealOrder ||
4448
+ "unstable_legacy-backwards" === node.memoizedProps.revealOrder ||
4449
+ "together" === node.memoizedProps.revealOrder)
4450
+ ) {
4445
4451
  if (0 !== (node.flags & 128)) return node;
4446
4452
  } else if (null !== node.child) {
4447
4453
  node.child.return = node;
@@ -7214,6 +7220,7 @@ function updateSuspenseListComponent(current, workInProgress, renderLanes) {
7214
7220
  );
7215
7221
  break;
7216
7222
  case "backwards":
7223
+ case "unstable_legacy-backwards":
7217
7224
  renderLanes = null;
7218
7225
  revealOrder = workInProgress.child;
7219
7226
  for (workInProgress.child = null; null !== revealOrder; ) {
@@ -16387,14 +16394,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
16387
16394
  };
16388
16395
  var isomorphicReactPackageVersion$jscomp$inline_1955 = React.version;
16389
16396
  if (
16390
- "19.2.0-canary-1ae0a845-20250603" !==
16397
+ "19.2.0-canary-b4477d38-20250605" !==
16391
16398
  isomorphicReactPackageVersion$jscomp$inline_1955
16392
16399
  )
16393
16400
  throw Error(
16394
16401
  formatProdErrorMessage(
16395
16402
  527,
16396
16403
  isomorphicReactPackageVersion$jscomp$inline_1955,
16397
- "19.2.0-canary-1ae0a845-20250603"
16404
+ "19.2.0-canary-b4477d38-20250605"
16398
16405
  )
16399
16406
  );
16400
16407
  ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -16416,10 +16423,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
16416
16423
  };
16417
16424
  var internals$jscomp$inline_1962 = {
16418
16425
  bundleType: 0,
16419
- version: "19.2.0-canary-1ae0a845-20250603",
16426
+ version: "19.2.0-canary-b4477d38-20250605",
16420
16427
  rendererPackageName: "react-dom",
16421
16428
  currentDispatcherRef: ReactSharedInternals,
16422
- reconcilerVersion: "19.2.0-canary-1ae0a845-20250603",
16429
+ reconcilerVersion: "19.2.0-canary-b4477d38-20250605",
16423
16430
  getLaneLabelMap: function () {
16424
16431
  for (
16425
16432
  var map = new Map(), lane = 1, index$293 = 0;
@@ -16692,7 +16699,7 @@ exports.useFormState = function (action, initialState, permalink) {
16692
16699
  exports.useFormStatus = function () {
16693
16700
  return ReactSharedInternals.H.useHostTransitionStatus();
16694
16701
  };
16695
- exports.version = "19.2.0-canary-1ae0a845-20250603";
16702
+ exports.version = "19.2.0-canary-b4477d38-20250605";
16696
16703
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
16697
16704
  "function" ===
16698
16705
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&