@@ -12611,20 +12611,38 @@ __DEV__ &&
1261112611 }
1261212612 shouldTimeSlice.finishedWork = forceSync;
1261312613 shouldTimeSlice.finishedLanes = lanes;
12614- if (null !== ReactSharedInternals.actQueue)
12615- commitRoot(
12616- shouldTimeSlice,
12617- workInProgressRootRecoverableErrors,
12618- workInProgressTransitions,
12619- workInProgressRootDidIncludeRecursiveRenderUpdate,
12620- workInProgressDeferredLane,
12621- workInProgressRootInterleavedUpdatedLanes,
12622- workInProgressSuspendedRetryLanes,
12623- IMMEDIATE_COMMIT,
12624- -0,
12625- 0
12626- );
12627- else {
12614+ if (null !== ReactSharedInternals.actQueue) {
12615+ lanes = shouldTimeSlice;
12616+ forceSync = workInProgressRootRecoverableErrors;
12617+ shouldTimeSlice = workInProgressTransitions;
12618+ exitStatus = workInProgressRootDidIncludeRecursiveRenderUpdate;
12619+ renderWasConcurrent = workInProgressDeferredLane;
12620+ lanesThatJustErrored = workInProgressRootInterleavedUpdatedLanes;
12621+ originallyAttemptedLanes = workInProgressSuspendedRetryLanes;
12622+ var suspendedCommitReason = IMMEDIATE_COMMIT,
12623+ prevTransition = ReactSharedInternals.T,
12624+ previousUpdateLanePriority = currentUpdatePriority;
12625+ try {
12626+ (currentUpdatePriority = DiscreteEventPriority),
12627+ (ReactSharedInternals.T = null),
12628+ commitRootImpl(
12629+ lanes,
12630+ forceSync,
12631+ shouldTimeSlice,
12632+ exitStatus,
12633+ previousUpdateLanePriority,
12634+ renderWasConcurrent,
12635+ lanesThatJustErrored,
12636+ originallyAttemptedLanes,
12637+ suspendedCommitReason,
12638+ -0,
12639+ 0
12640+ );
12641+ } finally {
12642+ (ReactSharedInternals.T = prevTransition),
12643+ (currentUpdatePriority = previousUpdateLanePriority);
12644+ }
12645+ } else {
1262812646 if (
1262912647 (lanes & 62914560) === lanes &&
1263012648 (alwaysThrottleRetries || exitStatus === RootSuspended) &&
@@ -12710,18 +12728,28 @@ __DEV__ &&
1271012728 lanes = finishedWork.subtreeFlags;
1271112729 (lanes & 8192 || 16785408 === (lanes & 16785408)) &&
1271212730 accumulateSuspenseyCommitOnFiber(finishedWork);
12713- commitRoot(
12714- root,
12715- recoverableErrors,
12716- transitions,
12717- didIncludeRenderPhaseUpdate,
12718- spawnedLane,
12719- updatedLanes,
12720- suspendedRetryLanes,
12721- suspendedCommitReason,
12722- completedRenderStartTime,
12723- completedRenderEndTime
12724- );
12731+ finishedWork = ReactSharedInternals.T;
12732+ lanes = currentUpdatePriority;
12733+ try {
12734+ (currentUpdatePriority = DiscreteEventPriority),
12735+ (ReactSharedInternals.T = null),
12736+ commitRootImpl(
12737+ root,
12738+ recoverableErrors,
12739+ transitions,
12740+ didIncludeRenderPhaseUpdate,
12741+ lanes,
12742+ spawnedLane,
12743+ updatedLanes,
12744+ suspendedRetryLanes,
12745+ suspendedCommitReason,
12746+ completedRenderStartTime,
12747+ completedRenderEndTime
12748+ );
12749+ } finally {
12750+ (ReactSharedInternals.T = finishedWork),
12751+ (currentUpdatePriority = lanes);
12752+ }
1272512753 }
1272612754 function isRenderConsistentWithExternalStores(finishedWork) {
1272712755 for (var node = finishedWork; ; ) {
@@ -13448,42 +13476,6 @@ __DEV__ &&
1344813476 workInProgressRootExitStatus = RootDidNotComplete;
1344913477 workInProgress = null;
1345013478 }
13451- function commitRoot(
13452- root,
13453- recoverableErrors,
13454- transitions,
13455- didIncludeRenderPhaseUpdate,
13456- spawnedLane,
13457- updatedLanes,
13458- suspendedRetryLanes,
13459- suspendedCommitReason,
13460- completedRenderStartTime,
13461- completedRenderEndTime
13462- ) {
13463- var prevTransition = ReactSharedInternals.T,
13464- previousUpdateLanePriority = currentUpdatePriority;
13465- try {
13466- (currentUpdatePriority = DiscreteEventPriority),
13467- (ReactSharedInternals.T = null),
13468- commitRootImpl(
13469- root,
13470- recoverableErrors,
13471- transitions,
13472- didIncludeRenderPhaseUpdate,
13473- previousUpdateLanePriority,
13474- spawnedLane,
13475- updatedLanes,
13476- suspendedRetryLanes,
13477- suspendedCommitReason,
13478- completedRenderStartTime,
13479- completedRenderEndTime
13480- );
13481- } finally {
13482- (ReactSharedInternals.T = prevTransition),
13483- (currentUpdatePriority = previousUpdateLanePriority);
13484- }
13485- return null;
13486- }
1348713479 function commitRootImpl(
1348813480 root,
1348913481 recoverableErrors,
@@ -17040,11 +17032,11 @@ __DEV__ &&
1704017032 (function () {
1704117033 var internals = {
1704217034 bundleType: 1,
17043- version: "19.0.0-www-classic-0f1856c4-20240925 ",
17035+ version: "19.0.0-www-classic-778e1ed2-20240926 ",
1704417036 rendererPackageName: "react-art",
1704517037 currentDispatcherRef: ReactSharedInternals,
1704617038 findFiberByHostInstance: getInstanceFromNode,
17047- reconcilerVersion: "19.0.0-www-classic-0f1856c4-20240925 "
17039+ reconcilerVersion: "19.0.0-www-classic-778e1ed2-20240926 "
1704817040 };
1704917041 internals.overrideHookState = overrideHookState;
1705017042 internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -17078,7 +17070,7 @@ __DEV__ &&
1707817070 exports.Shape = Shape;
1707917071 exports.Surface = Surface;
1708017072 exports.Text = Text;
17081- exports.version = "19.0.0-www-classic-0f1856c4-20240925 ";
17073+ exports.version = "19.0.0-www-classic-778e1ed2-20240926 ";
1708217074 "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1708317075 "function" ===
1708417076 typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
0 commit comments