@@ -8724,9 +8724,9 @@ function beginWork(current, workInProgress, renderLanes) {
8724
8724
case 30:
8725
8725
return (
8726
8726
(lazyComponent = workInProgress.pendingProps),
8727
- null != lazyComponent.name &&
8728
- "auto" !== lazyComponent.name &&
8729
- (workInProgress.flags |= null === current ? 18882560 : 18874368 ),
8727
+ null != lazyComponent.name && "auto" !== lazyComponent.name
8728
+ ? (workInProgress.flags |= null === current ? 18882560 : 18874368)
8729
+ : isHydrating && pushMaterializedTreeId(workInProgress ),
8730
8730
null !== current && current.memoizedProps.name !== lazyComponent.name
8731
8731
? (workInProgress.flags |= 4194816)
8732
8732
: markRef(current, workInProgress),
@@ -10449,6 +10449,7 @@ var offscreenSubtreeIsHidden = !1,
10449
10449
inProgressLanes = null,
10450
10450
inProgressRoot = null,
10451
10451
viewTransitionContextChanged$1 = !1,
10452
+ inUpdateViewTransition = !1,
10452
10453
rootViewTransitionAffected = !1;
10453
10454
function isHydratingParent(current, finishedWork) {
10454
10455
return 31 === finishedWork.tag
@@ -11358,13 +11359,13 @@ function commitMutationEffectsOnFiber(finishedWork, root, lanes) {
11358
11359
safelyDetachRef(current, current.return));
11359
11360
flags & 64 &&
11360
11361
offscreenSubtreeIsHidden &&
11361
- ((flags = finishedWork.updateQueue),
11362
- null !== flags &&
11363
- ((current = flags .callbacks),
11364
- null !== current &&
11365
- ((root = flags .shared.hiddenCallbacks),
11366
- (flags .shared.hiddenCallbacks =
11367
- null === root ? current : root.concat(current )))));
11362
+ ((current = finishedWork.updateQueue),
11363
+ null !== current &&
11364
+ ((flags = current .callbacks),
11365
+ null !== flags &&
11366
+ ((root = current .shared.hiddenCallbacks),
11367
+ (current .shared.hiddenCallbacks =
11368
+ null === root ? flags : root.concat(flags )))));
11368
11369
break;
11369
11370
case 26:
11370
11371
var hoistableRoot = currentHoistableRoot;
@@ -11383,10 +11384,10 @@ function commitMutationEffectsOnFiber(finishedWork, root, lanes) {
11383
11384
if (null === flags)
11384
11385
if (null === finishedWork.stateNode) {
11385
11386
a: {
11386
- flags = finishedWork.type;
11387
- current = finishedWork.memoizedProps;
11387
+ current = finishedWork.type;
11388
+ flags = finishedWork.memoizedProps;
11388
11389
root = hoistableRoot.ownerDocument || hoistableRoot;
11389
- b: switch (flags ) {
11390
+ b: switch (current ) {
11390
11391
case "title":
11391
11392
lanes = root.getElementsByTagName("title")[0];
11392
11393
if (
@@ -11396,45 +11397,45 @@ function commitMutationEffectsOnFiber(finishedWork, root, lanes) {
11396
11397
"http://www.w3.org/2000/svg" === lanes.namespaceURI ||
11397
11398
lanes.hasAttribute("itemprop")
11398
11399
)
11399
- (lanes = root.createElement(flags )),
11400
+ (lanes = root.createElement(current )),
11400
11401
root.head.insertBefore(
11401
11402
lanes,
11402
11403
root.querySelector("head > title")
11403
11404
);
11404
- setInitialProperties(lanes, flags, current );
11405
+ setInitialProperties(lanes, current, flags );
11405
11406
lanes[internalInstanceKey] = finishedWork;
11406
11407
markNodeAsHoistable(lanes);
11407
- flags = lanes;
11408
+ current = lanes;
11408
11409
break a;
11409
11410
case "link":
11410
11411
if (
11411
11412
(hoistableRoot = getHydratableHoistableCache(
11412
11413
"link",
11413
11414
"href",
11414
11415
root
11415
- ).get(flags + (current .href || "")))
11416
+ ).get(current + (flags .href || "")))
11416
11417
)
11417
11418
for (var i = 0; i < hoistableRoot.length; i++)
11418
11419
if (
11419
11420
((lanes = hoistableRoot[i]),
11420
11421
lanes.getAttribute("href") ===
11421
- (null == current .href || "" === current .href
11422
+ (null == flags .href || "" === flags .href
11422
11423
? null
11423
- : current .href) &&
11424
+ : flags .href) &&
11424
11425
lanes.getAttribute("rel") ===
11425
- (null == current .rel ? null : current .rel) &&
11426
+ (null == flags .rel ? null : flags .rel) &&
11426
11427
lanes.getAttribute("title") ===
11427
- (null == current .title ? null : current .title) &&
11428
+ (null == flags .title ? null : flags .title) &&
11428
11429
lanes.getAttribute("crossorigin") ===
11429
- (null == current .crossOrigin
11430
+ (null == flags .crossOrigin
11430
11431
? null
11431
- : current .crossOrigin))
11432
+ : flags .crossOrigin))
11432
11433
) {
11433
11434
hoistableRoot.splice(i, 1);
11434
11435
break b;
11435
11436
}
11436
- lanes = root.createElement(flags );
11437
- setInitialProperties(lanes, flags, current );
11437
+ lanes = root.createElement(current );
11438
+ setInitialProperties(lanes, current, flags );
11438
11439
root.head.appendChild(lanes);
11439
11440
break;
11440
11441
case "meta":
@@ -11443,45 +11444,43 @@ function commitMutationEffectsOnFiber(finishedWork, root, lanes) {
11443
11444
"meta",
11444
11445
"content",
11445
11446
root
11446
- ).get(flags + (current .content || "")))
11447
+ ).get(current + (flags .content || "")))
11447
11448
)
11448
11449
for (i = 0; i < hoistableRoot.length; i++)
11449
11450
if (
11450
11451
((lanes = hoistableRoot[i]),
11451
11452
lanes.getAttribute("content") ===
11452
- (null == current .content
11453
+ (null == flags .content
11453
11454
? null
11454
- : "" + current .content) &&
11455
+ : "" + flags .content) &&
11455
11456
lanes.getAttribute("name") ===
11456
- (null == current .name ? null : current .name) &&
11457
+ (null == flags .name ? null : flags .name) &&
11457
11458
lanes.getAttribute("property") ===
11458
- (null == current .property
11459
+ (null == flags .property
11459
11460
? null
11460
- : current .property) &&
11461
+ : flags .property) &&
11461
11462
lanes.getAttribute("http-equiv") ===
11462
- (null == current .httpEquiv
11463
+ (null == flags .httpEquiv
11463
11464
? null
11464
- : current .httpEquiv) &&
11465
+ : flags .httpEquiv) &&
11465
11466
lanes.getAttribute("charset") ===
11466
- (null == current.charSet
11467
- ? null
11468
- : current.charSet))
11467
+ (null == flags.charSet ? null : flags.charSet))
11469
11468
) {
11470
11469
hoistableRoot.splice(i, 1);
11471
11470
break b;
11472
11471
}
11473
- lanes = root.createElement(flags );
11474
- setInitialProperties(lanes, flags, current );
11472
+ lanes = root.createElement(current );
11473
+ setInitialProperties(lanes, current, flags );
11475
11474
root.head.appendChild(lanes);
11476
11475
break;
11477
11476
default:
11478
- throw Error(formatProdErrorMessage(468, flags ));
11477
+ throw Error(formatProdErrorMessage(468, current ));
11479
11478
}
11480
11479
lanes[internalInstanceKey] = finishedWork;
11481
11480
markNodeAsHoistable(lanes);
11482
- flags = lanes;
11481
+ current = lanes;
11483
11482
}
11484
- finishedWork.stateNode = flags ;
11483
+ finishedWork.stateNode = current ;
11485
11484
} else
11486
11485
mountHoistable(
11487
11486
hoistableRoot,
@@ -11566,10 +11565,10 @@ function commitMutationEffectsOnFiber(finishedWork, root, lanes) {
11566
11565
if (flags & 4) {
11567
11566
if (null === finishedWork.stateNode)
11568
11567
throw Error(formatProdErrorMessage(162));
11569
- flags = finishedWork.memoizedProps;
11570
- current = finishedWork.stateNode;
11568
+ current = finishedWork.memoizedProps;
11569
+ flags = finishedWork.stateNode;
11571
11570
try {
11572
- (current .nodeValue = flags ), (viewTransitionMutationContext = !0);
11571
+ (flags .nodeValue = current ), (viewTransitionMutationContext = !0);
11573
11572
} catch (error) {
11574
11573
captureCommitPhaseError(finishedWork, finishedWork.return, error);
11575
11574
}
@@ -11600,32 +11599,34 @@ function commitMutationEffectsOnFiber(finishedWork, root, lanes) {
11600
11599
(needsIsomorphicIndicator = !1));
11601
11600
break;
11602
11601
case 4:
11603
- flags = pushMutationContext();
11604
- current = currentHoistableRoot;
11602
+ current = pushMutationContext();
11603
+ flags = currentHoistableRoot;
11605
11604
currentHoistableRoot = getHoistableRoot(
11606
11605
finishedWork.stateNode.containerInfo
11607
11606
);
11608
11607
recursivelyTraverseMutationEffects(root, finishedWork, lanes);
11609
11608
commitReconciliationEffects(finishedWork);
11610
- currentHoistableRoot = current;
11611
- viewTransitionMutationContext && (rootViewTransitionAffected = !0);
11612
- popMutationContext(flags);
11609
+ currentHoistableRoot = flags;
11610
+ viewTransitionMutationContext &&
11611
+ inUpdateViewTransition &&
11612
+ (rootViewTransitionAffected = !0);
11613
+ popMutationContext(current);
11613
11614
break;
11614
11615
case 12:
11615
- flags = pushNestedEffectDurations();
11616
+ current = pushNestedEffectDurations();
11616
11617
recursivelyTraverseMutationEffects(root, finishedWork, lanes);
11617
11618
commitReconciliationEffects(finishedWork);
11618
11619
finishedWork.stateNode.effectDuration +=
11619
- bubbleNestedEffectDurations(flags );
11620
+ bubbleNestedEffectDurations(current );
11620
11621
break;
11621
11622
case 31:
11622
11623
recursivelyTraverseMutationEffects(root, finishedWork, lanes);
11623
11624
commitReconciliationEffects(finishedWork);
11624
11625
flags & 4 &&
11625
- ((flags = finishedWork.updateQueue),
11626
- null !== flags &&
11626
+ ((current = finishedWork.updateQueue),
11627
+ null !== current &&
11627
11628
((finishedWork.updateQueue = null),
11628
- attachSuspenseRetryListeners(finishedWork, flags )));
11629
+ attachSuspenseRetryListeners(finishedWork, current )));
11629
11630
break;
11630
11631
case 13:
11631
11632
recursivelyTraverseMutationEffects(root, finishedWork, lanes);
@@ -11635,10 +11636,10 @@ function commitMutationEffectsOnFiber(finishedWork, root, lanes) {
11635
11636
(null !== current && null !== current.memoizedState) &&
11636
11637
(globalMostRecentFallbackTime = now$1());
11637
11638
flags & 4 &&
11638
- ((flags = finishedWork.updateQueue),
11639
- null !== flags &&
11639
+ ((current = finishedWork.updateQueue),
11640
+ null !== current &&
11640
11641
((finishedWork.updateQueue = null),
11641
- attachSuspenseRetryListeners(finishedWork, flags )));
11642
+ attachSuspenseRetryListeners(finishedWork, current )));
11642
11643
break;
11643
11644
case 22:
11644
11645
hoistableRoot = null !== finishedWork.memoizedState;
@@ -11750,34 +11751,40 @@ function commitMutationEffectsOnFiber(finishedWork, root, lanes) {
11750
11751
root = root.sibling;
11751
11752
}
11752
11753
flags & 4 &&
11753
- ((flags = finishedWork.updateQueue),
11754
- null !== flags &&
11755
- ((current = flags .retryQueue),
11756
- null !== current &&
11757
- ((flags .retryQueue = null),
11758
- attachSuspenseRetryListeners(finishedWork, current ))));
11754
+ ((current = finishedWork.updateQueue),
11755
+ null !== current &&
11756
+ ((flags = current .retryQueue),
11757
+ null !== flags &&
11758
+ ((current .retryQueue = null),
11759
+ attachSuspenseRetryListeners(finishedWork, flags ))));
11759
11760
break;
11760
11761
case 19:
11761
11762
recursivelyTraverseMutationEffects(root, finishedWork, lanes);
11762
11763
commitReconciliationEffects(finishedWork);
11763
11764
flags & 4 &&
11764
- ((flags = finishedWork.updateQueue),
11765
- null !== flags &&
11765
+ ((current = finishedWork.updateQueue),
11766
+ null !== current &&
11766
11767
((finishedWork.updateQueue = null),
11767
- attachSuspenseRetryListeners(finishedWork, flags )));
11768
+ attachSuspenseRetryListeners(finishedWork, current )));
11768
11769
break;
11769
11770
case 30:
11770
11771
flags & 512 &&
11771
11772
(offscreenSubtreeWasHidden ||
11772
11773
null === current ||
11773
11774
safelyDetachRef(current, current.return));
11774
11775
flags = pushMutationContext();
11776
+ hoistableRoot = inUpdateViewTransition;
11777
+ i = (lanes & 335544064) === lanes;
11778
+ style = finishedWork.memoizedProps;
11779
+ inUpdateViewTransition =
11780
+ i && "none" !== getViewTransitionClassName(style.default, style.update);
11775
11781
recursivelyTraverseMutationEffects(root, finishedWork, lanes);
11776
11782
commitReconciliationEffects(finishedWork);
11777
- (lanes & 335544064) === lanes &&
11783
+ i &&
11778
11784
null !== current &&
11779
11785
viewTransitionMutationContext &&
11780
11786
(finishedWork.flags |= 4);
11787
+ inUpdateViewTransition = hoistableRoot;
11781
11788
popMutationContext(flags);
11782
11789
break;
11783
11790
case 21:
@@ -14945,7 +14952,7 @@ function flushMutationEffects() {
14945
14952
try {
14946
14953
inProgressLanes = lanes;
14947
14954
inProgressRoot = root;
14948
- rootViewTransitionAffected = !1;
14955
+ inUpdateViewTransition = rootViewTransitionAffected = !1;
14949
14956
resetComponentEffectTimers();
14950
14957
commitMutationEffectsOnFiber(finishedWork, root, lanes);
14951
14958
inProgressRoot = inProgressLanes = null;
@@ -20795,14 +20802,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
20795
20802
};
20796
20803
var isomorphicReactPackageVersion$jscomp$inline_2400 = React.version;
20797
20804
if (
20798
- "19.2.0-experimental-d85f86cf-20250514 " !==
20805
+ "19.2.0-experimental-4a45ba92-20250515 " !==
20799
20806
isomorphicReactPackageVersion$jscomp$inline_2400
20800
20807
)
20801
20808
throw Error(
20802
20809
formatProdErrorMessage(
20803
20810
527,
20804
20811
isomorphicReactPackageVersion$jscomp$inline_2400,
20805
- "19.2.0-experimental-d85f86cf-20250514 "
20812
+ "19.2.0-experimental-4a45ba92-20250515 "
20806
20813
)
20807
20814
);
20808
20815
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -20824,10 +20831,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
20824
20831
};
20825
20832
var internals$jscomp$inline_3062 = {
20826
20833
bundleType: 0,
20827
- version: "19.2.0-experimental-d85f86cf-20250514 ",
20834
+ version: "19.2.0-experimental-4a45ba92-20250515 ",
20828
20835
rendererPackageName: "react-dom",
20829
20836
currentDispatcherRef: ReactSharedInternals,
20830
- reconcilerVersion: "19.2.0-experimental-d85f86cf-20250514 "
20837
+ reconcilerVersion: "19.2.0-experimental-4a45ba92-20250515 "
20831
20838
};
20832
20839
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
20833
20840
var hook$jscomp$inline_3063 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -21094,7 +21101,7 @@ exports.useFormState = function (action, initialState, permalink) {
21094
21101
exports.useFormStatus = function () {
21095
21102
return ReactSharedInternals.H.useHostTransitionStatus();
21096
21103
};
21097
- exports.version = "19.2.0-experimental-d85f86cf-20250514 ";
21104
+ exports.version = "19.2.0-experimental-4a45ba92-20250515 ";
21098
21105
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
21099
21106
"function" ===
21100
21107
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
0 commit comments