Skip to content

Commit 80269ba

Browse files
committed
[Fiber] Gate Update flag on BeforeMutationMask on flags (#31921)
We're currently visiting the snapshot phase for every `Update` flag even though we rarely have to do anything in the Snapshot phase. The only flags that seem to use these wider visits is `enableCreateEventHandleAPI` and `enableUseEffectEventHook` but really neither of those should do that neither. They should schedule explicit Snapshot phases if needed. DiffTrain build for [6ca7fbe](6ca7fbe)
1 parent b675a57 commit 80269ba

23 files changed

Lines changed: 101 additions & 101 deletions

compiled-rn/VERSION_NATIVE_FB

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
19.1.0-native-fb-0de1233f-20250102
1+
19.1.0-native-fb-6ca7fbe8-20250102

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<<cdd39ce1fdacaaee811be83c49a61b38>>
10+
* @generated SignedSource<<943c2f6095edc80e0998879cdb42f8d2>>
1111
*/
1212

1313
"use strict";
@@ -420,5 +420,5 @@ __DEV__ &&
420420
exports.useFormStatus = function () {
421421
return resolveDispatcher().useHostTransitionStatus();
422422
};
423-
exports.version = "19.1.0-native-fb-0de1233f-20250102";
423+
exports.version = "19.1.0-native-fb-6ca7fbe8-20250102";
424424
})();

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<<1636615e03636f4ba7e400d96921febb>>
10+
* @generated SignedSource<<6d743138e7eddd6de05374abb5c49233>>
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.1.0-native-fb-0de1233f-20250102";
206+
exports.version = "19.1.0-native-fb-6ca7fbe8-20250102";

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<<1636615e03636f4ba7e400d96921febb>>
10+
* @generated SignedSource<<6d743138e7eddd6de05374abb5c49233>>
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.1.0-native-fb-0de1233f-20250102";
206+
exports.version = "19.1.0-native-fb-6ca7fbe8-20250102";

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

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

1313
/*
@@ -12114,7 +12114,7 @@ __DEV__ &&
1211412114
if (
1211512115
((firstChild = nextEffect),
1211612116
(root = firstChild.child),
12117-
0 !== (firstChild.subtreeFlags & 1028) && null !== root)
12117+
0 !== (firstChild.subtreeFlags & 1024) && null !== root)
1211812118
)
1211912119
(root.return = firstChild), (nextEffect = root);
1212012120
else
@@ -25887,11 +25887,11 @@ __DEV__ &&
2588725887
};
2588825888
(function () {
2588925889
var isomorphicReactPackageVersion = React.version;
25890-
if ("19.1.0-native-fb-0de1233f-20250102" !== isomorphicReactPackageVersion)
25890+
if ("19.1.0-native-fb-6ca7fbe8-20250102" !== isomorphicReactPackageVersion)
2589125891
throw Error(
2589225892
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
2589325893
(isomorphicReactPackageVersion +
25894-
"\n - react-dom: 19.1.0-native-fb-0de1233f-20250102\nLearn more: https://react.dev/warnings/version-mismatch")
25894+
"\n - react-dom: 19.1.0-native-fb-6ca7fbe8-20250102\nLearn more: https://react.dev/warnings/version-mismatch")
2589525895
);
2589625896
})();
2589725897
("function" === typeof Map &&
@@ -25928,10 +25928,10 @@ __DEV__ &&
2592825928
!(function () {
2592925929
var internals = {
2593025930
bundleType: 1,
25931-
version: "19.1.0-native-fb-0de1233f-20250102",
25931+
version: "19.1.0-native-fb-6ca7fbe8-20250102",
2593225932
rendererPackageName: "react-dom",
2593325933
currentDispatcherRef: ReactSharedInternals,
25934-
reconcilerVersion: "19.1.0-native-fb-0de1233f-20250102"
25934+
reconcilerVersion: "19.1.0-native-fb-6ca7fbe8-20250102"
2593525935
};
2593625936
internals.overrideHookState = overrideHookState;
2593725937
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -26077,5 +26077,5 @@ __DEV__ &&
2607726077
listenToAllSupportedEvents(container);
2607826078
return new ReactDOMHydrationRoot(initialChildren);
2607926079
};
26080-
exports.version = "19.1.0-native-fb-0de1233f-20250102";
26080+
exports.version = "19.1.0-native-fb-6ca7fbe8-20250102";
2608126081
})();

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

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

1313
/*
@@ -8384,7 +8384,7 @@ function commitBeforeMutationEffects(root, firstChild) {
83848384
if (
83858385
((firstChild = nextEffect),
83868386
(root = firstChild.child),
8387-
0 !== (firstChild.subtreeFlags & 1028) && null !== root)
8387+
0 !== (firstChild.subtreeFlags & 1024) && null !== root)
83888388
)
83898389
(root.return = firstChild), (nextEffect = root);
83908390
else
@@ -15905,14 +15905,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
1590515905
};
1590615906
var isomorphicReactPackageVersion$jscomp$inline_1727 = React.version;
1590715907
if (
15908-
"19.1.0-native-fb-0de1233f-20250102" !==
15908+
"19.1.0-native-fb-6ca7fbe8-20250102" !==
1590915909
isomorphicReactPackageVersion$jscomp$inline_1727
1591015910
)
1591115911
throw Error(
1591215912
formatProdErrorMessage(
1591315913
527,
1591415914
isomorphicReactPackageVersion$jscomp$inline_1727,
15915-
"19.1.0-native-fb-0de1233f-20250102"
15915+
"19.1.0-native-fb-6ca7fbe8-20250102"
1591615916
)
1591715917
);
1591815918
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -15934,10 +15934,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
1593415934
};
1593515935
var internals$jscomp$inline_2185 = {
1593615936
bundleType: 0,
15937-
version: "19.1.0-native-fb-0de1233f-20250102",
15937+
version: "19.1.0-native-fb-6ca7fbe8-20250102",
1593815938
rendererPackageName: "react-dom",
1593915939
currentDispatcherRef: ReactSharedInternals,
15940-
reconcilerVersion: "19.1.0-native-fb-0de1233f-20250102"
15940+
reconcilerVersion: "19.1.0-native-fb-6ca7fbe8-20250102"
1594115941
};
1594215942
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1594315943
var hook$jscomp$inline_2186 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -16043,4 +16043,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
1604316043
listenToAllSupportedEvents(container);
1604416044
return new ReactDOMHydrationRoot(initialChildren);
1604516045
};
16046-
exports.version = "19.1.0-native-fb-0de1233f-20250102";
16046+
exports.version = "19.1.0-native-fb-6ca7fbe8-20250102";

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

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

1313
/*
@@ -8746,7 +8746,7 @@ function commitBeforeMutationEffects(root, firstChild) {
87468746
if (
87478747
((firstChild = nextEffect),
87488748
(root = firstChild.child),
8749-
0 !== (firstChild.subtreeFlags & 1028) && null !== root)
8749+
0 !== (firstChild.subtreeFlags & 1024) && null !== root)
87508750
)
87518751
(root.return = firstChild), (nextEffect = root);
87528752
else
@@ -16558,14 +16558,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
1655816558
};
1655916559
var isomorphicReactPackageVersion$jscomp$inline_1817 = React.version;
1656016560
if (
16561-
"19.1.0-native-fb-0de1233f-20250102" !==
16561+
"19.1.0-native-fb-6ca7fbe8-20250102" !==
1656216562
isomorphicReactPackageVersion$jscomp$inline_1817
1656316563
)
1656416564
throw Error(
1656516565
formatProdErrorMessage(
1656616566
527,
1656716567
isomorphicReactPackageVersion$jscomp$inline_1817,
16568-
"19.1.0-native-fb-0de1233f-20250102"
16568+
"19.1.0-native-fb-6ca7fbe8-20250102"
1656916569
)
1657016570
);
1657116571
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -16587,10 +16587,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
1658716587
};
1658816588
var internals$jscomp$inline_1824 = {
1658916589
bundleType: 0,
16590-
version: "19.1.0-native-fb-0de1233f-20250102",
16590+
version: "19.1.0-native-fb-6ca7fbe8-20250102",
1659116591
rendererPackageName: "react-dom",
1659216592
currentDispatcherRef: ReactSharedInternals,
16593-
reconcilerVersion: "19.1.0-native-fb-0de1233f-20250102",
16593+
reconcilerVersion: "19.1.0-native-fb-6ca7fbe8-20250102",
1659416594
getLaneLabelMap: function () {
1659516595
for (
1659616596
var map = new Map(), lane = 1, index$293 = 0;
@@ -16711,4 +16711,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
1671116711
listenToAllSupportedEvents(container);
1671216712
return new ReactDOMHydrationRoot(initialChildren);
1671316713
};
16714-
exports.version = "19.1.0-native-fb-0de1233f-20250102";
16714+
exports.version = "19.1.0-native-fb-6ca7fbe8-20250102";

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

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

1313
/*
@@ -12122,7 +12122,7 @@ __DEV__ &&
1212212122
if (
1212312123
((firstChild = nextEffect),
1212412124
(root = firstChild.child),
12125-
0 !== (firstChild.subtreeFlags & 1028) && null !== root)
12125+
0 !== (firstChild.subtreeFlags & 1024) && null !== root)
1212612126
)
1212712127
(root.return = firstChild), (nextEffect = root);
1212812128
else
@@ -25948,11 +25948,11 @@ __DEV__ &&
2594825948
};
2594925949
(function () {
2595025950
var isomorphicReactPackageVersion = React.version;
25951-
if ("19.1.0-native-fb-0de1233f-20250102" !== isomorphicReactPackageVersion)
25951+
if ("19.1.0-native-fb-6ca7fbe8-20250102" !== isomorphicReactPackageVersion)
2595225952
throw Error(
2595325953
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
2595425954
(isomorphicReactPackageVersion +
25955-
"\n - react-dom: 19.1.0-native-fb-0de1233f-20250102\nLearn more: https://react.dev/warnings/version-mismatch")
25955+
"\n - react-dom: 19.1.0-native-fb-6ca7fbe8-20250102\nLearn more: https://react.dev/warnings/version-mismatch")
2595625956
);
2595725957
})();
2595825958
("function" === typeof Map &&
@@ -25989,10 +25989,10 @@ __DEV__ &&
2598925989
!(function () {
2599025990
var internals = {
2599125991
bundleType: 1,
25992-
version: "19.1.0-native-fb-0de1233f-20250102",
25992+
version: "19.1.0-native-fb-6ca7fbe8-20250102",
2599325993
rendererPackageName: "react-dom",
2599425994
currentDispatcherRef: ReactSharedInternals,
25995-
reconcilerVersion: "19.1.0-native-fb-0de1233f-20250102"
25995+
reconcilerVersion: "19.1.0-native-fb-6ca7fbe8-20250102"
2599625996
};
2599725997
internals.overrideHookState = overrideHookState;
2599825998
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -26454,7 +26454,7 @@ __DEV__ &&
2645426454
exports.useFormStatus = function () {
2645526455
return resolveDispatcher().useHostTransitionStatus();
2645626456
};
26457-
exports.version = "19.1.0-native-fb-0de1233f-20250102";
26457+
exports.version = "19.1.0-native-fb-6ca7fbe8-20250102";
2645826458
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
2645926459
"function" ===
2646026460
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

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

1313
/*
@@ -8384,7 +8384,7 @@ function commitBeforeMutationEffects(root, firstChild) {
83848384
if (
83858385
((firstChild = nextEffect),
83868386
(root = firstChild.child),
8387-
0 !== (firstChild.subtreeFlags & 1028) && null !== root)
8387+
0 !== (firstChild.subtreeFlags & 1024) && null !== root)
83888388
)
83898389
(root.return = firstChild), (nextEffect = root);
83908390
else
@@ -15916,14 +15916,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
1591615916
};
1591715917
var isomorphicReactPackageVersion$jscomp$inline_1728 = React.version;
1591815918
if (
15919-
"19.1.0-native-fb-0de1233f-20250102" !==
15919+
"19.1.0-native-fb-6ca7fbe8-20250102" !==
1592015920
isomorphicReactPackageVersion$jscomp$inline_1728
1592115921
)
1592215922
throw Error(
1592315923
formatProdErrorMessage(
1592415924
527,
1592515925
isomorphicReactPackageVersion$jscomp$inline_1728,
15926-
"19.1.0-native-fb-0de1233f-20250102"
15926+
"19.1.0-native-fb-6ca7fbe8-20250102"
1592715927
)
1592815928
);
1592915929
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -15945,10 +15945,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
1594515945
};
1594615946
var internals$jscomp$inline_2188 = {
1594715947
bundleType: 0,
15948-
version: "19.1.0-native-fb-0de1233f-20250102",
15948+
version: "19.1.0-native-fb-6ca7fbe8-20250102",
1594915949
rendererPackageName: "react-dom",
1595015950
currentDispatcherRef: ReactSharedInternals,
15951-
reconcilerVersion: "19.1.0-native-fb-0de1233f-20250102"
15951+
reconcilerVersion: "19.1.0-native-fb-6ca7fbe8-20250102"
1595215952
};
1595315953
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1595415954
var hook$jscomp$inline_2189 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -16208,4 +16208,4 @@ exports.useFormState = function (action, initialState, permalink) {
1620816208
exports.useFormStatus = function () {
1620916209
return ReactSharedInternals.H.useHostTransitionStatus();
1621016210
};
16211-
exports.version = "19.1.0-native-fb-0de1233f-20250102";
16211+
exports.version = "19.1.0-native-fb-6ca7fbe8-20250102";

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

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

1313
/*
@@ -8750,7 +8750,7 @@ function commitBeforeMutationEffects(root, firstChild) {
87508750
if (
87518751
((firstChild = nextEffect),
87528752
(root = firstChild.child),
8753-
0 !== (firstChild.subtreeFlags & 1028) && null !== root)
8753+
0 !== (firstChild.subtreeFlags & 1024) && null !== root)
87548754
)
87558755
(root.return = firstChild), (nextEffect = root);
87568756
else
@@ -16573,14 +16573,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
1657316573
};
1657416574
var isomorphicReactPackageVersion$jscomp$inline_1818 = React.version;
1657516575
if (
16576-
"19.1.0-native-fb-0de1233f-20250102" !==
16576+
"19.1.0-native-fb-6ca7fbe8-20250102" !==
1657716577
isomorphicReactPackageVersion$jscomp$inline_1818
1657816578
)
1657916579
throw Error(
1658016580
formatProdErrorMessage(
1658116581
527,
1658216582
isomorphicReactPackageVersion$jscomp$inline_1818,
16583-
"19.1.0-native-fb-0de1233f-20250102"
16583+
"19.1.0-native-fb-6ca7fbe8-20250102"
1658416584
)
1658516585
);
1658616586
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -16602,10 +16602,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
1660216602
};
1660316603
var internals$jscomp$inline_1825 = {
1660416604
bundleType: 0,
16605-
version: "19.1.0-native-fb-0de1233f-20250102",
16605+
version: "19.1.0-native-fb-6ca7fbe8-20250102",
1660616606
rendererPackageName: "react-dom",
1660716607
currentDispatcherRef: ReactSharedInternals,
16608-
reconcilerVersion: "19.1.0-native-fb-0de1233f-20250102",
16608+
reconcilerVersion: "19.1.0-native-fb-6ca7fbe8-20250102",
1660916609
getLaneLabelMap: function () {
1661016610
for (
1661116611
var map = new Map(), lane = 1, index$293 = 0;
@@ -16880,7 +16880,7 @@ exports.useFormState = function (action, initialState, permalink) {
1688016880
exports.useFormStatus = function () {
1688116881
return ReactSharedInternals.H.useHostTransitionStatus();
1688216882
};
16883-
exports.version = "19.1.0-native-fb-0de1233f-20250102";
16883+
exports.version = "19.1.0-native-fb-6ca7fbe8-20250102";
1688416884
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1688516885
"function" ===
1688616886
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

0 commit comments

Comments
 (0)