[compiler] Remove now-unused FunctionEffect type (#34029)

The new mutation/aliasing model significantly expands on the idea of
FunctionEffect. The type (and its usage in HIRFunction.effects) was only
necessary for the now-deleted old inference model so we can clean up
this code now.

DiffTrain build for [5063b3283f](https://github.com/facebook/react/commit/5063b3283fcae4bb43756d0d18d32008e3910bea)
This commit is contained in:
josephsavona
2025-08-15 15:33:10 -07:00
parent e69dea88c2
commit dc2e9147f2
35 changed files with 96 additions and 124 deletions
+10 -38
View File
@@ -18823,7 +18823,7 @@ function printObjectPropertyKey(key) {
}
}
function printInstructionValue(instrValue) {
var _a, _b, _c, _d, _e, _f, _g;
var _a, _b, _c, _d, _e;
let value = '';
switch (instrValue.kind) {
case 'ArrayExpression': {
@@ -18996,18 +18996,8 @@ function printInstructionValue(instrValue) {
const context = instrValue.loweredFunc.func.context
.map(dep => printPlace(dep))
.join(',');
const effects = (_b = (_a = instrValue.loweredFunc.func.effects) === null || _a === void 0 ? void 0 : _a.map(effect => {
if (effect.kind === 'ContextMutation') {
return `ContextMutation places=[${[...effect.places]
.map(place => printPlace(place))
.join(', ')}] effect=${effect.effect}`;
}
else {
return `GlobalMutation`;
}
}).join(', ')) !== null && _b !== void 0 ? _b : '';
const aliasingEffects = (_e = (_d = (_c = instrValue.loweredFunc.func.aliasingEffects) === null || _c === void 0 ? void 0 : _c.map(printAliasingEffect)) === null || _d === void 0 ? void 0 : _d.join(', ')) !== null && _e !== void 0 ? _e : '';
value = `${kind} ${name} @context[${context}] @effects[${effects}] @aliasingEffects=[${aliasingEffects}]\n${fn}`;
const aliasingEffects = (_c = (_b = (_a = instrValue.loweredFunc.func.aliasingEffects) === null || _a === void 0 ? void 0 : _a.map(printAliasingEffect)) === null || _b === void 0 ? void 0 : _b.join(', ')) !== null && _c !== void 0 ? _c : '';
value = `${kind} ${name} @context[${context}] @aliasingEffects=[${aliasingEffects}]\n${fn}`;
break;
}
case 'TaggedTemplateExpression': {
@@ -19123,7 +19113,7 @@ function printInstructionValue(instrValue) {
break;
}
case 'StartMemoize': {
value = `StartMemoize deps=${(_g = (_f = instrValue.deps) === null || _f === void 0 ? void 0 : _f.map(dep => printManualMemoDependency(dep, false))) !== null && _g !== void 0 ? _g : '(none)'}`;
value = `StartMemoize deps=${(_e = (_d = instrValue.deps) === null || _d === void 0 ? void 0 : _d.map(dep => printManualMemoDependency(dep, false))) !== null && _e !== void 0 ? _e : '(none)'}`;
break;
}
case 'FinishMemoize': {
@@ -48505,7 +48495,6 @@ function emitSelectorFn(env, keys) {
returnTypeAnnotation: null,
returns: createTemporaryPlace(env, GeneratedSource),
context: [],
effects: null,
body: {
entry: block.id,
blocks: new Map([[block.id, block]]),
@@ -48513,6 +48502,7 @@ function emitSelectorFn(env, keys) {
generator: false,
async: false,
directives: [],
aliasingEffects: [],
};
reversePostorderBlocks(fn.body);
markInstructionIds(fn.body);
@@ -48937,7 +48927,6 @@ function emitOutlinedFn(env, jsx, oldProps, globals) {
returnTypeAnnotation: null,
returns: createTemporaryPlace(env, GeneratedSource),
context: [],
effects: null,
body: {
entry: block.id,
blocks: new Map([[block.id, block]]),
@@ -48945,6 +48934,7 @@ function emitOutlinedFn(env, jsx, oldProps, globals) {
generator: false,
async: false,
directives: [],
aliasingEffects: [],
};
return fn;
}
@@ -49601,14 +49591,13 @@ function validateStaticComponents(fn) {
}
function validateNoFreezingKnownMutableFunctions(fn) {
var _a;
const errors = new CompilerError();
const contextMutationEffects = new Map();
function visitOperand(operand) {
if (operand.effect === Effect.Freeze) {
const effect = contextMutationEffects.get(operand.identifier.id);
if (effect != null) {
const place = [...effect.places][0];
const place = effect.value;
const variable = place != null &&
place.identifier.name != null &&
place.identifier.name.kind === 'named'
@@ -49626,7 +49615,7 @@ function validateNoFreezingKnownMutableFunctions(fn) {
})
.withDetail({
kind: 'error',
loc: effect.loc,
loc: effect.value.loc,
message: `This modifies ${variable}`,
}));
}
@@ -49652,19 +49641,7 @@ function validateNoFreezingKnownMutableFunctions(fn) {
break;
}
case 'FunctionExpression': {
const knownMutation = ((_a = value.loweredFunc.func.effects) !== null && _a !== void 0 ? _a : []).find(effect => {
return (effect.kind === 'ContextMutation' &&
(effect.effect === Effect.Store ||
effect.effect === Effect.Mutate) &&
Iterable_some(effect.places, place => {
return (isMutableEffect(place.effect, place.loc) &&
!isRefOrRefLikeMutableType(place.identifier.type));
}));
});
if (knownMutation && knownMutation.kind === 'ContextMutation') {
contextMutationEffects.set(lvalue.identifier.id, knownMutation);
}
else if (value.loweredFunc.func.aliasingEffects != null) {
if (value.loweredFunc.func.aliasingEffects != null) {
const context = new Set(value.loweredFunc.func.context.map(p => p.identifier.id));
effects: for (const effect of value.loweredFunc.func
.aliasingEffects) {
@@ -49677,12 +49654,7 @@ function validateNoFreezingKnownMutableFunctions(fn) {
}
else if (context.has(effect.value.identifier.id) &&
!isRefOrRefLikeMutableType(effect.value.identifier.type)) {
contextMutationEffects.set(lvalue.identifier.id, {
kind: 'ContextMutation',
effect: Effect.Mutate,
loc: effect.value.loc,
places: new Set([effect.value]),
});
contextMutationEffects.set(lvalue.identifier.id, effect);
break effects;
}
break;
+1 -1
View File
@@ -1 +1 @@
eaf6adb1277e4cb4f91d1b7f687f773657a5751b
5063b3283fcae4bb43756d0d18d32008e3910bea
+1 -1
View File
@@ -1 +1 @@
eaf6adb1277e4cb4f91d1b7f687f773657a5751b
5063b3283fcae4bb43756d0d18d32008e3910bea
+1 -1
View File
@@ -1409,7 +1409,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.2.0-www-classic-eaf6adb1-20250815";
exports.version = "19.2.0-www-classic-5063b328-20250815";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+1 -1
View File
@@ -1409,7 +1409,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.2.0-www-modern-eaf6adb1-20250815";
exports.version = "19.2.0-www-modern-5063b328-20250815";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+1 -1
View File
@@ -600,4 +600,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-www-classic-eaf6adb1-20250815";
exports.version = "19.2.0-www-classic-5063b328-20250815";
+1 -1
View File
@@ -600,4 +600,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-www-modern-eaf6adb1-20250815";
exports.version = "19.2.0-www-modern-5063b328-20250815";
@@ -604,7 +604,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-www-classic-eaf6adb1-20250815";
exports.version = "19.2.0-www-classic-5063b328-20250815";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -604,7 +604,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-www-modern-eaf6adb1-20250815";
exports.version = "19.2.0-www-modern-5063b328-20250815";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -19588,10 +19588,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-classic-eaf6adb1-20250815",
version: "19.2.0-www-classic-5063b328-20250815",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-eaf6adb1-20250815"
reconcilerVersion: "19.2.0-www-classic-5063b328-20250815"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -19625,7 +19625,7 @@ __DEV__ &&
exports.Shape = Shape;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.2.0-www-classic-eaf6adb1-20250815";
exports.version = "19.2.0-www-classic-5063b328-20250815";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+3 -3
View File
@@ -19359,10 +19359,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-modern-eaf6adb1-20250815",
version: "19.2.0-www-modern-5063b328-20250815",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-eaf6adb1-20250815"
reconcilerVersion: "19.2.0-www-modern-5063b328-20250815"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -19396,7 +19396,7 @@ __DEV__ &&
exports.Shape = Shape;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.2.0-www-modern-eaf6adb1-20250815";
exports.version = "19.2.0-www-modern-5063b328-20250815";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -11298,10 +11298,10 @@ var slice = Array.prototype.slice,
})(React.Component);
var internals$jscomp$inline_1603 = {
bundleType: 0,
version: "19.2.0-www-classic-eaf6adb1-20250815",
version: "19.2.0-www-classic-5063b328-20250815",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-eaf6adb1-20250815"
reconcilerVersion: "19.2.0-www-classic-5063b328-20250815"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1604 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -11327,4 +11327,4 @@ exports.RadialGradient = RadialGradient;
exports.Shape = TYPES.SHAPE;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.2.0-www-classic-eaf6adb1-20250815";
exports.version = "19.2.0-www-classic-5063b328-20250815";
@@ -11010,10 +11010,10 @@ var slice = Array.prototype.slice,
})(React.Component);
var internals$jscomp$inline_1576 = {
bundleType: 0,
version: "19.2.0-www-modern-eaf6adb1-20250815",
version: "19.2.0-www-modern-5063b328-20250815",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-eaf6adb1-20250815"
reconcilerVersion: "19.2.0-www-modern-5063b328-20250815"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1577 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -11039,4 +11039,4 @@ exports.RadialGradient = RadialGradient;
exports.Shape = TYPES.SHAPE;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.2.0-www-modern-eaf6adb1-20250815";
exports.version = "19.2.0-www-modern-5063b328-20250815";
@@ -32110,11 +32110,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-www-classic-eaf6adb1-20250815" !== isomorphicReactPackageVersion)
if ("19.2.0-www-classic-5063b328-20250815" !== 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.2.0-www-classic-eaf6adb1-20250815\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-www-classic-5063b328-20250815\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -32157,10 +32157,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-classic-eaf6adb1-20250815",
version: "19.2.0-www-classic-5063b328-20250815",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-eaf6adb1-20250815"
reconcilerVersion: "19.2.0-www-classic-5063b328-20250815"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -32761,7 +32761,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-www-classic-eaf6adb1-20250815";
exports.version = "19.2.0-www-classic-5063b328-20250815";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+5 -5
View File
@@ -31895,11 +31895,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-www-modern-eaf6adb1-20250815" !== isomorphicReactPackageVersion)
if ("19.2.0-www-modern-5063b328-20250815" !== 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.2.0-www-modern-eaf6adb1-20250815\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-www-modern-5063b328-20250815\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -31942,10 +31942,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-modern-eaf6adb1-20250815",
version: "19.2.0-www-modern-5063b328-20250815",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-eaf6adb1-20250815"
reconcilerVersion: "19.2.0-www-modern-5063b328-20250815"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -32546,7 +32546,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-www-modern-eaf6adb1-20250815";
exports.version = "19.2.0-www-modern-5063b328-20250815";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -19598,14 +19598,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2087 = React.version;
if (
"19.2.0-www-classic-eaf6adb1-20250815" !==
"19.2.0-www-classic-5063b328-20250815" !==
isomorphicReactPackageVersion$jscomp$inline_2087
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2087,
"19.2.0-www-classic-eaf6adb1-20250815"
"19.2.0-www-classic-5063b328-20250815"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -19623,10 +19623,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2712 = {
bundleType: 0,
version: "19.2.0-www-classic-eaf6adb1-20250815",
version: "19.2.0-www-classic-5063b328-20250815",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-eaf6adb1-20250815"
reconcilerVersion: "19.2.0-www-classic-5063b328-20250815"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2713 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -20038,4 +20038,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-classic-eaf6adb1-20250815";
exports.version = "19.2.0-www-classic-5063b328-20250815";
@@ -19327,14 +19327,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2077 = React.version;
if (
"19.2.0-www-modern-eaf6adb1-20250815" !==
"19.2.0-www-modern-5063b328-20250815" !==
isomorphicReactPackageVersion$jscomp$inline_2077
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2077,
"19.2.0-www-modern-eaf6adb1-20250815"
"19.2.0-www-modern-5063b328-20250815"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -19352,10 +19352,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2694 = {
bundleType: 0,
version: "19.2.0-www-modern-eaf6adb1-20250815",
version: "19.2.0-www-modern-5063b328-20250815",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-eaf6adb1-20250815"
reconcilerVersion: "19.2.0-www-modern-5063b328-20250815"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2695 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -19767,4 +19767,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-modern-eaf6adb1-20250815";
exports.version = "19.2.0-www-modern-5063b328-20250815";
@@ -21653,14 +21653,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2334 = React.version;
if (
"19.2.0-www-classic-eaf6adb1-20250815" !==
"19.2.0-www-classic-5063b328-20250815" !==
isomorphicReactPackageVersion$jscomp$inline_2334
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2334,
"19.2.0-www-classic-eaf6adb1-20250815"
"19.2.0-www-classic-5063b328-20250815"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -21678,10 +21678,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2336 = {
bundleType: 0,
version: "19.2.0-www-classic-eaf6adb1-20250815",
version: "19.2.0-www-classic-5063b328-20250815",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-eaf6adb1-20250815"
reconcilerVersion: "19.2.0-www-classic-5063b328-20250815"
};
enableSchedulingProfiler &&
((internals$jscomp$inline_2336.getLaneLabelMap = getLaneLabelMap),
@@ -22097,7 +22097,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-classic-eaf6adb1-20250815";
exports.version = "19.2.0-www-classic-5063b328-20250815";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -21447,14 +21447,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2324 = React.version;
if (
"19.2.0-www-modern-eaf6adb1-20250815" !==
"19.2.0-www-modern-5063b328-20250815" !==
isomorphicReactPackageVersion$jscomp$inline_2324
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2324,
"19.2.0-www-modern-eaf6adb1-20250815"
"19.2.0-www-modern-5063b328-20250815"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -21472,10 +21472,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2326 = {
bundleType: 0,
version: "19.2.0-www-modern-eaf6adb1-20250815",
version: "19.2.0-www-modern-5063b328-20250815",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-eaf6adb1-20250815"
reconcilerVersion: "19.2.0-www-modern-5063b328-20250815"
};
enableSchedulingProfiler &&
((internals$jscomp$inline_2326.getLaneLabelMap = getLaneLabelMap),
@@ -21891,7 +21891,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-modern-eaf6adb1-20250815";
exports.version = "19.2.0-www-modern-5063b328-20250815";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -10159,5 +10159,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.2.0-www-classic-eaf6adb1-20250815";
exports.version = "19.2.0-www-classic-5063b328-20250815";
})();
@@ -10088,5 +10088,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.2.0-www-modern-eaf6adb1-20250815";
exports.version = "19.2.0-www-modern-5063b328-20250815";
})();
@@ -6892,4 +6892,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.2.0-www-classic-eaf6adb1-20250815";
exports.version = "19.2.0-www-classic-5063b328-20250815";
@@ -6825,4 +6825,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.2.0-www-modern-eaf6adb1-20250815";
exports.version = "19.2.0-www-modern-5063b328-20250815";
@@ -32431,11 +32431,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-www-classic-eaf6adb1-20250815" !== isomorphicReactPackageVersion)
if ("19.2.0-www-classic-5063b328-20250815" !== 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.2.0-www-classic-eaf6adb1-20250815\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-www-classic-5063b328-20250815\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -32478,10 +32478,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-classic-eaf6adb1-20250815",
version: "19.2.0-www-classic-5063b328-20250815",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-eaf6adb1-20250815"
reconcilerVersion: "19.2.0-www-classic-5063b328-20250815"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -33248,5 +33248,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-www-classic-eaf6adb1-20250815";
exports.version = "19.2.0-www-classic-5063b328-20250815";
})();
@@ -32216,11 +32216,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-www-modern-eaf6adb1-20250815" !== isomorphicReactPackageVersion)
if ("19.2.0-www-modern-5063b328-20250815" !== 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.2.0-www-modern-eaf6adb1-20250815\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-www-modern-5063b328-20250815\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -32263,10 +32263,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-modern-eaf6adb1-20250815",
version: "19.2.0-www-modern-5063b328-20250815",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-eaf6adb1-20250815"
reconcilerVersion: "19.2.0-www-modern-5063b328-20250815"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -33033,5 +33033,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-www-modern-eaf6adb1-20250815";
exports.version = "19.2.0-www-modern-5063b328-20250815";
})();
@@ -19914,14 +19914,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2116 = React.version;
if (
"19.2.0-www-classic-eaf6adb1-20250815" !==
"19.2.0-www-classic-5063b328-20250815" !==
isomorphicReactPackageVersion$jscomp$inline_2116
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2116,
"19.2.0-www-classic-eaf6adb1-20250815"
"19.2.0-www-classic-5063b328-20250815"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -19939,10 +19939,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2746 = {
bundleType: 0,
version: "19.2.0-www-classic-eaf6adb1-20250815",
version: "19.2.0-www-classic-5063b328-20250815",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-eaf6adb1-20250815"
reconcilerVersion: "19.2.0-www-classic-5063b328-20250815"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2747 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -20505,4 +20505,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-classic-eaf6adb1-20250815";
exports.version = "19.2.0-www-classic-5063b328-20250815";
@@ -19643,14 +19643,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2106 = React.version;
if (
"19.2.0-www-modern-eaf6adb1-20250815" !==
"19.2.0-www-modern-5063b328-20250815" !==
isomorphicReactPackageVersion$jscomp$inline_2106
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2106,
"19.2.0-www-modern-eaf6adb1-20250815"
"19.2.0-www-modern-5063b328-20250815"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -19668,10 +19668,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2728 = {
bundleType: 0,
version: "19.2.0-www-modern-eaf6adb1-20250815",
version: "19.2.0-www-modern-5063b328-20250815",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-eaf6adb1-20250815"
reconcilerVersion: "19.2.0-www-modern-5063b328-20250815"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2729 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -20234,4 +20234,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-modern-eaf6adb1-20250815";
exports.version = "19.2.0-www-modern-5063b328-20250815";
@@ -22454,7 +22454,7 @@ __DEV__ &&
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-eaf6adb1-20250815"
reconcilerVersion: "19.2.0-www-classic-5063b328-20250815"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -22234,7 +22234,7 @@ __DEV__ &&
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-eaf6adb1-20250815"
reconcilerVersion: "19.2.0-www-modern-5063b328-20250815"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -14048,7 +14048,7 @@ module.exports = function ($$$config) {
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-eaf6adb1-20250815"
reconcilerVersion: "19.2.0-www-classic-5063b328-20250815"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -13765,7 +13765,7 @@ module.exports = function ($$$config) {
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-eaf6adb1-20250815"
reconcilerVersion: "19.2.0-www-modern-5063b328-20250815"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -15464,10 +15464,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-classic-eaf6adb1-20250815",
version: "19.2.0-www-classic-5063b328-20250815",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-eaf6adb1-20250815"
reconcilerVersion: "19.2.0-www-classic-5063b328-20250815"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15602,5 +15602,5 @@ __DEV__ &&
exports.unstable_batchedUpdates = function (fn, a) {
return fn(a);
};
exports.version = "19.2.0-www-classic-eaf6adb1-20250815";
exports.version = "19.2.0-www-classic-5063b328-20250815";
})();
@@ -15464,10 +15464,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-modern-eaf6adb1-20250815",
version: "19.2.0-www-modern-5063b328-20250815",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-eaf6adb1-20250815"
reconcilerVersion: "19.2.0-www-modern-5063b328-20250815"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15602,5 +15602,5 @@ __DEV__ &&
exports.unstable_batchedUpdates = function (fn, a) {
return fn(a);
};
exports.version = "19.2.0-www-modern-eaf6adb1-20250815";
exports.version = "19.2.0-www-modern-5063b328-20250815";
})();
+1 -1
View File
@@ -1 +1 @@
19.2.0-www-classic-eaf6adb1-20250815
19.2.0-www-classic-5063b328-20250815
+1 -1
View File
@@ -1 +1 @@
19.2.0-www-modern-eaf6adb1-20250815
19.2.0-www-modern-5063b328-20250815