Skip to content

Commit

Permalink
[crud] Rename Effect type (#31557)
Browse files Browse the repository at this point in the history
Adds a new `Effect` type which for now just points to the `SimpleEffect`
type, in prepartion for later in the stack where we add more.

---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com). Best reviewed
with [ReviewStack](https://reviewstack.dev/facebook/react/pull/31557).
* #31523
* __->__ #31557
* #31556
* #31555

DiffTrain build for [053b3cb](053b3cb)
  • Loading branch information
poteto committed Nov 15, 2024
1 parent 2be2b99 commit 19e9146
Show file tree
Hide file tree
Showing 23 changed files with 658 additions and 658 deletions.
2 changes: 1 addition & 1 deletion compiled-rn/VERSION_NATIVE_FB
Original file line number Diff line number Diff line change
@@ -1 +1 @@
19.0.0-native-fb-3720870a-20241115
19.0.0-native-fb-053b3cb0-20241115
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<a798802247e4c93dc93c4ea338dfcea0>>
* @generated SignedSource<<3e3e3ab04b05778d88f6aafd134993f1>>
*/

"use strict";
Expand Down Expand Up @@ -420,5 +420,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.0.0-native-fb-3720870a-20241115";
exports.version = "19.0.0-native-fb-053b3cb0-20241115";
})();
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<a12a99f2312342ef445af51ce5717917>>
* @generated SignedSource<<2a06ae239fe7eae90241857be36d10c0>>
*/

"use strict";
Expand Down Expand Up @@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.0.0-native-fb-3720870a-20241115";
exports.version = "19.0.0-native-fb-053b3cb0-20241115";
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<a12a99f2312342ef445af51ce5717917>>
* @generated SignedSource<<2a06ae239fe7eae90241857be36d10c0>>
*/

"use strict";
Expand Down Expand Up @@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.0.0-native-fb-3720870a-20241115";
exports.version = "19.0.0-native-fb-053b3cb0-20241115";

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<898c5585689cafb6710c089e8df349ba>>
* @generated SignedSource<<e1f4d52eecc049e0069736a7924cd630>>
*/

/*
Expand Down Expand Up @@ -2073,14 +2073,14 @@ var isInputEventSupported = !1;
if (canUseDOM) {
var JSCompiler_inline_result$jscomp$293;
if (canUseDOM) {
var isSupported$jscomp$inline_426 = "oninput" in document;
if (!isSupported$jscomp$inline_426) {
var element$jscomp$inline_427 = document.createElement("div");
element$jscomp$inline_427.setAttribute("oninput", "return;");
isSupported$jscomp$inline_426 =
"function" === typeof element$jscomp$inline_427.oninput;
var isSupported$jscomp$inline_427 = "oninput" in document;
if (!isSupported$jscomp$inline_427) {
var element$jscomp$inline_428 = document.createElement("div");
element$jscomp$inline_428.setAttribute("oninput", "return;");
isSupported$jscomp$inline_427 =
"function" === typeof element$jscomp$inline_428.oninput;
}
JSCompiler_inline_result$jscomp$293 = isSupported$jscomp$inline_426;
JSCompiler_inline_result$jscomp$293 = isSupported$jscomp$inline_427;
} else JSCompiler_inline_result$jscomp$293 = !1;
isInputEventSupported =
JSCompiler_inline_result$jscomp$293 &&
Expand Down Expand Up @@ -12152,20 +12152,20 @@ function extractEvents$1(
}
}
for (
var i$jscomp$inline_1454 = 0;
i$jscomp$inline_1454 < simpleEventPluginEvents.length;
i$jscomp$inline_1454++
var i$jscomp$inline_1460 = 0;
i$jscomp$inline_1460 < simpleEventPluginEvents.length;
i$jscomp$inline_1460++
) {
var eventName$jscomp$inline_1455 =
simpleEventPluginEvents[i$jscomp$inline_1454],
domEventName$jscomp$inline_1456 =
eventName$jscomp$inline_1455.toLowerCase(),
capitalizedEvent$jscomp$inline_1457 =
eventName$jscomp$inline_1455[0].toUpperCase() +
eventName$jscomp$inline_1455.slice(1);
var eventName$jscomp$inline_1461 =
simpleEventPluginEvents[i$jscomp$inline_1460],
domEventName$jscomp$inline_1462 =
eventName$jscomp$inline_1461.toLowerCase(),
capitalizedEvent$jscomp$inline_1463 =
eventName$jscomp$inline_1461[0].toUpperCase() +
eventName$jscomp$inline_1461.slice(1);
registerSimpleEvent(
domEventName$jscomp$inline_1456,
"on" + capitalizedEvent$jscomp$inline_1457
domEventName$jscomp$inline_1462,
"on" + capitalizedEvent$jscomp$inline_1463
);
}
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
Expand Down Expand Up @@ -15635,16 +15635,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
0 === i && attemptExplicitHydrationTarget(target);
}
};
var isomorphicReactPackageVersion$jscomp$inline_1697 = React.version;
var isomorphicReactPackageVersion$jscomp$inline_1703 = React.version;
if (
"19.0.0-native-fb-3720870a-20241115" !==
isomorphicReactPackageVersion$jscomp$inline_1697
"19.0.0-native-fb-053b3cb0-20241115" !==
isomorphicReactPackageVersion$jscomp$inline_1703
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1697,
"19.0.0-native-fb-3720870a-20241115"
isomorphicReactPackageVersion$jscomp$inline_1703,
"19.0.0-native-fb-053b3cb0-20241115"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
Expand All @@ -15664,25 +15664,25 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
null === componentOrElement ? null : componentOrElement.stateNode;
return componentOrElement;
};
var internals$jscomp$inline_2155 = {
var internals$jscomp$inline_2161 = {
bundleType: 0,
version: "19.0.0-native-fb-3720870a-20241115",
version: "19.0.0-native-fb-053b3cb0-20241115",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-native-fb-3720870a-20241115"
reconcilerVersion: "19.0.0-native-fb-053b3cb0-20241115"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2156 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
var hook$jscomp$inline_2162 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
if (
!hook$jscomp$inline_2156.isDisabled &&
hook$jscomp$inline_2156.supportsFiber
!hook$jscomp$inline_2162.isDisabled &&
hook$jscomp$inline_2162.supportsFiber
)
try {
(rendererID = hook$jscomp$inline_2156.inject(
internals$jscomp$inline_2155
(rendererID = hook$jscomp$inline_2162.inject(
internals$jscomp$inline_2161
)),
(injectedHook = hook$jscomp$inline_2156);
(injectedHook = hook$jscomp$inline_2162);
} catch (err) {}
}
exports.createRoot = function (container, options) {
Expand Down Expand Up @@ -15774,4 +15774,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.0.0-native-fb-3720870a-20241115";
exports.version = "19.0.0-native-fb-053b3cb0-20241115";
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<334d633dbbb333252d6bd75077e0dd7c>>
* @generated SignedSource<<bb3f33a0ece25a762fc63357c217d308>>
*/

/*
Expand Down Expand Up @@ -2168,14 +2168,14 @@ var isInputEventSupported = !1;
if (canUseDOM) {
var JSCompiler_inline_result$jscomp$309;
if (canUseDOM) {
var isSupported$jscomp$inline_442 = "oninput" in document;
if (!isSupported$jscomp$inline_442) {
var element$jscomp$inline_443 = document.createElement("div");
element$jscomp$inline_443.setAttribute("oninput", "return;");
isSupported$jscomp$inline_442 =
"function" === typeof element$jscomp$inline_443.oninput;
var isSupported$jscomp$inline_443 = "oninput" in document;
if (!isSupported$jscomp$inline_443) {
var element$jscomp$inline_444 = document.createElement("div");
element$jscomp$inline_444.setAttribute("oninput", "return;");
isSupported$jscomp$inline_443 =
"function" === typeof element$jscomp$inline_444.oninput;
}
JSCompiler_inline_result$jscomp$309 = isSupported$jscomp$inline_442;
JSCompiler_inline_result$jscomp$309 = isSupported$jscomp$inline_443;
} else JSCompiler_inline_result$jscomp$309 = !1;
isInputEventSupported =
JSCompiler_inline_result$jscomp$309 &&
Expand Down Expand Up @@ -12798,20 +12798,20 @@ function extractEvents$1(
}
}
for (
var i$jscomp$inline_1542 = 0;
i$jscomp$inline_1542 < simpleEventPluginEvents.length;
i$jscomp$inline_1542++
var i$jscomp$inline_1548 = 0;
i$jscomp$inline_1548 < simpleEventPluginEvents.length;
i$jscomp$inline_1548++
) {
var eventName$jscomp$inline_1543 =
simpleEventPluginEvents[i$jscomp$inline_1542],
domEventName$jscomp$inline_1544 =
eventName$jscomp$inline_1543.toLowerCase(),
capitalizedEvent$jscomp$inline_1545 =
eventName$jscomp$inline_1543[0].toUpperCase() +
eventName$jscomp$inline_1543.slice(1);
var eventName$jscomp$inline_1549 =
simpleEventPluginEvents[i$jscomp$inline_1548],
domEventName$jscomp$inline_1550 =
eventName$jscomp$inline_1549.toLowerCase(),
capitalizedEvent$jscomp$inline_1551 =
eventName$jscomp$inline_1549[0].toUpperCase() +
eventName$jscomp$inline_1549.slice(1);
registerSimpleEvent(
domEventName$jscomp$inline_1544,
"on" + capitalizedEvent$jscomp$inline_1545
domEventName$jscomp$inline_1550,
"on" + capitalizedEvent$jscomp$inline_1551
);
}
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
Expand Down Expand Up @@ -16289,16 +16289,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
0 === i && attemptExplicitHydrationTarget(target);
}
};
var isomorphicReactPackageVersion$jscomp$inline_1787 = React.version;
var isomorphicReactPackageVersion$jscomp$inline_1793 = React.version;
if (
"19.0.0-native-fb-3720870a-20241115" !==
isomorphicReactPackageVersion$jscomp$inline_1787
"19.0.0-native-fb-053b3cb0-20241115" !==
isomorphicReactPackageVersion$jscomp$inline_1793
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1787,
"19.0.0-native-fb-3720870a-20241115"
isomorphicReactPackageVersion$jscomp$inline_1793,
"19.0.0-native-fb-053b3cb0-20241115"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
Expand All @@ -16318,13 +16318,13 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
null === componentOrElement ? null : componentOrElement.stateNode;
return componentOrElement;
};
var internals$jscomp$inline_1794 = {
var internals$jscomp$inline_1800 = {
bundleType: 0,
version: "19.0.0-native-fb-3720870a-20241115",
version: "19.0.0-native-fb-053b3cb0-20241115",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-native-fb-3720870a-20241115",
reconcilerVersion: "19.0.0-native-fb-053b3cb0-20241115",
getLaneLabelMap: function () {
for (
var map = new Map(), lane = 1, index$290 = 0;
Expand All @@ -16342,16 +16342,16 @@ var internals$jscomp$inline_1794 = {
}
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2207 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
var hook$jscomp$inline_2213 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
if (
!hook$jscomp$inline_2207.isDisabled &&
hook$jscomp$inline_2207.supportsFiber
!hook$jscomp$inline_2213.isDisabled &&
hook$jscomp$inline_2213.supportsFiber
)
try {
(rendererID = hook$jscomp$inline_2207.inject(
internals$jscomp$inline_1794
(rendererID = hook$jscomp$inline_2213.inject(
internals$jscomp$inline_1800
)),
(injectedHook = hook$jscomp$inline_2207);
(injectedHook = hook$jscomp$inline_2213);
} catch (err) {}
}
exports.createRoot = function (container, options) {
Expand Down Expand Up @@ -16443,4 +16443,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.0.0-native-fb-3720870a-20241115";
exports.version = "19.0.0-native-fb-053b3cb0-20241115";
Loading

0 comments on commit 19e9146

Please sign in to comment.