Skip to content

Commit 19e9146

Browse files
committed
[crud] Rename Effect type (#31557)
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)
1 parent 2be2b99 commit 19e9146

23 files changed

+658
-658
lines changed

compiled-rn/VERSION_NATIVE_FB

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
19.0.0-native-fb-3720870a-20241115
1+
19.0.0-native-fb-053b3cb0-20241115

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-dev.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<a798802247e4c93dc93c4ea338dfcea0>>
10+
* @generated SignedSource<<3e3e3ab04b05778d88f6aafd134993f1>>
1111
*/
1212

1313
"use strict";
@@ -420,5 +420,5 @@ __DEV__ &&
420420
exports.useFormStatus = function () {
421421
return resolveDispatcher().useHostTransitionStatus();
422422
};
423-
exports.version = "19.0.0-native-fb-3720870a-20241115";
423+
exports.version = "19.0.0-native-fb-053b3cb0-20241115";
424424
})();

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-prod.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<a12a99f2312342ef445af51ce5717917>>
10+
* @generated SignedSource<<2a06ae239fe7eae90241857be36d10c0>>
1111
*/
1212

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

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-profiling.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<a12a99f2312342ef445af51ce5717917>>
10+
* @generated SignedSource<<2a06ae239fe7eae90241857be36d10c0>>
1111
*/
1212

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

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-dev.js

+174-174
Large diffs are not rendered by default.

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-prod.js

+35-35
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<898c5585689cafb6710c089e8df349ba>>
10+
* @generated SignedSource<<e1f4d52eecc049e0069736a7924cd630>>
1111
*/
1212

1313
/*
@@ -2073,14 +2073,14 @@ var isInputEventSupported = !1;
20732073
if (canUseDOM) {
20742074
var JSCompiler_inline_result$jscomp$293;
20752075
if (canUseDOM) {
2076-
var isSupported$jscomp$inline_426 = "oninput" in document;
2077-
if (!isSupported$jscomp$inline_426) {
2078-
var element$jscomp$inline_427 = document.createElement("div");
2079-
element$jscomp$inline_427.setAttribute("oninput", "return;");
2080-
isSupported$jscomp$inline_426 =
2081-
"function" === typeof element$jscomp$inline_427.oninput;
2076+
var isSupported$jscomp$inline_427 = "oninput" in document;
2077+
if (!isSupported$jscomp$inline_427) {
2078+
var element$jscomp$inline_428 = document.createElement("div");
2079+
element$jscomp$inline_428.setAttribute("oninput", "return;");
2080+
isSupported$jscomp$inline_427 =
2081+
"function" === typeof element$jscomp$inline_428.oninput;
20822082
}
2083-
JSCompiler_inline_result$jscomp$293 = isSupported$jscomp$inline_426;
2083+
JSCompiler_inline_result$jscomp$293 = isSupported$jscomp$inline_427;
20842084
} else JSCompiler_inline_result$jscomp$293 = !1;
20852085
isInputEventSupported =
20862086
JSCompiler_inline_result$jscomp$293 &&
@@ -12152,20 +12152,20 @@ function extractEvents$1(
1215212152
}
1215312153
}
1215412154
for (
12155-
var i$jscomp$inline_1454 = 0;
12156-
i$jscomp$inline_1454 < simpleEventPluginEvents.length;
12157-
i$jscomp$inline_1454++
12155+
var i$jscomp$inline_1460 = 0;
12156+
i$jscomp$inline_1460 < simpleEventPluginEvents.length;
12157+
i$jscomp$inline_1460++
1215812158
) {
12159-
var eventName$jscomp$inline_1455 =
12160-
simpleEventPluginEvents[i$jscomp$inline_1454],
12161-
domEventName$jscomp$inline_1456 =
12162-
eventName$jscomp$inline_1455.toLowerCase(),
12163-
capitalizedEvent$jscomp$inline_1457 =
12164-
eventName$jscomp$inline_1455[0].toUpperCase() +
12165-
eventName$jscomp$inline_1455.slice(1);
12159+
var eventName$jscomp$inline_1461 =
12160+
simpleEventPluginEvents[i$jscomp$inline_1460],
12161+
domEventName$jscomp$inline_1462 =
12162+
eventName$jscomp$inline_1461.toLowerCase(),
12163+
capitalizedEvent$jscomp$inline_1463 =
12164+
eventName$jscomp$inline_1461[0].toUpperCase() +
12165+
eventName$jscomp$inline_1461.slice(1);
1216612166
registerSimpleEvent(
12167-
domEventName$jscomp$inline_1456,
12168-
"on" + capitalizedEvent$jscomp$inline_1457
12167+
domEventName$jscomp$inline_1462,
12168+
"on" + capitalizedEvent$jscomp$inline_1463
1216912169
);
1217012170
}
1217112171
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
@@ -15635,16 +15635,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
1563515635
0 === i && attemptExplicitHydrationTarget(target);
1563615636
}
1563715637
};
15638-
var isomorphicReactPackageVersion$jscomp$inline_1697 = React.version;
15638+
var isomorphicReactPackageVersion$jscomp$inline_1703 = React.version;
1563915639
if (
15640-
"19.0.0-native-fb-3720870a-20241115" !==
15641-
isomorphicReactPackageVersion$jscomp$inline_1697
15640+
"19.0.0-native-fb-053b3cb0-20241115" !==
15641+
isomorphicReactPackageVersion$jscomp$inline_1703
1564215642
)
1564315643
throw Error(
1564415644
formatProdErrorMessage(
1564515645
527,
15646-
isomorphicReactPackageVersion$jscomp$inline_1697,
15647-
"19.0.0-native-fb-3720870a-20241115"
15646+
isomorphicReactPackageVersion$jscomp$inline_1703,
15647+
"19.0.0-native-fb-053b3cb0-20241115"
1564815648
)
1564915649
);
1565015650
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -15664,25 +15664,25 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
1566415664
null === componentOrElement ? null : componentOrElement.stateNode;
1566515665
return componentOrElement;
1566615666
};
15667-
var internals$jscomp$inline_2155 = {
15667+
var internals$jscomp$inline_2161 = {
1566815668
bundleType: 0,
15669-
version: "19.0.0-native-fb-3720870a-20241115",
15669+
version: "19.0.0-native-fb-053b3cb0-20241115",
1567015670
rendererPackageName: "react-dom",
1567115671
currentDispatcherRef: ReactSharedInternals,
1567215672
findFiberByHostInstance: getClosestInstanceFromNode,
15673-
reconcilerVersion: "19.0.0-native-fb-3720870a-20241115"
15673+
reconcilerVersion: "19.0.0-native-fb-053b3cb0-20241115"
1567415674
};
1567515675
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
15676-
var hook$jscomp$inline_2156 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
15676+
var hook$jscomp$inline_2162 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
1567715677
if (
15678-
!hook$jscomp$inline_2156.isDisabled &&
15679-
hook$jscomp$inline_2156.supportsFiber
15678+
!hook$jscomp$inline_2162.isDisabled &&
15679+
hook$jscomp$inline_2162.supportsFiber
1568015680
)
1568115681
try {
15682-
(rendererID = hook$jscomp$inline_2156.inject(
15683-
internals$jscomp$inline_2155
15682+
(rendererID = hook$jscomp$inline_2162.inject(
15683+
internals$jscomp$inline_2161
1568415684
)),
15685-
(injectedHook = hook$jscomp$inline_2156);
15685+
(injectedHook = hook$jscomp$inline_2162);
1568615686
} catch (err) {}
1568715687
}
1568815688
exports.createRoot = function (container, options) {
@@ -15774,4 +15774,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
1577415774
listenToAllSupportedEvents(container);
1577515775
return new ReactDOMHydrationRoot(initialChildren);
1577615776
};
15777-
exports.version = "19.0.0-native-fb-3720870a-20241115";
15777+
exports.version = "19.0.0-native-fb-053b3cb0-20241115";

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-profiling.js

+35-35
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<334d633dbbb333252d6bd75077e0dd7c>>
10+
* @generated SignedSource<<bb3f33a0ece25a762fc63357c217d308>>
1111
*/
1212

1313
/*
@@ -2168,14 +2168,14 @@ var isInputEventSupported = !1;
21682168
if (canUseDOM) {
21692169
var JSCompiler_inline_result$jscomp$309;
21702170
if (canUseDOM) {
2171-
var isSupported$jscomp$inline_442 = "oninput" in document;
2172-
if (!isSupported$jscomp$inline_442) {
2173-
var element$jscomp$inline_443 = document.createElement("div");
2174-
element$jscomp$inline_443.setAttribute("oninput", "return;");
2175-
isSupported$jscomp$inline_442 =
2176-
"function" === typeof element$jscomp$inline_443.oninput;
2171+
var isSupported$jscomp$inline_443 = "oninput" in document;
2172+
if (!isSupported$jscomp$inline_443) {
2173+
var element$jscomp$inline_444 = document.createElement("div");
2174+
element$jscomp$inline_444.setAttribute("oninput", "return;");
2175+
isSupported$jscomp$inline_443 =
2176+
"function" === typeof element$jscomp$inline_444.oninput;
21772177
}
2178-
JSCompiler_inline_result$jscomp$309 = isSupported$jscomp$inline_442;
2178+
JSCompiler_inline_result$jscomp$309 = isSupported$jscomp$inline_443;
21792179
} else JSCompiler_inline_result$jscomp$309 = !1;
21802180
isInputEventSupported =
21812181
JSCompiler_inline_result$jscomp$309 &&
@@ -12798,20 +12798,20 @@ function extractEvents$1(
1279812798
}
1279912799
}
1280012800
for (
12801-
var i$jscomp$inline_1542 = 0;
12802-
i$jscomp$inline_1542 < simpleEventPluginEvents.length;
12803-
i$jscomp$inline_1542++
12801+
var i$jscomp$inline_1548 = 0;
12802+
i$jscomp$inline_1548 < simpleEventPluginEvents.length;
12803+
i$jscomp$inline_1548++
1280412804
) {
12805-
var eventName$jscomp$inline_1543 =
12806-
simpleEventPluginEvents[i$jscomp$inline_1542],
12807-
domEventName$jscomp$inline_1544 =
12808-
eventName$jscomp$inline_1543.toLowerCase(),
12809-
capitalizedEvent$jscomp$inline_1545 =
12810-
eventName$jscomp$inline_1543[0].toUpperCase() +
12811-
eventName$jscomp$inline_1543.slice(1);
12805+
var eventName$jscomp$inline_1549 =
12806+
simpleEventPluginEvents[i$jscomp$inline_1548],
12807+
domEventName$jscomp$inline_1550 =
12808+
eventName$jscomp$inline_1549.toLowerCase(),
12809+
capitalizedEvent$jscomp$inline_1551 =
12810+
eventName$jscomp$inline_1549[0].toUpperCase() +
12811+
eventName$jscomp$inline_1549.slice(1);
1281212812
registerSimpleEvent(
12813-
domEventName$jscomp$inline_1544,
12814-
"on" + capitalizedEvent$jscomp$inline_1545
12813+
domEventName$jscomp$inline_1550,
12814+
"on" + capitalizedEvent$jscomp$inline_1551
1281512815
);
1281612816
}
1281712817
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
@@ -16289,16 +16289,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
1628916289
0 === i && attemptExplicitHydrationTarget(target);
1629016290
}
1629116291
};
16292-
var isomorphicReactPackageVersion$jscomp$inline_1787 = React.version;
16292+
var isomorphicReactPackageVersion$jscomp$inline_1793 = React.version;
1629316293
if (
16294-
"19.0.0-native-fb-3720870a-20241115" !==
16295-
isomorphicReactPackageVersion$jscomp$inline_1787
16294+
"19.0.0-native-fb-053b3cb0-20241115" !==
16295+
isomorphicReactPackageVersion$jscomp$inline_1793
1629616296
)
1629716297
throw Error(
1629816298
formatProdErrorMessage(
1629916299
527,
16300-
isomorphicReactPackageVersion$jscomp$inline_1787,
16301-
"19.0.0-native-fb-3720870a-20241115"
16300+
isomorphicReactPackageVersion$jscomp$inline_1793,
16301+
"19.0.0-native-fb-053b3cb0-20241115"
1630216302
)
1630316303
);
1630416304
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -16318,13 +16318,13 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
1631816318
null === componentOrElement ? null : componentOrElement.stateNode;
1631916319
return componentOrElement;
1632016320
};
16321-
var internals$jscomp$inline_1794 = {
16321+
var internals$jscomp$inline_1800 = {
1632216322
bundleType: 0,
16323-
version: "19.0.0-native-fb-3720870a-20241115",
16323+
version: "19.0.0-native-fb-053b3cb0-20241115",
1632416324
rendererPackageName: "react-dom",
1632516325
currentDispatcherRef: ReactSharedInternals,
1632616326
findFiberByHostInstance: getClosestInstanceFromNode,
16327-
reconcilerVersion: "19.0.0-native-fb-3720870a-20241115",
16327+
reconcilerVersion: "19.0.0-native-fb-053b3cb0-20241115",
1632816328
getLaneLabelMap: function () {
1632916329
for (
1633016330
var map = new Map(), lane = 1, index$290 = 0;
@@ -16342,16 +16342,16 @@ var internals$jscomp$inline_1794 = {
1634216342
}
1634316343
};
1634416344
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
16345-
var hook$jscomp$inline_2207 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
16345+
var hook$jscomp$inline_2213 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
1634616346
if (
16347-
!hook$jscomp$inline_2207.isDisabled &&
16348-
hook$jscomp$inline_2207.supportsFiber
16347+
!hook$jscomp$inline_2213.isDisabled &&
16348+
hook$jscomp$inline_2213.supportsFiber
1634916349
)
1635016350
try {
16351-
(rendererID = hook$jscomp$inline_2207.inject(
16352-
internals$jscomp$inline_1794
16351+
(rendererID = hook$jscomp$inline_2213.inject(
16352+
internals$jscomp$inline_1800
1635316353
)),
16354-
(injectedHook = hook$jscomp$inline_2207);
16354+
(injectedHook = hook$jscomp$inline_2213);
1635516355
} catch (err) {}
1635616356
}
1635716357
exports.createRoot = function (container, options) {
@@ -16443,4 +16443,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
1644316443
listenToAllSupportedEvents(container);
1644416444
return new ReactDOMHydrationRoot(initialChildren);
1644516445
};
16446-
exports.version = "19.0.0-native-fb-3720870a-20241115";
16446+
exports.version = "19.0.0-native-fb-053b3cb0-20241115";

0 commit comments

Comments
 (0)