[Fiber] Don't call performance.now() twice in a row (#30936)

DiffTrain build for [a5a7f1063e](https://github.com/facebook/react/commit/a5a7f1063e6f190c64c779b2aa54d28fb7b92cfb)
This commit is contained in:
sebmarkbage
2024-09-10 13:54:18 -07:00
parent bf9385a46c
commit b8a98add1f
34 changed files with 98 additions and 98 deletions
+1 -1
View File
@@ -1 +1 @@
66cf2cfc8a8c4b09d2b783fd7302ae6b24150935
a5a7f1063e6f190c64c779b2aa54d28fb7b92cfb
+1 -1
View File
@@ -1 +1 @@
66cf2cfc8a8c4b09d2b783fd7302ae6b24150935
a5a7f1063e6f190c64c779b2aa54d28fb7b92cfb
+1 -1
View File
@@ -2001,7 +2001,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.0.0-www-classic-66cf2cfc-20240910";
exports.version = "19.0.0-www-classic-a5a7f106-20240910";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+1 -1
View File
@@ -1981,7 +1981,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.0.0-www-modern-66cf2cfc-20240910";
exports.version = "19.0.0-www-modern-a5a7f106-20240910";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+1 -1
View File
@@ -665,4 +665,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.0.0-www-classic-66cf2cfc-20240910";
exports.version = "19.0.0-www-classic-a5a7f106-20240910";
+1 -1
View File
@@ -665,4 +665,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.0.0-www-modern-66cf2cfc-20240910";
exports.version = "19.0.0-www-modern-a5a7f106-20240910";
@@ -669,7 +669,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.0.0-www-classic-66cf2cfc-20240910";
exports.version = "19.0.0-www-classic-a5a7f106-20240910";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -669,7 +669,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.0.0-www-modern-66cf2cfc-20240910";
exports.version = "19.0.0-www-modern-a5a7f106-20240910";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -5417,7 +5417,7 @@ __DEV__ &&
}
function startProfilerTimer(fiber) {
profilerStartTime = now();
0 > fiber.actualStartTime && (fiber.actualStartTime = now());
0 > fiber.actualStartTime && (fiber.actualStartTime = profilerStartTime);
}
function stopProfilerTimerIfRunningAndRecordDelta(fiber, overrideBaseTime) {
if (0 <= profilerStartTime) {
@@ -16967,11 +16967,11 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.0.0-www-classic-66cf2cfc-20240910",
version: "19.0.0-www-classic-a5a7f106-20240910",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getInstanceFromNode,
reconcilerVersion: "19.0.0-www-classic-66cf2cfc-20240910"
reconcilerVersion: "19.0.0-www-classic-a5a7f106-20240910"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -17005,7 +17005,7 @@ __DEV__ &&
exports.Shape = Shape;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.0.0-www-classic-66cf2cfc-20240910";
exports.version = "19.0.0-www-classic-a5a7f106-20240910";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+4 -4
View File
@@ -5293,7 +5293,7 @@ __DEV__ &&
}
function startProfilerTimer(fiber) {
profilerStartTime = now();
0 > fiber.actualStartTime && (fiber.actualStartTime = now());
0 > fiber.actualStartTime && (fiber.actualStartTime = profilerStartTime);
}
function stopProfilerTimerIfRunningAndRecordDelta(fiber, overrideBaseTime) {
if (0 <= profilerStartTime) {
@@ -16413,11 +16413,11 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.0.0-www-modern-66cf2cfc-20240910",
version: "19.0.0-www-modern-a5a7f106-20240910",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getInstanceFromNode,
reconcilerVersion: "19.0.0-www-modern-66cf2cfc-20240910"
reconcilerVersion: "19.0.0-www-modern-a5a7f106-20240910"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -16451,7 +16451,7 @@ __DEV__ &&
exports.Shape = Shape;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.0.0-www-modern-66cf2cfc-20240910";
exports.version = "19.0.0-www-modern-a5a7f106-20240910";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -10784,13 +10784,13 @@ var slice = Array.prototype.slice,
})(React.Component);
var internals$jscomp$inline_1422 = {
bundleType: 0,
version: "19.0.0-www-classic-66cf2cfc-20240910",
version: "19.0.0-www-classic-a5a7f106-20240910",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: function () {
return null;
},
reconcilerVersion: "19.0.0-www-classic-66cf2cfc-20240910"
reconcilerVersion: "19.0.0-www-classic-a5a7f106-20240910"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1423 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -10816,4 +10816,4 @@ exports.RadialGradient = RadialGradient;
exports.Shape = TYPES.SHAPE;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.0.0-www-classic-66cf2cfc-20240910";
exports.version = "19.0.0-www-classic-a5a7f106-20240910";
@@ -10298,13 +10298,13 @@ var slice = Array.prototype.slice,
})(React.Component);
var internals$jscomp$inline_1414 = {
bundleType: 0,
version: "19.0.0-www-modern-66cf2cfc-20240910",
version: "19.0.0-www-modern-a5a7f106-20240910",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: function () {
return null;
},
reconcilerVersion: "19.0.0-www-modern-66cf2cfc-20240910"
reconcilerVersion: "19.0.0-www-modern-a5a7f106-20240910"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1415 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -10330,4 +10330,4 @@ exports.RadialGradient = RadialGradient;
exports.Shape = TYPES.SHAPE;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.0.0-www-modern-66cf2cfc-20240910";
exports.version = "19.0.0-www-modern-a5a7f106-20240910";
@@ -7335,7 +7335,7 @@ __DEV__ &&
}
function startProfilerTimer(fiber) {
profilerStartTime = now();
0 > fiber.actualStartTime && (fiber.actualStartTime = now());
0 > fiber.actualStartTime && (fiber.actualStartTime = profilerStartTime);
}
function stopProfilerTimerIfRunningAndRecordDelta(fiber, overrideBaseTime) {
if (0 <= profilerStartTime) {
@@ -27704,11 +27704,11 @@ __DEV__ &&
: flushSyncErrorInBuildsThatSupportLegacyMode;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.0.0-www-classic-66cf2cfc-20240910" !== isomorphicReactPackageVersion)
if ("19.0.0-www-classic-a5a7f106-20240910" !== 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.0.0-www-classic-66cf2cfc-20240910\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.0.0-www-classic-a5a7f106-20240910\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -27752,11 +27752,11 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.0.0-www-classic-66cf2cfc-20240910",
version: "19.0.0-www-classic-a5a7f106-20240910",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-www-classic-66cf2cfc-20240910"
reconcilerVersion: "19.0.0-www-classic-a5a7f106-20240910"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -28409,7 +28409,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.0.0-www-classic-66cf2cfc-20240910";
exports.version = "19.0.0-www-classic-a5a7f106-20240910";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+6 -6
View File
@@ -7193,7 +7193,7 @@ __DEV__ &&
}
function startProfilerTimer(fiber) {
profilerStartTime = now();
0 > fiber.actualStartTime && (fiber.actualStartTime = now());
0 > fiber.actualStartTime && (fiber.actualStartTime = profilerStartTime);
}
function stopProfilerTimerIfRunningAndRecordDelta(fiber, overrideBaseTime) {
if (0 <= profilerStartTime) {
@@ -26821,11 +26821,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.0.0-www-modern-66cf2cfc-20240910" !== isomorphicReactPackageVersion)
if ("19.0.0-www-modern-a5a7f106-20240910" !== 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.0.0-www-modern-66cf2cfc-20240910\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.0.0-www-modern-a5a7f106-20240910\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -26868,11 +26868,11 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.0.0-www-modern-66cf2cfc-20240910",
version: "19.0.0-www-modern-a5a7f106-20240910",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-www-modern-66cf2cfc-20240910"
reconcilerVersion: "19.0.0-www-modern-a5a7f106-20240910"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -27477,7 +27477,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.0.0-www-modern-66cf2cfc-20240910";
exports.version = "19.0.0-www-modern-a5a7f106-20240910";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -17334,14 +17334,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1765 = React.version;
if (
"19.0.0-www-classic-66cf2cfc-20240910" !==
"19.0.0-www-classic-a5a7f106-20240910" !==
isomorphicReactPackageVersion$jscomp$inline_1765
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1765,
"19.0.0-www-classic-66cf2cfc-20240910"
"19.0.0-www-classic-a5a7f106-20240910"
)
);
function flushSyncFromReconciler(fn) {
@@ -17386,11 +17386,11 @@ Internals.Events = [
];
var internals$jscomp$inline_2259 = {
bundleType: 0,
version: "19.0.0-www-classic-66cf2cfc-20240910",
version: "19.0.0-www-classic-a5a7f106-20240910",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-www-classic-66cf2cfc-20240910"
reconcilerVersion: "19.0.0-www-classic-a5a7f106-20240910"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2260 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -17846,4 +17846,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.0.0-www-classic-66cf2cfc-20240910";
exports.version = "19.0.0-www-classic-a5a7f106-20240910";
@@ -16710,14 +16710,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1736 = React.version;
if (
"19.0.0-www-modern-66cf2cfc-20240910" !==
"19.0.0-www-modern-a5a7f106-20240910" !==
isomorphicReactPackageVersion$jscomp$inline_1736
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1736,
"19.0.0-www-modern-66cf2cfc-20240910"
"19.0.0-www-modern-a5a7f106-20240910"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -16735,11 +16735,11 @@ Internals.Events = [
];
var internals$jscomp$inline_2250 = {
bundleType: 0,
version: "19.0.0-www-modern-66cf2cfc-20240910",
version: "19.0.0-www-modern-a5a7f106-20240910",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-www-modern-66cf2cfc-20240910"
reconcilerVersion: "19.0.0-www-modern-a5a7f106-20240910"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2251 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -17102,4 +17102,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.0.0-www-modern-66cf2cfc-20240910";
exports.version = "19.0.0-www-modern-a5a7f106-20240910";
@@ -4882,7 +4882,7 @@ var now = Scheduler.unstable_now,
nestedUpdateScheduled = !1;
function startProfilerTimer(fiber) {
profilerStartTime = now();
0 > fiber.actualStartTime && (fiber.actualStartTime = now());
0 > fiber.actualStartTime && (fiber.actualStartTime = profilerStartTime);
}
function stopProfilerTimerIfRunningAndRecordDelta(fiber, overrideBaseTime) {
if (0 <= profilerStartTime) {
@@ -18094,14 +18094,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1855 = React.version;
if (
"19.0.0-www-classic-66cf2cfc-20240910" !==
"19.0.0-www-classic-a5a7f106-20240910" !==
isomorphicReactPackageVersion$jscomp$inline_1855
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1855,
"19.0.0-www-classic-66cf2cfc-20240910"
"19.0.0-www-classic-a5a7f106-20240910"
)
);
function flushSyncFromReconciler(fn) {
@@ -18146,11 +18146,11 @@ Internals.Events = [
];
var internals$jscomp$inline_1862 = {
bundleType: 0,
version: "19.0.0-www-classic-66cf2cfc-20240910",
version: "19.0.0-www-classic-a5a7f106-20240910",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-www-classic-66cf2cfc-20240910"
reconcilerVersion: "19.0.0-www-classic-a5a7f106-20240910"
};
enableSchedulingProfiler &&
((internals$jscomp$inline_1862.getLaneLabelMap = getLaneLabelMap),
@@ -18609,7 +18609,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.0.0-www-classic-66cf2cfc-20240910";
exports.version = "19.0.0-www-classic-a5a7f106-20240910";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -4717,7 +4717,7 @@ var now = Scheduler.unstable_now,
nestedUpdateScheduled = !1;
function startProfilerTimer(fiber) {
profilerStartTime = now();
0 > fiber.actualStartTime && (fiber.actualStartTime = now());
0 > fiber.actualStartTime && (fiber.actualStartTime = profilerStartTime);
}
function stopProfilerTimerIfRunningAndRecordDelta(fiber, overrideBaseTime) {
if (0 <= profilerStartTime) {
@@ -17453,14 +17453,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1826 = React.version;
if (
"19.0.0-www-modern-66cf2cfc-20240910" !==
"19.0.0-www-modern-a5a7f106-20240910" !==
isomorphicReactPackageVersion$jscomp$inline_1826
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1826,
"19.0.0-www-modern-66cf2cfc-20240910"
"19.0.0-www-modern-a5a7f106-20240910"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -17478,11 +17478,11 @@ Internals.Events = [
];
var internals$jscomp$inline_1828 = {
bundleType: 0,
version: "19.0.0-www-modern-66cf2cfc-20240910",
version: "19.0.0-www-modern-a5a7f106-20240910",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-www-modern-66cf2cfc-20240910"
reconcilerVersion: "19.0.0-www-modern-a5a7f106-20240910"
};
enableSchedulingProfiler &&
((internals$jscomp$inline_1828.getLaneLabelMap = getLaneLabelMap),
@@ -17848,7 +17848,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.0.0-www-modern-66cf2cfc-20240910";
exports.version = "19.0.0-www-modern-a5a7f106-20240910";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -8987,5 +8987,5 @@ __DEV__ &&
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
);
};
exports.version = "19.0.0-www-classic-66cf2cfc-20240910";
exports.version = "19.0.0-www-classic-a5a7f106-20240910";
})();
@@ -8805,5 +8805,5 @@ __DEV__ &&
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
);
};
exports.version = "19.0.0-www-modern-66cf2cfc-20240910";
exports.version = "19.0.0-www-modern-a5a7f106-20240910";
})();
@@ -5912,4 +5912,4 @@ exports.renderToString = function (children, options) {
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
);
};
exports.version = "19.0.0-www-classic-66cf2cfc-20240910";
exports.version = "19.0.0-www-classic-a5a7f106-20240910";
@@ -5824,4 +5824,4 @@ exports.renderToString = function (children, options) {
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
);
};
exports.version = "19.0.0-www-modern-66cf2cfc-20240910";
exports.version = "19.0.0-www-modern-a5a7f106-20240910";
@@ -7376,7 +7376,7 @@ __DEV__ &&
}
function startProfilerTimer(fiber) {
profilerStartTime = now();
0 > fiber.actualStartTime && (fiber.actualStartTime = now());
0 > fiber.actualStartTime && (fiber.actualStartTime = profilerStartTime);
}
function stopProfilerTimerIfRunningAndRecordDelta(fiber, overrideBaseTime) {
if (0 <= profilerStartTime) {
@@ -28038,11 +28038,11 @@ __DEV__ &&
: flushSyncErrorInBuildsThatSupportLegacyMode;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.0.0-www-classic-66cf2cfc-20240910" !== isomorphicReactPackageVersion)
if ("19.0.0-www-classic-a5a7f106-20240910" !== 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.0.0-www-classic-66cf2cfc-20240910\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.0.0-www-classic-a5a7f106-20240910\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -28086,11 +28086,11 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.0.0-www-classic-66cf2cfc-20240910",
version: "19.0.0-www-classic-a5a7f106-20240910",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-www-classic-66cf2cfc-20240910"
reconcilerVersion: "19.0.0-www-classic-a5a7f106-20240910"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -28909,5 +28909,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.0.0-www-classic-66cf2cfc-20240910";
exports.version = "19.0.0-www-classic-a5a7f106-20240910";
})();
@@ -7234,7 +7234,7 @@ __DEV__ &&
}
function startProfilerTimer(fiber) {
profilerStartTime = now();
0 > fiber.actualStartTime && (fiber.actualStartTime = now());
0 > fiber.actualStartTime && (fiber.actualStartTime = profilerStartTime);
}
function stopProfilerTimerIfRunningAndRecordDelta(fiber, overrideBaseTime) {
if (0 <= profilerStartTime) {
@@ -27155,11 +27155,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.0.0-www-modern-66cf2cfc-20240910" !== isomorphicReactPackageVersion)
if ("19.0.0-www-modern-a5a7f106-20240910" !== 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.0.0-www-modern-66cf2cfc-20240910\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.0.0-www-modern-a5a7f106-20240910\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -27202,11 +27202,11 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.0.0-www-modern-66cf2cfc-20240910",
version: "19.0.0-www-modern-a5a7f106-20240910",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-www-modern-66cf2cfc-20240910"
reconcilerVersion: "19.0.0-www-modern-a5a7f106-20240910"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -27977,5 +27977,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.0.0-www-modern-66cf2cfc-20240910";
exports.version = "19.0.0-www-modern-a5a7f106-20240910";
})();
@@ -17663,14 +17663,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1795 = React.version;
if (
"19.0.0-www-classic-66cf2cfc-20240910" !==
"19.0.0-www-classic-a5a7f106-20240910" !==
isomorphicReactPackageVersion$jscomp$inline_1795
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1795,
"19.0.0-www-classic-66cf2cfc-20240910"
"19.0.0-www-classic-a5a7f106-20240910"
)
);
function flushSyncFromReconciler(fn) {
@@ -17715,11 +17715,11 @@ Internals.Events = [
];
var internals$jscomp$inline_2294 = {
bundleType: 0,
version: "19.0.0-www-classic-66cf2cfc-20240910",
version: "19.0.0-www-classic-a5a7f106-20240910",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-www-classic-66cf2cfc-20240910"
reconcilerVersion: "19.0.0-www-classic-a5a7f106-20240910"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2295 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -18326,4 +18326,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.0.0-www-classic-66cf2cfc-20240910";
exports.version = "19.0.0-www-classic-a5a7f106-20240910";
@@ -17039,14 +17039,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1766 = React.version;
if (
"19.0.0-www-modern-66cf2cfc-20240910" !==
"19.0.0-www-modern-a5a7f106-20240910" !==
isomorphicReactPackageVersion$jscomp$inline_1766
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1766,
"19.0.0-www-modern-66cf2cfc-20240910"
"19.0.0-www-modern-a5a7f106-20240910"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -17064,11 +17064,11 @@ Internals.Events = [
];
var internals$jscomp$inline_2285 = {
bundleType: 0,
version: "19.0.0-www-modern-66cf2cfc-20240910",
version: "19.0.0-www-modern-a5a7f106-20240910",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-www-modern-66cf2cfc-20240910"
reconcilerVersion: "19.0.0-www-modern-a5a7f106-20240910"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2286 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -17582,4 +17582,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.0.0-www-modern-66cf2cfc-20240910";
exports.version = "19.0.0-www-modern-a5a7f106-20240910";
@@ -5658,7 +5658,7 @@ __DEV__ &&
}
function startProfilerTimer(fiber) {
profilerStartTime = now();
0 > fiber.actualStartTime && (fiber.actualStartTime = now());
0 > fiber.actualStartTime && (fiber.actualStartTime = profilerStartTime);
}
function stopProfilerTimerIfRunningAndRecordDelta(fiber, overrideBaseTime) {
if (0 <= profilerStartTime) {
@@ -19152,7 +19152,7 @@ __DEV__ &&
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getInstanceFromNode,
reconcilerVersion: "19.0.0-www-classic-66cf2cfc-20240910"
reconcilerVersion: "19.0.0-www-classic-a5a7f106-20240910"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -5548,7 +5548,7 @@ __DEV__ &&
}
function startProfilerTimer(fiber) {
profilerStartTime = now();
0 > fiber.actualStartTime && (fiber.actualStartTime = now());
0 > fiber.actualStartTime && (fiber.actualStartTime = profilerStartTime);
}
function stopProfilerTimerIfRunningAndRecordDelta(fiber, overrideBaseTime) {
if (0 <= profilerStartTime) {
@@ -18546,7 +18546,7 @@ __DEV__ &&
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getInstanceFromNode,
reconcilerVersion: "19.0.0-www-modern-66cf2cfc-20240910"
reconcilerVersion: "19.0.0-www-modern-a5a7f106-20240910"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -12782,7 +12782,7 @@ module.exports = function ($$$config) {
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getInstanceFromNode,
reconcilerVersion: "19.0.0-www-classic-66cf2cfc-20240910"
reconcilerVersion: "19.0.0-www-classic-a5a7f106-20240910"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -12275,7 +12275,7 @@ module.exports = function ($$$config) {
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getInstanceFromNode,
reconcilerVersion: "19.0.0-www-modern-66cf2cfc-20240910"
reconcilerVersion: "19.0.0-www-modern-a5a7f106-20240910"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -4986,7 +4986,7 @@ __DEV__ &&
}
function startProfilerTimer(fiber) {
profilerStartTime = now();
0 > fiber.actualStartTime && (fiber.actualStartTime = now());
0 > fiber.actualStartTime && (fiber.actualStartTime = profilerStartTime);
}
function stopProfilerTimerIfRunningAndRecordDelta(fiber, overrideBaseTime) {
if (0 <= profilerStartTime) {
@@ -14956,11 +14956,11 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.0.0-www-classic-66cf2cfc-20240910",
version: "19.0.0-www-classic-a5a7f106-20240910",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getInstanceFromNode,
reconcilerVersion: "19.0.0-www-classic-66cf2cfc-20240910"
reconcilerVersion: "19.0.0-www-classic-a5a7f106-20240910"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15095,5 +15095,5 @@ __DEV__ &&
exports.unstable_batchedUpdates = function (fn, a) {
return fn(a);
};
exports.version = "19.0.0-www-classic-66cf2cfc-20240910";
exports.version = "19.0.0-www-classic-a5a7f106-20240910";
})();
@@ -4986,7 +4986,7 @@ __DEV__ &&
}
function startProfilerTimer(fiber) {
profilerStartTime = now();
0 > fiber.actualStartTime && (fiber.actualStartTime = now());
0 > fiber.actualStartTime && (fiber.actualStartTime = profilerStartTime);
}
function stopProfilerTimerIfRunningAndRecordDelta(fiber, overrideBaseTime) {
if (0 <= profilerStartTime) {
@@ -14956,11 +14956,11 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.0.0-www-modern-66cf2cfc-20240910",
version: "19.0.0-www-modern-a5a7f106-20240910",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getInstanceFromNode,
reconcilerVersion: "19.0.0-www-modern-66cf2cfc-20240910"
reconcilerVersion: "19.0.0-www-modern-a5a7f106-20240910"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15095,5 +15095,5 @@ __DEV__ &&
exports.unstable_batchedUpdates = function (fn, a) {
return fn(a);
};
exports.version = "19.0.0-www-modern-66cf2cfc-20240910";
exports.version = "19.0.0-www-modern-a5a7f106-20240910";
})();
+1 -1
View File
@@ -1 +1 @@
19.0.0-www-classic-66cf2cfc-20240910
19.0.0-www-classic-a5a7f106-20240910
+1 -1
View File
@@ -1 +1 @@
19.0.0-www-modern-66cf2cfc-20240910
19.0.0-www-modern-a5a7f106-20240910