Skip to content

Commit

Permalink
Cleanup enableFormActions flag (#28614)
Browse files Browse the repository at this point in the history
Cleanup enableFormActions flag

DiffTrain build for [527ed72](527ed72)
  • Loading branch information
kassens committed Mar 25, 2024
1 parent 01f55b7 commit 97218a1
Show file tree
Hide file tree
Showing 18 changed files with 1,160 additions and 1,225 deletions.
2 changes: 1 addition & 1 deletion compiled/facebook-www/REVISION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5c65b27587c0507d66a84e055de948fc62d471d4
527ed72bfd9f5c0045da468ad01db968a9961ad7
2 changes: 1 addition & 1 deletion compiled/facebook-www/React-prod.classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -640,4 +640,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactCurrentDispatcher.current.useTransition();
};
exports.version = "18.3.0-www-classic-0b11d62a";
exports.version = "18.3.0-www-classic-af285d7f";
2 changes: 1 addition & 1 deletion compiled/facebook-www/React-prod.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -632,4 +632,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactCurrentDispatcher.current.useTransition();
};
exports.version = "18.3.0-www-modern-f4952887";
exports.version = "18.3.0-www-modern-6932c29f";
2 changes: 1 addition & 1 deletion compiled/facebook-www/React-profiling.classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactCurrentDispatcher.current.useTransition();
};
exports.version = "18.3.0-www-classic-8f576d7a";
exports.version = "18.3.0-www-classic-07a53cb8";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
Expand Down
2 changes: 1 addition & 1 deletion compiled/facebook-www/ReactART-dev.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ if (__DEV__) {
return self;
}

var ReactVersion = "18.3.0-www-modern-8fa3b5b3";
var ReactVersion = "18.3.0-www-modern-f907edbd";

var LegacyRoot = 0;
var ConcurrentRoot = 1;
Expand Down
326 changes: 156 additions & 170 deletions compiled/facebook-www/ReactDOM-dev.classic.js

Large diffs are not rendered by default.

326 changes: 156 additions & 170 deletions compiled/facebook-www/ReactDOM-dev.modern.js

Large diffs are not rendered by default.

102 changes: 51 additions & 51 deletions compiled/facebook-www/ReactDOM-prod.classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -13120,19 +13120,19 @@ function getTargetInstForChangeEvent(domEventName, targetInst) {
}
var isInputEventSupported = !1;
if (canUseDOM) {
var JSCompiler_inline_result$jscomp$351;
var JSCompiler_inline_result$jscomp$350;
if (canUseDOM) {
var isSupported$jscomp$inline_1551 = "oninput" in document;
if (!isSupported$jscomp$inline_1551) {
var element$jscomp$inline_1552 = document.createElement("div");
element$jscomp$inline_1552.setAttribute("oninput", "return;");
isSupported$jscomp$inline_1551 =
"function" === typeof element$jscomp$inline_1552.oninput;
var isSupported$jscomp$inline_1550 = "oninput" in document;
if (!isSupported$jscomp$inline_1550) {
var element$jscomp$inline_1551 = document.createElement("div");
element$jscomp$inline_1551.setAttribute("oninput", "return;");
isSupported$jscomp$inline_1550 =
"function" === typeof element$jscomp$inline_1551.oninput;
}
JSCompiler_inline_result$jscomp$351 = isSupported$jscomp$inline_1551;
} else JSCompiler_inline_result$jscomp$351 = !1;
JSCompiler_inline_result$jscomp$350 = isSupported$jscomp$inline_1550;
} else JSCompiler_inline_result$jscomp$350 = !1;
isInputEventSupported =
JSCompiler_inline_result$jscomp$351 &&
JSCompiler_inline_result$jscomp$350 &&
(!document.documentMode || 9 < document.documentMode);
}
function stopWatchingForValueChange() {
Expand Down Expand Up @@ -13504,20 +13504,20 @@ function extractEvents$1(
}
}
for (
var i$jscomp$inline_1592 = 0;
i$jscomp$inline_1592 < simpleEventPluginEvents.length;
i$jscomp$inline_1592++
var i$jscomp$inline_1591 = 0;
i$jscomp$inline_1591 < simpleEventPluginEvents.length;
i$jscomp$inline_1591++
) {
var eventName$jscomp$inline_1593 =
simpleEventPluginEvents[i$jscomp$inline_1592],
domEventName$jscomp$inline_1594 =
eventName$jscomp$inline_1593.toLowerCase(),
capitalizedEvent$jscomp$inline_1595 =
eventName$jscomp$inline_1593[0].toUpperCase() +
eventName$jscomp$inline_1593.slice(1);
var eventName$jscomp$inline_1592 =
simpleEventPluginEvents[i$jscomp$inline_1591],
domEventName$jscomp$inline_1593 =
eventName$jscomp$inline_1592.toLowerCase(),
capitalizedEvent$jscomp$inline_1594 =
eventName$jscomp$inline_1592[0].toUpperCase() +
eventName$jscomp$inline_1592.slice(1);
registerSimpleEvent(
domEventName$jscomp$inline_1594,
"on" + capitalizedEvent$jscomp$inline_1595
domEventName$jscomp$inline_1593,
"on" + capitalizedEvent$jscomp$inline_1594
);
}
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
Expand Down Expand Up @@ -17122,11 +17122,11 @@ function legacyCreateRootFromDOMContainer(
if ("function" === typeof callback) {
var originalCallback = callback;
callback = function () {
var instance = getPublicRootInstance(root$286);
var instance = getPublicRootInstance(root$285);
originalCallback.call(instance);
};
}
var root$286 = createHydrationContainer(
var root$285 = createHydrationContainer(
initialChildren,
callback,
container,
Expand All @@ -17139,23 +17139,23 @@ function legacyCreateRootFromDOMContainer(
null,
null
);
container._reactRootContainer = root$286;
container[internalContainerInstanceKey] = root$286.current;
container._reactRootContainer = root$285;
container[internalContainerInstanceKey] = root$285.current;
listenToAllSupportedEvents(
8 === container.nodeType ? container.parentNode : container
);
flushSync$1();
return root$286;
return root$285;
}
clearContainer(container);
if ("function" === typeof callback) {
var originalCallback$287 = callback;
var originalCallback$286 = callback;
callback = function () {
var instance = getPublicRootInstance(root$288);
originalCallback$287.call(instance);
var instance = getPublicRootInstance(root$287);
originalCallback$286.call(instance);
};
}
var root$288 = createFiberRoot(
var root$287 = createFiberRoot(
container,
0,
!1,
Expand All @@ -17168,15 +17168,15 @@ function legacyCreateRootFromDOMContainer(
null,
null
);
container._reactRootContainer = root$288;
container[internalContainerInstanceKey] = root$288.current;
container._reactRootContainer = root$287;
container[internalContainerInstanceKey] = root$287.current;
listenToAllSupportedEvents(
8 === container.nodeType ? container.parentNode : container
);
flushSync$1(function () {
updateContainer(initialChildren, root$288, parentComponent, callback);
updateContainer(initialChildren, root$287, parentComponent, callback);
});
return root$288;
return root$287;
}
function legacyRenderSubtreeIntoContainer(
parentComponent,
Expand Down Expand Up @@ -17241,17 +17241,17 @@ Internals.Events = [
restoreStateIfNeeded,
batchedUpdates$1
];
var devToolsConfig$jscomp$inline_1817 = {
var devToolsConfig$jscomp$inline_1816 = {
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 0,
version: "18.3.0-www-classic-402df053",
version: "18.3.0-www-classic-6f877b24",
rendererPackageName: "react-dom"
};
var internals$jscomp$inline_2176 = {
bundleType: devToolsConfig$jscomp$inline_1817.bundleType,
version: devToolsConfig$jscomp$inline_1817.version,
rendererPackageName: devToolsConfig$jscomp$inline_1817.rendererPackageName,
rendererConfig: devToolsConfig$jscomp$inline_1817.rendererConfig,
var internals$jscomp$inline_2175 = {
bundleType: devToolsConfig$jscomp$inline_1816.bundleType,
version: devToolsConfig$jscomp$inline_1816.version,
rendererPackageName: devToolsConfig$jscomp$inline_1816.rendererPackageName,
rendererConfig: devToolsConfig$jscomp$inline_1816.rendererConfig,
overrideHookState: null,
overrideHookStateDeletePath: null,
overrideHookStateRenamePath: null,
Expand All @@ -17267,26 +17267,26 @@ var internals$jscomp$inline_2176 = {
return null === fiber ? null : fiber.stateNode;
},
findFiberByHostInstance:
devToolsConfig$jscomp$inline_1817.findFiberByHostInstance ||
devToolsConfig$jscomp$inline_1816.findFiberByHostInstance ||
emptyFindFiberByHostInstance,
findHostInstancesForRefresh: null,
scheduleRefresh: null,
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-www-classic-402df053"
reconcilerVersion: "18.3.0-www-classic-6f877b24"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2177 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
var hook$jscomp$inline_2176 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
if (
!hook$jscomp$inline_2177.isDisabled &&
hook$jscomp$inline_2177.supportsFiber
!hook$jscomp$inline_2176.isDisabled &&
hook$jscomp$inline_2176.supportsFiber
)
try {
(rendererID = hook$jscomp$inline_2177.inject(
internals$jscomp$inline_2176
(rendererID = hook$jscomp$inline_2176.inject(
internals$jscomp$inline_2175
)),
(injectedHook = hook$jscomp$inline_2177);
(injectedHook = hook$jscomp$inline_2176);
} catch (err) {}
}
assign(Internals, {
Expand Down Expand Up @@ -17605,4 +17605,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactCurrentDispatcher$2.current.useHostTransitionStatus();
};
exports.version = "18.3.0-www-classic-402df053";
exports.version = "18.3.0-www-classic-6f877b24";
Loading

0 comments on commit 97218a1

Please sign in to comment.