Skip to content

Commit a76f046

Browse files
committed
[react-dom] Enforce small gap between completed navigation and default Transition indicator (facebook#33354)
DiffTrain build for [5717f19](facebook@5717f19)
1 parent 1dc9383 commit a76f046

34 files changed

+96
-96
lines changed

compiled/facebook-www/REVISION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
283f87f083f285c060582e1096cebed794d4b748
1+
5717f1933f2e8b10406fde1043c3047cbfbddc82
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
283f87f083f285c060582e1096cebed794d4b748
1+
5717f1933f2e8b10406fde1043c3047cbfbddc82

compiled/facebook-www/React-dev.classic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1537,7 +1537,7 @@ __DEV__ &&
15371537
exports.useTransition = function () {
15381538
return resolveDispatcher().useTransition();
15391539
};
1540-
exports.version = "19.2.0-www-classic-283f87f0-20250527";
1540+
exports.version = "19.2.0-www-classic-5717f193-20250528";
15411541
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
15421542
"function" ===
15431543
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/React-dev.modern.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1537,7 +1537,7 @@ __DEV__ &&
15371537
exports.useTransition = function () {
15381538
return resolveDispatcher().useTransition();
15391539
};
1540-
exports.version = "19.2.0-www-modern-283f87f0-20250527";
1540+
exports.version = "19.2.0-www-modern-5717f193-20250528";
15411541
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
15421542
"function" ===
15431543
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/React-prod.classic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,4 +635,4 @@ exports.useSyncExternalStore = function (
635635
exports.useTransition = function () {
636636
return ReactSharedInternals.H.useTransition();
637637
};
638-
exports.version = "19.2.0-www-classic-283f87f0-20250527";
638+
exports.version = "19.2.0-www-classic-5717f193-20250528";

compiled/facebook-www/React-prod.modern.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,4 +635,4 @@ exports.useSyncExternalStore = function (
635635
exports.useTransition = function () {
636636
return ReactSharedInternals.H.useTransition();
637637
};
638-
exports.version = "19.2.0-www-modern-283f87f0-20250527";
638+
exports.version = "19.2.0-www-modern-5717f193-20250528";

compiled/facebook-www/React-profiling.classic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ exports.useSyncExternalStore = function (
639639
exports.useTransition = function () {
640640
return ReactSharedInternals.H.useTransition();
641641
};
642-
exports.version = "19.2.0-www-classic-283f87f0-20250527";
642+
exports.version = "19.2.0-www-classic-5717f193-20250528";
643643
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
644644
"function" ===
645645
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/React-profiling.modern.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ exports.useSyncExternalStore = function (
639639
exports.useTransition = function () {
640640
return ReactSharedInternals.H.useTransition();
641641
};
642-
exports.version = "19.2.0-www-modern-283f87f0-20250527";
642+
exports.version = "19.2.0-www-modern-5717f193-20250528";
643643
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
644644
"function" ===
645645
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/ReactART-dev.classic.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19080,10 +19080,10 @@ __DEV__ &&
1908019080
(function () {
1908119081
var internals = {
1908219082
bundleType: 1,
19083-
version: "19.2.0-www-classic-283f87f0-20250527",
19083+
version: "19.2.0-www-classic-5717f193-20250528",
1908419084
rendererPackageName: "react-art",
1908519085
currentDispatcherRef: ReactSharedInternals,
19086-
reconcilerVersion: "19.2.0-www-classic-283f87f0-20250527"
19086+
reconcilerVersion: "19.2.0-www-classic-5717f193-20250528"
1908719087
};
1908819088
internals.overrideHookState = overrideHookState;
1908919089
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -19117,7 +19117,7 @@ __DEV__ &&
1911719117
exports.Shape = Shape;
1911819118
exports.Surface = Surface;
1911919119
exports.Text = Text;
19120-
exports.version = "19.2.0-www-classic-283f87f0-20250527";
19120+
exports.version = "19.2.0-www-classic-5717f193-20250528";
1912119121
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1912219122
"function" ===
1912319123
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/ReactART-dev.modern.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18852,10 +18852,10 @@ __DEV__ &&
1885218852
(function () {
1885318853
var internals = {
1885418854
bundleType: 1,
18855-
version: "19.2.0-www-modern-283f87f0-20250527",
18855+
version: "19.2.0-www-modern-5717f193-20250528",
1885618856
rendererPackageName: "react-art",
1885718857
currentDispatcherRef: ReactSharedInternals,
18858-
reconcilerVersion: "19.2.0-www-modern-283f87f0-20250527"
18858+
reconcilerVersion: "19.2.0-www-modern-5717f193-20250528"
1885918859
};
1886018860
internals.overrideHookState = overrideHookState;
1886118861
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -18889,7 +18889,7 @@ __DEV__ &&
1888918889
exports.Shape = Shape;
1889018890
exports.Surface = Surface;
1889118891
exports.Text = Text;
18892-
exports.version = "19.2.0-www-modern-283f87f0-20250527";
18892+
exports.version = "19.2.0-www-modern-5717f193-20250528";
1889318893
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1889418894
"function" ===
1889518895
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/ReactART-prod.classic.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11392,10 +11392,10 @@ var slice = Array.prototype.slice,
1139211392
})(React.Component);
1139311393
var internals$jscomp$inline_1624 = {
1139411394
bundleType: 0,
11395-
version: "19.2.0-www-classic-283f87f0-20250527",
11395+
version: "19.2.0-www-classic-5717f193-20250528",
1139611396
rendererPackageName: "react-art",
1139711397
currentDispatcherRef: ReactSharedInternals,
11398-
reconcilerVersion: "19.2.0-www-classic-283f87f0-20250527"
11398+
reconcilerVersion: "19.2.0-www-classic-5717f193-20250528"
1139911399
};
1140011400
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1140111401
var hook$jscomp$inline_1625 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -11421,4 +11421,4 @@ exports.RadialGradient = RadialGradient;
1142111421
exports.Shape = TYPES.SHAPE;
1142211422
exports.Surface = Surface;
1142311423
exports.Text = Text;
11424-
exports.version = "19.2.0-www-classic-283f87f0-20250527";
11424+
exports.version = "19.2.0-www-classic-5717f193-20250528";

compiled/facebook-www/ReactART-prod.modern.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11104,10 +11104,10 @@ var slice = Array.prototype.slice,
1110411104
})(React.Component);
1110511105
var internals$jscomp$inline_1597 = {
1110611106
bundleType: 0,
11107-
version: "19.2.0-www-modern-283f87f0-20250527",
11107+
version: "19.2.0-www-modern-5717f193-20250528",
1110811108
rendererPackageName: "react-art",
1110911109
currentDispatcherRef: ReactSharedInternals,
11110-
reconcilerVersion: "19.2.0-www-modern-283f87f0-20250527"
11110+
reconcilerVersion: "19.2.0-www-modern-5717f193-20250528"
1111111111
};
1111211112
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1111311113
var hook$jscomp$inline_1598 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -11133,4 +11133,4 @@ exports.RadialGradient = RadialGradient;
1113311133
exports.Shape = TYPES.SHAPE;
1113411134
exports.Surface = Surface;
1113511135
exports.Text = Text;
11136-
exports.version = "19.2.0-www-modern-283f87f0-20250527";
11136+
exports.version = "19.2.0-www-modern-5717f193-20250528";

compiled/facebook-www/ReactDOM-dev.classic.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27348,7 +27348,7 @@ __DEV__ &&
2734827348
}
2734927349
function handleNavigateComplete() {
2735027350
null !== pendingResolve && (pendingResolve(), (pendingResolve = null));
27351-
isCancelled || startFakeNavigation();
27351+
isCancelled || setTimeout(startFakeNavigation, 20);
2735227352
}
2735327353
function startFakeNavigation() {
2735427354
if (!isCancelled && !navigation.transition) {
@@ -31452,11 +31452,11 @@ __DEV__ &&
3145231452
return_targetInst = null;
3145331453
(function () {
3145431454
var isomorphicReactPackageVersion = React.version;
31455-
if ("19.2.0-www-classic-283f87f0-20250527" !== isomorphicReactPackageVersion)
31455+
if ("19.2.0-www-classic-5717f193-20250528" !== isomorphicReactPackageVersion)
3145631456
throw Error(
3145731457
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
3145831458
(isomorphicReactPackageVersion +
31459-
"\n - react-dom: 19.2.0-www-classic-283f87f0-20250527\nLearn more: https://react.dev/warnings/version-mismatch")
31459+
"\n - react-dom: 19.2.0-www-classic-5717f193-20250528\nLearn more: https://react.dev/warnings/version-mismatch")
3146031460
);
3146131461
})();
3146231462
("function" === typeof Map &&
@@ -31499,10 +31499,10 @@ __DEV__ &&
3149931499
!(function () {
3150031500
var internals = {
3150131501
bundleType: 1,
31502-
version: "19.2.0-www-classic-283f87f0-20250527",
31502+
version: "19.2.0-www-classic-5717f193-20250528",
3150331503
rendererPackageName: "react-dom",
3150431504
currentDispatcherRef: ReactSharedInternals,
31505-
reconcilerVersion: "19.2.0-www-classic-283f87f0-20250527"
31505+
reconcilerVersion: "19.2.0-www-classic-5717f193-20250528"
3150631506
};
3150731507
internals.overrideHookState = overrideHookState;
3150831508
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -32102,7 +32102,7 @@ __DEV__ &&
3210232102
exports.useFormStatus = function () {
3210332103
return resolveDispatcher().useHostTransitionStatus();
3210432104
};
32105-
exports.version = "19.2.0-www-classic-283f87f0-20250527";
32105+
exports.version = "19.2.0-www-classic-5717f193-20250528";
3210632106
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
3210732107
"function" ===
3210832108
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/ReactDOM-dev.modern.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27142,7 +27142,7 @@ __DEV__ &&
2714227142
}
2714327143
function handleNavigateComplete() {
2714427144
null !== pendingResolve && (pendingResolve(), (pendingResolve = null));
27145-
isCancelled || startFakeNavigation();
27145+
isCancelled || setTimeout(startFakeNavigation, 20);
2714627146
}
2714727147
function startFakeNavigation() {
2714827148
if (!isCancelled && !navigation.transition) {
@@ -31238,11 +31238,11 @@ __DEV__ &&
3123831238
return_targetInst = null;
3123931239
(function () {
3124031240
var isomorphicReactPackageVersion = React.version;
31241-
if ("19.2.0-www-modern-283f87f0-20250527" !== isomorphicReactPackageVersion)
31241+
if ("19.2.0-www-modern-5717f193-20250528" !== isomorphicReactPackageVersion)
3124231242
throw Error(
3124331243
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
3124431244
(isomorphicReactPackageVersion +
31245-
"\n - react-dom: 19.2.0-www-modern-283f87f0-20250527\nLearn more: https://react.dev/warnings/version-mismatch")
31245+
"\n - react-dom: 19.2.0-www-modern-5717f193-20250528\nLearn more: https://react.dev/warnings/version-mismatch")
3124631246
);
3124731247
})();
3124831248
("function" === typeof Map &&
@@ -31285,10 +31285,10 @@ __DEV__ &&
3128531285
!(function () {
3128631286
var internals = {
3128731287
bundleType: 1,
31288-
version: "19.2.0-www-modern-283f87f0-20250527",
31288+
version: "19.2.0-www-modern-5717f193-20250528",
3128931289
rendererPackageName: "react-dom",
3129031290
currentDispatcherRef: ReactSharedInternals,
31291-
reconcilerVersion: "19.2.0-www-modern-283f87f0-20250527"
31291+
reconcilerVersion: "19.2.0-www-modern-5717f193-20250528"
3129231292
};
3129331293
internals.overrideHookState = overrideHookState;
3129431294
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -31888,7 +31888,7 @@ __DEV__ &&
3188831888
exports.useFormStatus = function () {
3188931889
return resolveDispatcher().useHostTransitionStatus();
3189031890
};
31891-
exports.version = "19.2.0-www-modern-283f87f0-20250527";
31891+
exports.version = "19.2.0-www-modern-5717f193-20250528";
3189231892
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
3189331893
"function" ===
3189431894
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/ReactDOM-prod.classic.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19566,14 +19566,14 @@ function getCrossOriginStringAs(as, input) {
1956619566
}
1956719567
var isomorphicReactPackageVersion$jscomp$inline_2083 = React.version;
1956819568
if (
19569-
"19.2.0-www-classic-283f87f0-20250527" !==
19569+
"19.2.0-www-classic-5717f193-20250528" !==
1957019570
isomorphicReactPackageVersion$jscomp$inline_2083
1957119571
)
1957219572
throw Error(
1957319573
formatProdErrorMessage(
1957419574
527,
1957519575
isomorphicReactPackageVersion$jscomp$inline_2083,
19576-
"19.2.0-www-classic-283f87f0-20250527"
19576+
"19.2.0-www-classic-5717f193-20250528"
1957719577
)
1957819578
);
1957919579
Internals.findDOMNode = function (componentOrElement) {
@@ -19591,10 +19591,10 @@ Internals.Events = [
1959119591
];
1959219592
var internals$jscomp$inline_2696 = {
1959319593
bundleType: 0,
19594-
version: "19.2.0-www-classic-283f87f0-20250527",
19594+
version: "19.2.0-www-classic-5717f193-20250528",
1959519595
rendererPackageName: "react-dom",
1959619596
currentDispatcherRef: ReactSharedInternals,
19597-
reconcilerVersion: "19.2.0-www-classic-283f87f0-20250527"
19597+
reconcilerVersion: "19.2.0-www-classic-5717f193-20250528"
1959819598
};
1959919599
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1960019600
var hook$jscomp$inline_2697 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -19625,7 +19625,7 @@ function defaultOnDefaultTransitionIndicator() {
1962519625
}
1962619626
function handleNavigateComplete() {
1962719627
null !== pendingResolve && (pendingResolve(), (pendingResolve = null));
19628-
isCancelled || startFakeNavigation();
19628+
isCancelled || setTimeout(startFakeNavigation, 20);
1962919629
}
1963019630
function startFakeNavigation() {
1963119631
if (!isCancelled && !navigation.transition) {
@@ -20006,4 +20006,4 @@ exports.useFormState = function (action, initialState, permalink) {
2000620006
exports.useFormStatus = function () {
2000720007
return ReactSharedInternals.H.useHostTransitionStatus();
2000820008
};
20009-
exports.version = "19.2.0-www-classic-283f87f0-20250527";
20009+
exports.version = "19.2.0-www-classic-5717f193-20250528";

compiled/facebook-www/ReactDOM-prod.modern.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19295,14 +19295,14 @@ function getCrossOriginStringAs(as, input) {
1929519295
}
1929619296
var isomorphicReactPackageVersion$jscomp$inline_2073 = React.version;
1929719297
if (
19298-
"19.2.0-www-modern-283f87f0-20250527" !==
19298+
"19.2.0-www-modern-5717f193-20250528" !==
1929919299
isomorphicReactPackageVersion$jscomp$inline_2073
1930019300
)
1930119301
throw Error(
1930219302
formatProdErrorMessage(
1930319303
527,
1930419304
isomorphicReactPackageVersion$jscomp$inline_2073,
19305-
"19.2.0-www-modern-283f87f0-20250527"
19305+
"19.2.0-www-modern-5717f193-20250528"
1930619306
)
1930719307
);
1930819308
Internals.findDOMNode = function (componentOrElement) {
@@ -19320,10 +19320,10 @@ Internals.Events = [
1932019320
];
1932119321
var internals$jscomp$inline_2678 = {
1932219322
bundleType: 0,
19323-
version: "19.2.0-www-modern-283f87f0-20250527",
19323+
version: "19.2.0-www-modern-5717f193-20250528",
1932419324
rendererPackageName: "react-dom",
1932519325
currentDispatcherRef: ReactSharedInternals,
19326-
reconcilerVersion: "19.2.0-www-modern-283f87f0-20250527"
19326+
reconcilerVersion: "19.2.0-www-modern-5717f193-20250528"
1932719327
};
1932819328
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1932919329
var hook$jscomp$inline_2679 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -19354,7 +19354,7 @@ function defaultOnDefaultTransitionIndicator() {
1935419354
}
1935519355
function handleNavigateComplete() {
1935619356
null !== pendingResolve && (pendingResolve(), (pendingResolve = null));
19357-
isCancelled || startFakeNavigation();
19357+
isCancelled || setTimeout(startFakeNavigation, 20);
1935819358
}
1935919359
function startFakeNavigation() {
1936019360
if (!isCancelled && !navigation.transition) {
@@ -19735,4 +19735,4 @@ exports.useFormState = function (action, initialState, permalink) {
1973519735
exports.useFormStatus = function () {
1973619736
return ReactSharedInternals.H.useHostTransitionStatus();
1973719737
};
19738-
exports.version = "19.2.0-www-modern-283f87f0-20250527";
19738+
exports.version = "19.2.0-www-modern-5717f193-20250528";

compiled/facebook-www/ReactDOM-profiling.classic.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21548,14 +21548,14 @@ function getCrossOriginStringAs(as, input) {
2154821548
}
2154921549
var isomorphicReactPackageVersion$jscomp$inline_2327 = React.version;
2155021550
if (
21551-
"19.2.0-www-classic-283f87f0-20250527" !==
21551+
"19.2.0-www-classic-5717f193-20250528" !==
2155221552
isomorphicReactPackageVersion$jscomp$inline_2327
2155321553
)
2155421554
throw Error(
2155521555
formatProdErrorMessage(
2155621556
527,
2155721557
isomorphicReactPackageVersion$jscomp$inline_2327,
21558-
"19.2.0-www-classic-283f87f0-20250527"
21558+
"19.2.0-www-classic-5717f193-20250528"
2155921559
)
2156021560
);
2156121561
Internals.findDOMNode = function (componentOrElement) {
@@ -21573,10 +21573,10 @@ Internals.Events = [
2157321573
];
2157421574
var internals$jscomp$inline_2329 = {
2157521575
bundleType: 0,
21576-
version: "19.2.0-www-classic-283f87f0-20250527",
21576+
version: "19.2.0-www-classic-5717f193-20250528",
2157721577
rendererPackageName: "react-dom",
2157821578
currentDispatcherRef: ReactSharedInternals,
21579-
reconcilerVersion: "19.2.0-www-classic-283f87f0-20250527"
21579+
reconcilerVersion: "19.2.0-www-classic-5717f193-20250528"
2158021580
};
2158121581
enableSchedulingProfiler &&
2158221582
((internals$jscomp$inline_2329.getLaneLabelMap = getLaneLabelMap),
@@ -21610,7 +21610,7 @@ function defaultOnDefaultTransitionIndicator() {
2161021610
}
2161121611
function handleNavigateComplete() {
2161221612
null !== pendingResolve && (pendingResolve(), (pendingResolve = null));
21613-
isCancelled || startFakeNavigation();
21613+
isCancelled || setTimeout(startFakeNavigation, 20);
2161421614
}
2161521615
function startFakeNavigation() {
2161621616
if (!isCancelled && !navigation.transition) {
@@ -21991,7 +21991,7 @@ exports.useFormState = function (action, initialState, permalink) {
2199121991
exports.useFormStatus = function () {
2199221992
return ReactSharedInternals.H.useHostTransitionStatus();
2199321993
};
21994-
exports.version = "19.2.0-www-classic-283f87f0-20250527";
21994+
exports.version = "19.2.0-www-classic-5717f193-20250528";
2199521995
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
2199621996
"function" ===
2199721997
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

0 commit comments

Comments
 (0)