Skip to content

Commit 990171b

Browse files
committed
[Fiber] Ensure useEffectEvent reads latest values in forwardRef and memo() Components (#34831)
DiffTrain build for [93d4458](93d4458)
1 parent e835d66 commit 990171b

24 files changed

+117
-132
lines changed

compiled-rn/VERSION_NATIVE_FB

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
19.3.0-native-fb-1d68bce1-20251012
1+
19.3.0-native-fb-93d4458f-20251013

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<e694b1261b3b3d90038f5015c91348c4>>
10+
* @generated SignedSource<<fbee8b10d30fac1207aa8c8cc0039314>>
1111
*/
1212

1313
"use strict";
@@ -404,5 +404,5 @@ __DEV__ &&
404404
exports.useFormStatus = function () {
405405
return resolveDispatcher().useHostTransitionStatus();
406406
};
407-
exports.version = "19.3.0-native-fb-1d68bce1-20251012";
407+
exports.version = "19.3.0-native-fb-93d4458f-20251013";
408408
})();

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<f69e70dc8959a946ef47f8329efab35a>>
10+
* @generated SignedSource<<e00ca1b235145266fa0df0e704eb4668>>
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.3.0-native-fb-1d68bce1-20251012";
206+
exports.version = "19.3.0-native-fb-93d4458f-20251013";

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<f69e70dc8959a946ef47f8329efab35a>>
10+
* @generated SignedSource<<e00ca1b235145266fa0df0e704eb4668>>
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.3.0-native-fb-1d68bce1-20251012";
206+
exports.version = "19.3.0-native-fb-93d4458f-20251013";

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

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<de1109bf8744ce614ba20c259a8c1677>>
10+
* @generated SignedSource<<db8fb3e7e239fd868c6114cc5122d8ca>>
1111
*/
1212

1313
/*
@@ -14698,6 +14698,8 @@ __DEV__ &&
1469814698
anchorOffset = root.flags;
1469914699
switch (root.tag) {
1470014700
case 0:
14701+
case 11:
14702+
case 15:
1470114703
if (
1470214704
0 !== (anchorOffset & 4) &&
1470314705
((root = root.updateQueue),
@@ -14712,9 +14714,6 @@ __DEV__ &&
1471214714
(anchorOffset = root[JSCompiler_temp]),
1471314715
(anchorOffset.ref.impl = anchorOffset.nextImpl);
1471414716
break;
14715-
case 11:
14716-
case 15:
14717-
break;
1471814717
case 1:
1471914718
0 !== (anchorOffset & 1024) &&
1472014719
null !== JSCompiler_temp &&
@@ -30098,11 +30097,11 @@ __DEV__ &&
3009830097
};
3009930098
(function () {
3010030099
var isomorphicReactPackageVersion = React.version;
30101-
if ("19.3.0-native-fb-1d68bce1-20251012" !== isomorphicReactPackageVersion)
30100+
if ("19.3.0-native-fb-93d4458f-20251013" !== isomorphicReactPackageVersion)
3010230101
throw Error(
3010330102
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
3010430103
(isomorphicReactPackageVersion +
30105-
"\n - react-dom: 19.3.0-native-fb-1d68bce1-20251012\nLearn more: https://react.dev/warnings/version-mismatch")
30104+
"\n - react-dom: 19.3.0-native-fb-93d4458f-20251013\nLearn more: https://react.dev/warnings/version-mismatch")
3010630105
);
3010730106
})();
3010830107
("function" === typeof Map &&
@@ -30139,10 +30138,10 @@ __DEV__ &&
3013930138
!(function () {
3014030139
var internals = {
3014130140
bundleType: 1,
30142-
version: "19.3.0-native-fb-1d68bce1-20251012",
30141+
version: "19.3.0-native-fb-93d4458f-20251013",
3014330142
rendererPackageName: "react-dom",
3014430143
currentDispatcherRef: ReactSharedInternals,
30145-
reconcilerVersion: "19.3.0-native-fb-1d68bce1-20251012"
30144+
reconcilerVersion: "19.3.0-native-fb-93d4458f-20251013"
3014630145
};
3014730146
internals.overrideHookState = overrideHookState;
3014830147
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -30292,5 +30291,5 @@ __DEV__ &&
3029230291
listenToAllSupportedEvents(container);
3029330292
return new ReactDOMHydrationRoot(initialChildren);
3029430293
};
30295-
exports.version = "19.3.0-native-fb-1d68bce1-20251012";
30294+
exports.version = "19.3.0-native-fb-93d4458f-20251013";
3029630295
})();

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

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<1454bc0509f0622d982d171d1fc4b2a1>>
10+
* @generated SignedSource<<e46a0744f709d3b3d91aab5184a49323>>
1111
*/
1212

1313
/*
@@ -9581,6 +9581,8 @@ function commitBeforeMutationEffects(root, firstChild) {
95819581
root = firstChild.flags;
95829582
switch (firstChild.tag) {
95839583
case 0:
9584+
case 11:
9585+
case 15:
95849586
if (
95859587
0 !== (root & 4) &&
95869588
((root = firstChild.updateQueue),
@@ -9595,9 +9597,6 @@ function commitBeforeMutationEffects(root, firstChild) {
95959597
(anchorOffset = root[JSCompiler_temp]),
95969598
(anchorOffset.ref.impl = anchorOffset.nextImpl);
95979599
break;
9598-
case 11:
9599-
case 15:
9600-
break;
96019600
case 1:
96029601
if (0 !== (root & 1024) && null !== focusNode) {
96039602
root = void 0;
@@ -17582,14 +17581,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
1758217581
};
1758317582
var isomorphicReactPackageVersion$jscomp$inline_2060 = React.version;
1758417583
if (
17585-
"19.3.0-native-fb-1d68bce1-20251012" !==
17584+
"19.3.0-native-fb-93d4458f-20251013" !==
1758617585
isomorphicReactPackageVersion$jscomp$inline_2060
1758717586
)
1758817587
throw Error(
1758917588
formatProdErrorMessage(
1759017589
527,
1759117590
isomorphicReactPackageVersion$jscomp$inline_2060,
17592-
"19.3.0-native-fb-1d68bce1-20251012"
17591+
"19.3.0-native-fb-93d4458f-20251013"
1759317592
)
1759417593
);
1759517594
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -17611,10 +17610,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
1761117610
};
1761217611
var internals$jscomp$inline_2637 = {
1761317612
bundleType: 0,
17614-
version: "19.3.0-native-fb-1d68bce1-20251012",
17613+
version: "19.3.0-native-fb-93d4458f-20251013",
1761517614
rendererPackageName: "react-dom",
1761617615
currentDispatcherRef: ReactSharedInternals,
17617-
reconcilerVersion: "19.3.0-native-fb-1d68bce1-20251012"
17616+
reconcilerVersion: "19.3.0-native-fb-93d4458f-20251013"
1761817617
};
1761917618
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1762017619
var hook$jscomp$inline_2638 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -17721,4 +17720,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
1772117720
listenToAllSupportedEvents(container);
1772217721
return new ReactDOMHydrationRoot(initialChildren);
1772317722
};
17724-
exports.version = "19.3.0-native-fb-1d68bce1-20251012";
17723+
exports.version = "19.3.0-native-fb-93d4458f-20251013";

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

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<614d7dd31c7579a1ddb227c8b23d8ef1>>
10+
* @generated SignedSource<<24b7476e748c74de04443547459f43c8>>
1111
*/
1212

1313
/*
@@ -10359,6 +10359,8 @@ function commitBeforeMutationEffects(root, firstChild) {
1035910359
root = firstChild.flags;
1036010360
switch (firstChild.tag) {
1036110361
case 0:
10362+
case 11:
10363+
case 15:
1036210364
if (
1036310365
0 !== (root & 4) &&
1036410366
((root = firstChild.updateQueue),
@@ -10373,9 +10375,6 @@ function commitBeforeMutationEffects(root, firstChild) {
1037310375
(anchorOffset = root[JSCompiler_temp]),
1037410376
(anchorOffset.ref.impl = anchorOffset.nextImpl);
1037510377
break;
10376-
case 11:
10377-
case 15:
10378-
break;
1037910378
case 1:
1038010379
if (0 !== (root & 1024) && null !== focusNode) {
1038110380
root = void 0;
@@ -19703,14 +19702,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
1970319702
};
1970419703
var isomorphicReactPackageVersion$jscomp$inline_2375 = React.version;
1970519704
if (
19706-
"19.3.0-native-fb-1d68bce1-20251012" !==
19705+
"19.3.0-native-fb-93d4458f-20251013" !==
1970719706
isomorphicReactPackageVersion$jscomp$inline_2375
1970819707
)
1970919708
throw Error(
1971019709
formatProdErrorMessage(
1971119710
527,
1971219711
isomorphicReactPackageVersion$jscomp$inline_2375,
19713-
"19.3.0-native-fb-1d68bce1-20251012"
19712+
"19.3.0-native-fb-93d4458f-20251013"
1971419713
)
1971519714
);
1971619715
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -19732,10 +19731,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
1973219731
};
1973319732
var internals$jscomp$inline_2382 = {
1973419733
bundleType: 0,
19735-
version: "19.3.0-native-fb-1d68bce1-20251012",
19734+
version: "19.3.0-native-fb-93d4458f-20251013",
1973619735
rendererPackageName: "react-dom",
1973719736
currentDispatcherRef: ReactSharedInternals,
19738-
reconcilerVersion: "19.3.0-native-fb-1d68bce1-20251012",
19737+
reconcilerVersion: "19.3.0-native-fb-93d4458f-20251013",
1973919738
getLaneLabelMap: function () {
1974019739
for (
1974119740
var map = new Map(), lane = 1, index$332 = 0;
@@ -19858,4 +19857,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
1985819857
listenToAllSupportedEvents(container);
1985919858
return new ReactDOMHydrationRoot(initialChildren);
1986019859
};
19861-
exports.version = "19.3.0-native-fb-1d68bce1-20251012";
19860+
exports.version = "19.3.0-native-fb-93d4458f-20251013";

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

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<53dac3709c234d7d0c40463470224708>>
10+
* @generated SignedSource<<ed1546669c589e11f0a25c4cfe23412f>>
1111
*/
1212

1313
/*
@@ -14706,6 +14706,8 @@ __DEV__ &&
1470614706
anchorOffset = root.flags;
1470714707
switch (root.tag) {
1470814708
case 0:
14709+
case 11:
14710+
case 15:
1470914711
if (
1471014712
0 !== (anchorOffset & 4) &&
1471114713
((root = root.updateQueue),
@@ -14720,9 +14722,6 @@ __DEV__ &&
1472014722
(anchorOffset = root[JSCompiler_temp]),
1472114723
(anchorOffset.ref.impl = anchorOffset.nextImpl);
1472214724
break;
14723-
case 11:
14724-
case 15:
14725-
break;
1472614725
case 1:
1472714726
0 !== (anchorOffset & 1024) &&
1472814727
null !== JSCompiler_temp &&
@@ -30154,11 +30153,11 @@ __DEV__ &&
3015430153
};
3015530154
(function () {
3015630155
var isomorphicReactPackageVersion = React.version;
30157-
if ("19.3.0-native-fb-1d68bce1-20251012" !== isomorphicReactPackageVersion)
30156+
if ("19.3.0-native-fb-93d4458f-20251013" !== isomorphicReactPackageVersion)
3015830157
throw Error(
3015930158
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
3016030159
(isomorphicReactPackageVersion +
30161-
"\n - react-dom: 19.3.0-native-fb-1d68bce1-20251012\nLearn more: https://react.dev/warnings/version-mismatch")
30160+
"\n - react-dom: 19.3.0-native-fb-93d4458f-20251013\nLearn more: https://react.dev/warnings/version-mismatch")
3016230161
);
3016330162
})();
3016430163
("function" === typeof Map &&
@@ -30195,10 +30194,10 @@ __DEV__ &&
3019530194
!(function () {
3019630195
var internals = {
3019730196
bundleType: 1,
30198-
version: "19.3.0-native-fb-1d68bce1-20251012",
30197+
version: "19.3.0-native-fb-93d4458f-20251013",
3019930198
rendererPackageName: "react-dom",
3020030199
currentDispatcherRef: ReactSharedInternals,
30201-
reconcilerVersion: "19.3.0-native-fb-1d68bce1-20251012"
30200+
reconcilerVersion: "19.3.0-native-fb-93d4458f-20251013"
3020230201
};
3020330202
internals.overrideHookState = overrideHookState;
3020430203
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -30664,7 +30663,7 @@ __DEV__ &&
3066430663
exports.useFormStatus = function () {
3066530664
return resolveDispatcher().useHostTransitionStatus();
3066630665
};
30667-
exports.version = "19.3.0-native-fb-1d68bce1-20251012";
30666+
exports.version = "19.3.0-native-fb-93d4458f-20251013";
3066830667
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
3066930668
"function" ===
3067030669
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<7fe04fc2144d388c881e18d09fc54e86>>
10+
* @generated SignedSource<<4fc9a29eeac4b09c90883c1acf476904>>
1111
*/
1212

1313
/*
@@ -9581,6 +9581,8 @@ function commitBeforeMutationEffects(root, firstChild) {
95819581
root = firstChild.flags;
95829582
switch (firstChild.tag) {
95839583
case 0:
9584+
case 11:
9585+
case 15:
95849586
if (
95859587
0 !== (root & 4) &&
95869588
((root = firstChild.updateQueue),
@@ -9595,9 +9597,6 @@ function commitBeforeMutationEffects(root, firstChild) {
95959597
(anchorOffset = root[JSCompiler_temp]),
95969598
(anchorOffset.ref.impl = anchorOffset.nextImpl);
95979599
break;
9598-
case 11:
9599-
case 15:
9600-
break;
96019600
case 1:
96029601
if (0 !== (root & 1024) && null !== focusNode) {
96039602
root = void 0;
@@ -17593,14 +17592,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
1759317592
};
1759417593
var isomorphicReactPackageVersion$jscomp$inline_2061 = React.version;
1759517594
if (
17596-
"19.3.0-native-fb-1d68bce1-20251012" !==
17595+
"19.3.0-native-fb-93d4458f-20251013" !==
1759717596
isomorphicReactPackageVersion$jscomp$inline_2061
1759817597
)
1759917598
throw Error(
1760017599
formatProdErrorMessage(
1760117600
527,
1760217601
isomorphicReactPackageVersion$jscomp$inline_2061,
17603-
"19.3.0-native-fb-1d68bce1-20251012"
17602+
"19.3.0-native-fb-93d4458f-20251013"
1760417603
)
1760517604
);
1760617605
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -17622,10 +17621,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
1762217621
};
1762317622
var internals$jscomp$inline_2640 = {
1762417623
bundleType: 0,
17625-
version: "19.3.0-native-fb-1d68bce1-20251012",
17624+
version: "19.3.0-native-fb-93d4458f-20251013",
1762617625
rendererPackageName: "react-dom",
1762717626
currentDispatcherRef: ReactSharedInternals,
17628-
reconcilerVersion: "19.3.0-native-fb-1d68bce1-20251012"
17627+
reconcilerVersion: "19.3.0-native-fb-93d4458f-20251013"
1762917628
};
1763017629
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1763117630
var hook$jscomp$inline_2641 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -17885,4 +17884,4 @@ exports.useFormState = function (action, initialState, permalink) {
1788517884
exports.useFormStatus = function () {
1788617885
return ReactSharedInternals.H.useHostTransitionStatus();
1788717886
};
17888-
exports.version = "19.3.0-native-fb-1d68bce1-20251012";
17887+
exports.version = "19.3.0-native-fb-93d4458f-20251013";

0 commit comments

Comments
 (0)