@@ -4524,7 +4524,7 @@ function findFirstSuspended(row) {
45244524        null !== state &&
45254525        ((state = state.dehydrated),
45264526        null === state ||
4527-           "$?" ===  state.data  ||
4527+           isSuspenseInstancePending( state)  ||
45284528          isSuspenseInstanceFallback(state))
45294529      )
45304530        return node;
@@ -5564,8 +5564,14 @@ function requestFormReset$1(formFiber) {
55645564  var transition = ReactSharedInternals.T;
55655565  if (null !== transition && transition.gesture)
55665566    throw Error(formatProdErrorMessage(555));
5567-   transition = ensureFormComponentIsStateful(formFiber).next.queue;
5568-   dispatchSetStateInternal(formFiber, transition, {}, requestUpdateLane());
5567+   transition = ensureFormComponentIsStateful(formFiber);
5568+   null === transition.next && (transition = formFiber.alternate.memoizedState);
5569+   dispatchSetStateInternal(
5570+     formFiber,
5571+     transition.next.queue,
5572+     {},
5573+     requestUpdateLane()
5574+   );
55695575}
55705576function useHostTransitionStatus() {
55715577  return readContext(HostTransitionContext);
@@ -7219,14 +7225,15 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) {
72197225          scheduleUpdateOnFiber(JSCompiler_temp, current, nextProps),
72207226          SelectiveHydrationException)
72217227        );
7222-       "$?" === nextPrimaryChildren.data || renderDidSuspendDelayIfPossible();
7228+       isSuspenseInstancePending(nextPrimaryChildren) ||
7229+         renderDidSuspendDelayIfPossible();
72237230      workInProgress = retrySuspenseComponentWithoutHydrating(
72247231        current,
72257232        workInProgress,
72267233        renderLanes
72277234      );
72287235    } else
7229-       "$?" ===  nextPrimaryChildren.data 
7236+       isSuspenseInstancePending( nextPrimaryChildren) 
72307237        ? ((workInProgress.flags |= 192),
72317238          (workInProgress.child = current.child),
72327239          (workInProgress = null))
@@ -16099,7 +16106,13 @@ function clearHydrationBoundary(parentInstance, hydrationInstance) {
1609916106          return;
1610016107        }
1610116108        depth--;
16102-       } else if ("$" === node || "$?" === node || "$!" === node || "&" === node)
16109+       } else if (
16110+         "$" === node ||
16111+         "$?" === node ||
16112+         "$~" === node ||
16113+         "$!" === node ||
16114+         "&" === node
16115+       )
1610316116        depth++;
1610416117      else if ("html" === node)
1610516118        releaseSingletonInstance(parentInstance.ownerDocument.documentElement);
@@ -16144,7 +16157,8 @@ function hideOrUnhideDehydratedBoundary(suspenseInstance, isHidden) {
1614416157        if (0 === suspenseInstance) break;
1614516158        else suspenseInstance--;
1614616159      else
16147-         ("$" !== node && "$?" !== node && "$!" !== node) || suspenseInstance++;
16160+         ("$" !== node && "$?" !== node && "$~" !== node && "$!" !== node) ||
16161+           suspenseInstance++;
1614816162    node = nextNode;
1614916163  } while (node);
1615016164}
@@ -16998,15 +17012,19 @@ function canHydrateHydrationBoundary(instance, inRootOrSingleton) {
1699817012  }
1699917013  return instance;
1700017014}
17015+ function isSuspenseInstancePending(instance) {
17016+   return "$?" === instance.data || "$~" === instance.data;
17017+ }
1700117018function isSuspenseInstanceFallback(instance) {
1700217019  return (
1700317020    "$!" === instance.data ||
17004-     ("$?" === instance.data && "complete" = == instance.ownerDocument.readyState)
17021+     ("$?" === instance.data && "loading" ! == instance.ownerDocument.readyState)
1700517022  );
1700617023}
1700717024function registerSuspenseInstanceRetry(instance, callback) {
1700817025  var ownerDocument = instance.ownerDocument;
17009-   if ("$?" !== instance.data || "complete" === ownerDocument.readyState)
17026+   if ("$~" === instance.data) instance._reactRetry = callback;
17027+   else if ("$?" !== instance.data || "loading" !== ownerDocument.readyState)
1701017028    callback();
1701117029  else {
1701217030    var listener = function () {
@@ -17027,6 +17045,7 @@ function getNextHydratable(node) {
1702717045        "$" === nodeType ||
1702817046        "$!" === nodeType ||
1702917047        "$?" === nodeType ||
17048+         "$~" === nodeType ||
1703017049        "&" === nodeType ||
1703117050        "F!" === nodeType ||
1703217051        "F" === nodeType
@@ -17048,7 +17067,11 @@ function getNextHydratableInstanceAfterHydrationBoundary(hydrationInstance) {
1704817067          return getNextHydratable(hydrationInstance.nextSibling);
1704917068        depth--;
1705017069      } else
17051-         ("$" !== data && "$!" !== data && "$?" !== data && "&" !== data) ||
17070+         ("$" !== data &&
17071+           "$!" !== data &&
17072+           "$?" !== data &&
17073+           "$~" !== data &&
17074+           "&" !== data) ||
1705217075          depth++;
1705317076    }
1705417077    hydrationInstance = hydrationInstance.nextSibling;
@@ -17060,7 +17083,13 @@ function getParentHydrationBoundary(targetInstance) {
1706017083  for (var depth = 0; targetInstance; ) {
1706117084    if (8 === targetInstance.nodeType) {
1706217085      var data = targetInstance.data;
17063-       if ("$" === data || "$!" === data || "$?" === data || "&" === data) {
17086+       if (
17087+         "$" === data ||
17088+         "$!" === data ||
17089+         "$?" === data ||
17090+         "$~" === data ||
17091+         "&" === data
17092+       ) {
1706417093        if (0 === depth) return targetInstance;
1706517094        depth--;
1706617095      } else ("/$" !== data && "/&" !== data) || depth++;
@@ -18651,14 +18680,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
1865118680};
1865218681var isomorphicReactPackageVersion$jscomp$inline_2045 = React.version;
1865318682if (
18654-   "19.2.0-experimental-197d6a04-20250424 " !==
18683+   "19.2.0-experimental-c129c242-20250505 " !==
1865518684  isomorphicReactPackageVersion$jscomp$inline_2045
1865618685)
1865718686  throw Error(
1865818687    formatProdErrorMessage(
1865918688      527,
1866018689      isomorphicReactPackageVersion$jscomp$inline_2045,
18661-       "19.2.0-experimental-197d6a04-20250424 "
18690+       "19.2.0-experimental-c129c242-20250505 "
1866218691    )
1866318692  );
1866418693ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -18680,10 +18709,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
1868018709};
1868118710var internals$jscomp$inline_2681 = {
1868218711  bundleType: 0,
18683-   version: "19.2.0-experimental-197d6a04-20250424 ",
18712+   version: "19.2.0-experimental-c129c242-20250505 ",
1868418713  rendererPackageName: "react-dom",
1868518714  currentDispatcherRef: ReactSharedInternals,
18686-   reconcilerVersion: "19.2.0-experimental-197d6a04-20250424 "
18715+   reconcilerVersion: "19.2.0-experimental-c129c242-20250505 "
1868718716};
1868818717if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1868918718  var hook$jscomp$inline_2682 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -18787,4 +18816,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
1878718816  listenToAllSupportedEvents(container);
1878818817  return new ReactDOMHydrationRoot(initialChildren);
1878918818};
18790- exports.version = "19.2.0-experimental-197d6a04-20250424 ";
18819+ exports.version = "19.2.0-experimental-c129c242-20250505 ";
0 commit comments