react-dom

19.3.0-canary-65eec428-2025121819.3.0-canary-4a3d993e-20260114
cjs/react-dom-profiling.development.js
~cjs/react-dom-profiling.development.jsModified
+116−106
Index: package/cjs/react-dom-profiling.development.js
===================================================================
--- package/cjs/react-dom-profiling.development.js
+++ package/cjs/react-dom-profiling.development.js
@@ -11152,26 +11152,26 @@
       primaryTreeDidDefer && (current |= workInProgressDeferredLane);
       return current;
     }
     function updateSuspenseComponent(current, workInProgress, renderLanes) {
-      var JSCompiler_object_inline_digest_2944;
-      var JSCompiler_object_inline_stack_2945 = workInProgress.pendingProps;
+      var JSCompiler_object_inline_digest_2946;
+      var JSCompiler_object_inline_stack_2947 = workInProgress.pendingProps;
       shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
-      var JSCompiler_object_inline_message_2943 = !1;
+      var JSCompiler_object_inline_message_2945 = !1;
       var didSuspend = 0 !== (workInProgress.flags & 128);
-      (JSCompiler_object_inline_digest_2944 = didSuspend) ||
-        (JSCompiler_object_inline_digest_2944 =
+      (JSCompiler_object_inline_digest_2946 = didSuspend) ||
+        (JSCompiler_object_inline_digest_2946 =
           null !== current && null === current.memoizedState
             ? !1
             : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
-      JSCompiler_object_inline_digest_2944 &&
-        ((JSCompiler_object_inline_message_2943 = !0),
+      JSCompiler_object_inline_digest_2946 &&
+        ((JSCompiler_object_inline_message_2945 = !0),
         (workInProgress.flags &= -129));
-      JSCompiler_object_inline_digest_2944 = 0 !== (workInProgress.flags & 32);
+      JSCompiler_object_inline_digest_2946 = 0 !== (workInProgress.flags & 32);
       workInProgress.flags &= -33;
       if (null === current) {
         if (isHydrating) {
-          JSCompiler_object_inline_message_2943
+          JSCompiler_object_inline_message_2945
             ? pushPrimaryTreeSuspenseHandler(workInProgress)
             : reuseSuspenseHandlerOnStack(workInProgress);
           (current = nextHydratableInstance)
             ? ((renderLanes = canHydrateHydrationBoundary(
@@ -11182,20 +11182,20 @@
                 null !== renderLanes && renderLanes.data !== ACTIVITY_START_DATA
                   ? renderLanes
                   : null),
               null !== renderLanes &&
-                ((JSCompiler_object_inline_digest_2944 = {
+                ((JSCompiler_object_inline_digest_2946 = {
                   dehydrated: renderLanes,
                   treeContext: getSuspendedTreeContext(),
                   retryLane: 536870912,
                   hydrationErrors: null
                 }),
                 (workInProgress.memoizedState =
-                  JSCompiler_object_inline_digest_2944),
-                (JSCompiler_object_inline_digest_2944 =
+                  JSCompiler_object_inline_digest_2946),
+                (JSCompiler_object_inline_digest_2946 =
                   createFiberFromDehydratedFragment(renderLanes)),
-                (JSCompiler_object_inline_digest_2944.return = workInProgress),
-                (workInProgress.child = JSCompiler_object_inline_digest_2944),
+                (JSCompiler_object_inline_digest_2946.return = workInProgress),
+                (workInProgress.child = JSCompiler_object_inline_digest_2946),
                 (hydrationParentFiber = workInProgress),
                 (nextHydratableInstance = null)))
             : (renderLanes = null);
           if (null === renderLanes)
@@ -11207,41 +11207,41 @@
             ? (workInProgress.lanes = 32)
             : (workInProgress.lanes = 536870912);
           return null;
         }
-        var nextPrimaryChildren = JSCompiler_object_inline_stack_2945.children;
-        JSCompiler_object_inline_stack_2945 =
-          JSCompiler_object_inline_stack_2945.fallback;
-        if (JSCompiler_object_inline_message_2943) {
+        var nextPrimaryChildren = JSCompiler_object_inline_stack_2947.children;
+        JSCompiler_object_inline_stack_2947 =
+          JSCompiler_object_inline_stack_2947.fallback;
+        if (JSCompiler_object_inline_message_2945) {
           reuseSuspenseHandlerOnStack(workInProgress);
           var mode = workInProgress.mode;
           nextPrimaryChildren = mountWorkInProgressOffscreenFiber(
             { mode: "hidden", children: nextPrimaryChildren },
             mode
           );
-          JSCompiler_object_inline_stack_2945 = createFiberFromFragment(
-            JSCompiler_object_inline_stack_2945,
+          JSCompiler_object_inline_stack_2947 = createFiberFromFragment(
+            JSCompiler_object_inline_stack_2947,
             mode,
             renderLanes,
             null
           );
           nextPrimaryChildren.return = workInProgress;
-          JSCompiler_object_inline_stack_2945.return = workInProgress;
-          nextPrimaryChildren.sibling = JSCompiler_object_inline_stack_2945;
+          JSCompiler_object_inline_stack_2947.return = workInProgress;
+          nextPrimaryChildren.sibling = JSCompiler_object_inline_stack_2947;
           workInProgress.child = nextPrimaryChildren;
-          JSCompiler_object_inline_stack_2945 = workInProgress.child;
-          JSCompiler_object_inline_stack_2945.memoizedState =
+          JSCompiler_object_inline_stack_2947 = workInProgress.child;
+          JSCompiler_object_inline_stack_2947.memoizedState =
             mountSuspenseOffscreenState(renderLanes);
-          JSCompiler_object_inline_stack_2945.childLanes =
+          JSCompiler_object_inline_stack_2947.childLanes =
             getRemainingWorkInPrimaryTree(
               current,
-              JSCompiler_object_inline_digest_2944,
+              JSCompiler_object_inline_digest_2946,
               renderLanes
             );
           workInProgress.memoizedState = SUSPENDED_MARKER;
           return bailoutOffscreenComponent(
             null,
-            JSCompiler_object_inline_stack_2945
+            JSCompiler_object_inline_stack_2947
           );
         }
         pushPrimaryTreeSuspenseHandler(workInProgress);
         return mountSuspensePrimaryChildren(
@@ -11250,10 +11250,10 @@
         );
       }
       var prevState = current.memoizedState;
       if (null !== prevState) {
-        var JSCompiler_object_inline_componentStack_2946 = prevState.dehydrated;
-        if (null !== JSCompiler_object_inline_componentStack_2946) {
+        var JSCompiler_object_inline_componentStack_2948 = prevState.dehydrated;
+        if (null !== JSCompiler_object_inline_componentStack_2948) {
           if (didSuspend)
             workInProgress.flags & 256
               ? (pushPrimaryTreeSuspenseHandler(workInProgress),
                 (workInProgress.flags &= -257),
@@ -11268,15 +11268,15 @@
                   (workInProgress.flags |= 128),
                   (workInProgress = null))
                 : (reuseSuspenseHandlerOnStack(workInProgress),
                   (nextPrimaryChildren =
-                    JSCompiler_object_inline_stack_2945.fallback),
+                    JSCompiler_object_inline_stack_2947.fallback),
                   (mode = workInProgress.mode),
-                  (JSCompiler_object_inline_stack_2945 =
+                  (JSCompiler_object_inline_stack_2947 =
                     mountWorkInProgressOffscreenFiber(
                       {
                         mode: "visible",
-                        children: JSCompiler_object_inline_stack_2945.children
+                        children: JSCompiler_object_inline_stack_2947.children
                       },
                       mode
                     )),
                   (nextPrimaryChildren = createFiberFromFragment(
@@ -11285,78 +11285,78 @@
                     renderLanes,
                     null
                   )),
                   (nextPrimaryChildren.flags |= 2),
-                  (JSCompiler_object_inline_stack_2945.return = workInProgress),
+                  (JSCompiler_object_inline_stack_2947.return = workInProgress),
                   (nextPrimaryChildren.return = workInProgress),
-                  (JSCompiler_object_inline_stack_2945.sibling =
+                  (JSCompiler_object_inline_stack_2947.sibling =
                     nextPrimaryChildren),
-                  (workInProgress.child = JSCompiler_object_inline_stack_2945),
+                  (workInProgress.child = JSCompiler_object_inline_stack_2947),
                   reconcileChildFibers(
                     workInProgress,
                     current.child,
                     null,
                     renderLanes
                   ),
-                  (JSCompiler_object_inline_stack_2945 = workInProgress.child),
-                  (JSCompiler_object_inline_stack_2945.memoizedState =
+                  (JSCompiler_object_inline_stack_2947 = workInProgress.child),
+                  (JSCompiler_object_inline_stack_2947.memoizedState =
                     mountSuspenseOffscreenState(renderLanes)),
-                  (JSCompiler_object_inline_stack_2945.childLanes =
+                  (JSCompiler_object_inline_stack_2947.childLanes =
                     getRemainingWorkInPrimaryTree(
                       current,
-                      JSCompiler_object_inline_digest_2944,
+                      JSCompiler_object_inline_digest_2946,
                       renderLanes
                     )),
                   (workInProgress.memoizedState = SUSPENDED_MARKER),
                   (workInProgress = bailoutOffscreenComponent(
                     null,
-                    JSCompiler_object_inline_stack_2945
+                    JSCompiler_object_inline_stack_2947
                   )));
           else if (
             (pushPrimaryTreeSuspenseHandler(workInProgress),
             warnIfHydrating(),
             0 !== (renderLanes & 536870912) &&
               markRenderDerivedCause(workInProgress),
             isSuspenseInstanceFallback(
-              JSCompiler_object_inline_componentStack_2946
+              JSCompiler_object_inline_componentStack_2948
             ))
           ) {
-            JSCompiler_object_inline_digest_2944 =
-              JSCompiler_object_inline_componentStack_2946.nextSibling &&
-              JSCompiler_object_inline_componentStack_2946.nextSibling.dataset;
-            if (JSCompiler_object_inline_digest_2944) {
-              nextPrimaryChildren = JSCompiler_object_inline_digest_2944.dgst;
-              var message = JSCompiler_object_inline_digest_2944.msg;
-              mode = JSCompiler_object_inline_digest_2944.stck;
-              var componentStack = JSCompiler_object_inline_digest_2944.cstck;
+            JSCompiler_object_inline_digest_2946 =
+              JSCompiler_object_inline_componentStack_2948.nextSibling &&
+              JSCompiler_object_inline_componentStack_2948.nextSibling.dataset;
+            if (JSCompiler_object_inline_digest_2946) {
+              nextPrimaryChildren = JSCompiler_object_inline_digest_2946.dgst;
+              var message = JSCompiler_object_inline_digest_2946.msg;
+              mode = JSCompiler_object_inline_digest_2946.stck;
+              var componentStack = JSCompiler_object_inline_digest_2946.cstck;
             }
-            JSCompiler_object_inline_message_2943 = message;
-            JSCompiler_object_inline_digest_2944 = nextPrimaryChildren;
-            JSCompiler_object_inline_stack_2945 = mode;
-            JSCompiler_object_inline_componentStack_2946 = componentStack;
-            nextPrimaryChildren = JSCompiler_object_inline_message_2943;
-            mode = JSCompiler_object_inline_componentStack_2946;
+            JSCompiler_object_inline_message_2945 = message;
+            JSCompiler_object_inline_digest_2946 = nextPrimaryChildren;
+            JSCompiler_object_inline_stack_2947 = mode;
+            JSCompiler_object_inline_componentStack_2948 = componentStack;
+            nextPrimaryChildren = JSCompiler_object_inline_message_2945;
+            mode = JSCompiler_object_inline_componentStack_2948;
             nextPrimaryChildren = nextPrimaryChildren
               ? Error(nextPrimaryChildren)
               : Error(
                   "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
                 );
             nextPrimaryChildren.stack =
-              JSCompiler_object_inline_stack_2945 || "";
-            nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2944;
-            JSCompiler_object_inline_digest_2944 =
+              JSCompiler_object_inline_stack_2947 || "";
+            nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2946;
+            JSCompiler_object_inline_digest_2946 =
               void 0 === mode ? null : mode;
-            JSCompiler_object_inline_stack_2945 = {
+            JSCompiler_object_inline_stack_2947 = {
               value: nextPrimaryChildren,
               source: null,
-              stack: JSCompiler_object_inline_digest_2944
+              stack: JSCompiler_object_inline_digest_2946
             };
-            "string" === typeof JSCompiler_object_inline_digest_2944 &&
+            "string" === typeof JSCompiler_object_inline_digest_2946 &&
               CapturedStacks.set(
                 nextPrimaryChildren,
-                JSCompiler_object_inline_stack_2945
+                JSCompiler_object_inline_stack_2947
               );
-            queueHydrationError(JSCompiler_object_inline_stack_2945);
+            queueHydrationError(JSCompiler_object_inline_stack_2947);
             workInProgress = retrySuspenseComponentWithoutHydrating(
               current,
               workInProgress,
               renderLanes
@@ -11368,53 +11368,53 @@
                 workInProgress,
                 renderLanes,
                 !1
               ),
-            (JSCompiler_object_inline_digest_2944 =
+            (JSCompiler_object_inline_digest_2946 =
               0 !== (renderLanes & current.childLanes)),
-            didReceiveUpdate || JSCompiler_object_inline_digest_2944)
+            didReceiveUpdate || JSCompiler_object_inline_digest_2946)
           ) {
-            JSCompiler_object_inline_digest_2944 = workInProgressRoot;
+            JSCompiler_object_inline_digest_2946 = workInProgressRoot;
             if (
-              null !== JSCompiler_object_inline_digest_2944 &&
-              ((JSCompiler_object_inline_stack_2945 = getBumpedLaneForHydration(
-                JSCompiler_object_inline_digest_2944,
+              null !== JSCompiler_object_inline_digest_2946 &&
+              ((JSCompiler_object_inline_stack_2947 = getBumpedLaneForHydration(
+                JSCompiler_object_inline_digest_2946,
                 renderLanes
               )),
-              0 !== JSCompiler_object_inline_stack_2945 &&
-                JSCompiler_object_inline_stack_2945 !== prevState.retryLane)
+              0 !== JSCompiler_object_inline_stack_2947 &&
+                JSCompiler_object_inline_stack_2947 !== prevState.retryLane)
             )
               throw (
-                ((prevState.retryLane = JSCompiler_object_inline_stack_2945),
+                ((prevState.retryLane = JSCompiler_object_inline_stack_2947),
                 enqueueConcurrentRenderForLane(
                   current,
-                  JSCompiler_object_inline_stack_2945
+                  JSCompiler_object_inline_stack_2947
                 ),
                 scheduleUpdateOnFiber(
-                  JSCompiler_object_inline_digest_2944,
+                  JSCompiler_object_inline_digest_2946,
                   current,
-                  JSCompiler_object_inline_stack_2945
+                  JSCompiler_object_inline_stack_2947
                 ),
                 SelectiveHydrationException)
               );
             isSuspenseInstancePending(
-              JSCompiler_object_inline_componentStack_2946
+              JSCompiler_object_inline_componentStack_2948
             ) || renderDidSuspendDelayIfPossible();
             workInProgress = retrySuspenseComponentWithoutHydrating(
               current,
               workInProgress,
               renderLanes
             );
           } else
             isSuspenseInstancePending(
-              JSCompiler_object_inline_componentStack_2946
+              JSCompiler_object_inline_componentStack_2948
             )
               ? ((workInProgress.flags |= 192),
                 (workInProgress.child = current.child),
                 (workInProgress = null))
               : ((current = prevState.treeContext),
                 (nextHydratableInstance = getNextHydratable(
-                  JSCompiler_object_inline_componentStack_2946.nextSibling
+                  JSCompiler_object_inline_componentStack_2948.nextSibling
                 )),
                 (hydrationParentFiber = workInProgress),
                 (isHydrating = !0),
                 (hydrationErrors = null),
@@ -11424,34 +11424,34 @@
                 null !== current &&
                   restoreSuspendedTreeContext(workInProgress, current),
                 (workInProgress = mountSuspensePrimaryChildren(
                   workInProgress,
-                  JSCompiler_object_inline_stack_2945.children
+                  JSCompiler_object_inline_stack_2947.children
                 )),
                 (workInProgress.flags |= 4096));
           return workInProgress;
         }
       }
-      if (JSCompiler_object_inline_message_2943)
+      if (JSCompiler_object_inline_message_2945)
         return (
           reuseSuspenseHandlerOnStack(workInProgress),
-          (nextPrimaryChildren = JSCompiler_object_inline_stack_2945.fallback),
+          (nextPrimaryChildren = JSCompiler_object_inline_stack_2947.fallback),
           (mode = workInProgress.mode),
           (componentStack = current.child),
-          (JSCompiler_object_inline_componentStack_2946 =
+          (JSCompiler_object_inline_componentStack_2948 =
             componentStack.sibling),
-          (JSCompiler_object_inline_stack_2945 = createWorkInProgress(
+          (JSCompiler_object_inline_stack_2947 = createWorkInProgress(
             componentStack,
             {
               mode: "hidden",
-              children: JSCompiler_object_inline_stack_2945.children
+              children: JSCompiler_object_inline_stack_2947.children
             }
           )),
-          (JSCompiler_object_inline_stack_2945.subtreeFlags =
+          (JSCompiler_object_inline_stack_2947.subtreeFlags =
             componentStack.subtreeFlags & 132120576),
-          null !== JSCompiler_object_inline_componentStack_2946
+          null !== JSCompiler_object_inline_componentStack_2948
             ? (nextPrimaryChildren = createWorkInProgress(
-                JSCompiler_object_inline_componentStack_2946,
+                JSCompiler_object_inline_componentStack_2948,
                 nextPrimaryChildren
               ))
             : ((nextPrimaryChildren = createFiberFromFragment(
                 nextPrimaryChildren,
@@ -11460,13 +11460,13 @@
                 null
               )),
               (nextPrimaryChildren.flags |= 2)),
           (nextPrimaryChildren.return = workInProgress),
-          (JSCompiler_object_inline_stack_2945.return = workInProgress),
-          (JSCompiler_object_inline_stack_2945.sibling = nextPrimaryChildren),
-          (workInProgress.child = JSCompiler_object_inline_stack_2945),
-          bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2945),
-          (JSCompiler_object_inline_stack_2945 = workInProgress.child),
+          (JSCompiler_object_inline_stack_2947.return = workInProgress),
+          (JSCompiler_object_inline_stack_2947.sibling = nextPrimaryChildren),
+          (workInProgress.child = JSCompiler_object_inline_stack_2947),
+          bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2947),
+          (JSCompiler_object_inline_stack_2947 = workInProgress.child),
           (nextPrimaryChildren = current.child.memoizedState),
           null === nextPrimaryChildren
             ? (nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes))
             : ((mode = nextPrimaryChildren.cachePool),
@@ -11480,20 +11480,20 @@
               (nextPrimaryChildren = {
                 baseLanes: nextPrimaryChildren.baseLanes | renderLanes,
                 cachePool: mode
               })),
-          (JSCompiler_object_inline_stack_2945.memoizedState =
+          (JSCompiler_object_inline_stack_2947.memoizedState =
             nextPrimaryChildren),
-          (JSCompiler_object_inline_stack_2945.childLanes =
+          (JSCompiler_object_inline_stack_2947.childLanes =
             getRemainingWorkInPrimaryTree(
               current,
-              JSCompiler_object_inline_digest_2944,
+              JSCompiler_object_inline_digest_2946,
               renderLanes
             )),
           (workInProgress.memoizedState = SUSPENDED_MARKER),
           bailoutOffscreenComponent(
             current.child,
-            JSCompiler_object_inline_stack_2945
+            JSCompiler_object_inline_stack_2947
           )
         );
       null !== prevState &&
         (renderLanes & 62914560) === renderLanes &&
@@ -11503,18 +11503,18 @@
       renderLanes = current.child;
       current = renderLanes.sibling;
       renderLanes = createWorkInProgress(renderLanes, {
         mode: "visible",
-        children: JSCompiler_object_inline_stack_2945.children
+        children: JSCompiler_object_inline_stack_2947.children
       });
       renderLanes.return = workInProgress;
       renderLanes.sibling = null;
       null !== current &&
-        ((JSCompiler_object_inline_digest_2944 = workInProgress.deletions),
-        null === JSCompiler_object_inline_digest_2944
+        ((JSCompiler_object_inline_digest_2946 = workInProgress.deletions),
+        null === JSCompiler_object_inline_digest_2946
           ? ((workInProgress.deletions = [current]),
             (workInProgress.flags |= 16))
-          : JSCompiler_object_inline_digest_2944.push(current));
+          : JSCompiler_object_inline_digest_2946.push(current));
       workInProgress.child = renderLanes;
       workInProgress.memoizedState = null;
       return renderLanes;
     }
@@ -14648,9 +14648,11 @@
             (null === viewTransitionCancelableChildren &&
               (viewTransitionCancelableChildren = []),
             viewTransitionCancelableChildren.push(
               instance,
-              oldName,
+              0 === viewTransitionHostInstanceIdx
+                ? oldName
+                : oldName + "_" + viewTransitionHostInstanceIdx,
               child.memoizedProps
             ));
           viewTransitionHostInstanceIdx++;
         } else if (22 !== child.tag || null === child.memoizedState)
@@ -19054,8 +19056,16 @@
           );
           break;
         case 5:
           resetHooksOnUnwind(unitOfWork);
+          var fiber = unitOfWork;
+          fiber === hydrationParentFiber &&
+            (isHydrating
+              ? (popToNextHostParent(fiber),
+                5 === fiber.tag &&
+                  null != fiber.stateNode &&
+                  (nextHydratableInstance = fiber.stateNode))
+              : (popToNextHostParent(fiber), (isHydrating = !0)));
         default:
           unwindInterruptedWork(current, unitOfWork),
             (unitOfWork = workInProgress =
               resetWorkInProgress(unitOfWork, entangledRenderLanes)),
@@ -30453,13 +30463,13 @@
       }
     };
     (function () {
       var isomorphicReactPackageVersion = React.version;
-      if ("19.3.0-canary-65eec428-20251218" !== isomorphicReactPackageVersion)
+      if ("19.3.0-canary-4a3d993e-20260114" !== isomorphicReactPackageVersion)
         throw Error(
           'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n  - react:      ' +
             (isomorphicReactPackageVersion +
-              "\n  - react-dom:  19.3.0-canary-65eec428-20251218\nLearn more: https://react.dev/warnings/version-mismatch")
+              "\n  - react-dom:  19.3.0-canary-4a3d993e-20260114\nLearn more: https://react.dev/warnings/version-mismatch")
         );
     })();
     ("function" === typeof Map &&
       null != Map.prototype &&
@@ -30494,12 +30504,12 @@
     if (
       !(function () {
         var internals = {
           bundleType: 1,
-          version: "19.3.0-canary-65eec428-20251218",
+          version: "19.3.0-canary-4a3d993e-20260114",
           rendererPackageName: "react-dom",
           currentDispatcherRef: ReactSharedInternals,
-          reconcilerVersion: "19.3.0-canary-65eec428-20251218"
+          reconcilerVersion: "19.3.0-canary-4a3d993e-20260114"
         };
         internals.overrideHookState = overrideHookState;
         internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
         internals.overrideHookStateRenamePath = overrideHookStateRenamePath;
@@ -30965,9 +30975,9 @@
     };
     exports.useFormStatus = function () {
       return resolveDispatcher().useHostTransitionStatus();
     };
-    exports.version = "19.3.0-canary-65eec428-20251218";
+    exports.version = "19.3.0-canary-4a3d993e-20260114";
     "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
       "function" ===
         typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
       __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());