Skip to content

Commit 733b550

Browse files
committed
[Reconciler] Set ProfileMode for Host Root Fiber by default in dev (#34432)
Requiring DevTools to be present for dev builds seems like an overkill, let's enable the instrumentation by default. Nothing changes for profiling or production artifacts. DiffTrain build for [0e10ee9](0e10ee9)
1 parent d67eddf commit 733b550

24 files changed

+92
-97
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.2.0-native-fb-0c813c52-20250912
1+
19.2.0-native-fb-0e10ee90-20250912

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<<c8c64f0a8cffbf32985e7288175d7f77>>
10+
* @generated SignedSource<<0f6a2ee90a33efd9df582451080627a9>>
1111
*/
1212

1313
"use strict";
@@ -404,5 +404,5 @@ __DEV__ &&
404404
exports.useFormStatus = function () {
405405
return resolveDispatcher().useHostTransitionStatus();
406406
};
407-
exports.version = "19.2.0-native-fb-0c813c52-20250912";
407+
exports.version = "19.2.0-native-fb-0e10ee90-20250912";
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<<147d46017386fa69b89bbe12588e6488>>
10+
* @generated SignedSource<<b0a9d7b14e82d82e1909db423e868eea>>
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.2.0-native-fb-0c813c52-20250912";
206+
exports.version = "19.2.0-native-fb-0e10ee90-20250912";

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<<147d46017386fa69b89bbe12588e6488>>
10+
* @generated SignedSource<<b0a9d7b14e82d82e1909db423e868eea>>
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.2.0-native-fb-0c813c52-20250912";
206+
exports.version = "19.2.0-native-fb-0e10ee90-20250912";

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<<8a1673fa2c6b09945a4369bece8070d6>>
10+
* @generated SignedSource<<18ba6e13b142d488f7296a6dc5c9047f>>
1111
*/
1212

1313
/*
@@ -24761,7 +24761,7 @@ __DEV__ &&
2476124761
? ((tag = ConcurrentMode),
2476224762
!0 === isStrictMode && (tag |= StrictLegacyMode | StrictEffectsMode))
2476324763
: (tag = NoMode);
24764-
isDevToolsPresent && (tag |= ProfileMode);
24764+
tag |= ProfileMode;
2476524765
isStrictMode = createFiber(3, null, null, tag);
2476624766
containerInfo.current = isStrictMode;
2476724767
isStrictMode.stateNode = containerInfo;
@@ -29594,11 +29594,11 @@ __DEV__ &&
2959429594
};
2959529595
(function () {
2959629596
var isomorphicReactPackageVersion = React.version;
29597-
if ("19.2.0-native-fb-0c813c52-20250912" !== isomorphicReactPackageVersion)
29597+
if ("19.2.0-native-fb-0e10ee90-20250912" !== isomorphicReactPackageVersion)
2959829598
throw Error(
2959929599
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
2960029600
(isomorphicReactPackageVersion +
29601-
"\n - react-dom: 19.2.0-native-fb-0c813c52-20250912\nLearn more: https://react.dev/warnings/version-mismatch")
29601+
"\n - react-dom: 19.2.0-native-fb-0e10ee90-20250912\nLearn more: https://react.dev/warnings/version-mismatch")
2960229602
);
2960329603
})();
2960429604
("function" === typeof Map &&
@@ -29635,10 +29635,10 @@ __DEV__ &&
2963529635
!(function () {
2963629636
var internals = {
2963729637
bundleType: 1,
29638-
version: "19.2.0-native-fb-0c813c52-20250912",
29638+
version: "19.2.0-native-fb-0e10ee90-20250912",
2963929639
rendererPackageName: "react-dom",
2964029640
currentDispatcherRef: ReactSharedInternals,
29641-
reconcilerVersion: "19.2.0-native-fb-0c813c52-20250912"
29641+
reconcilerVersion: "19.2.0-native-fb-0e10ee90-20250912"
2964229642
};
2964329643
internals.overrideHookState = overrideHookState;
2964429644
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -29787,5 +29787,5 @@ __DEV__ &&
2978729787
listenToAllSupportedEvents(container);
2978829788
return new ReactDOMHydrationRoot(initialChildren);
2978929789
};
29790-
exports.version = "19.2.0-native-fb-0c813c52-20250912";
29790+
exports.version = "19.2.0-native-fb-0e10ee90-20250912";
2979129791
})();

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

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

1313
/*
@@ -17388,14 +17388,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
1738817388
};
1738917389
var isomorphicReactPackageVersion$jscomp$inline_2057 = React.version;
1739017390
if (
17391-
"19.2.0-native-fb-0c813c52-20250912" !==
17391+
"19.2.0-native-fb-0e10ee90-20250912" !==
1739217392
isomorphicReactPackageVersion$jscomp$inline_2057
1739317393
)
1739417394
throw Error(
1739517395
formatProdErrorMessage(
1739617396
527,
1739717397
isomorphicReactPackageVersion$jscomp$inline_2057,
17398-
"19.2.0-native-fb-0c813c52-20250912"
17398+
"19.2.0-native-fb-0e10ee90-20250912"
1739917399
)
1740017400
);
1740117401
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -17417,10 +17417,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
1741717417
};
1741817418
var internals$jscomp$inline_2630 = {
1741917419
bundleType: 0,
17420-
version: "19.2.0-native-fb-0c813c52-20250912",
17420+
version: "19.2.0-native-fb-0e10ee90-20250912",
1742117421
rendererPackageName: "react-dom",
1742217422
currentDispatcherRef: ReactSharedInternals,
17423-
reconcilerVersion: "19.2.0-native-fb-0c813c52-20250912"
17423+
reconcilerVersion: "19.2.0-native-fb-0e10ee90-20250912"
1742417424
};
1742517425
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1742617426
var hook$jscomp$inline_2631 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -17527,4 +17527,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
1752717527
listenToAllSupportedEvents(container);
1752817528
return new ReactDOMHydrationRoot(initialChildren);
1752917529
};
17530-
exports.version = "19.2.0-native-fb-0c813c52-20250912";
17530+
exports.version = "19.2.0-native-fb-0e10ee90-20250912";

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

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

1313
/*
@@ -19398,14 +19398,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
1939819398
};
1939919399
var isomorphicReactPackageVersion$jscomp$inline_2314 = React.version;
1940019400
if (
19401-
"19.2.0-native-fb-0c813c52-20250912" !==
19401+
"19.2.0-native-fb-0e10ee90-20250912" !==
1940219402
isomorphicReactPackageVersion$jscomp$inline_2314
1940319403
)
1940419404
throw Error(
1940519405
formatProdErrorMessage(
1940619406
527,
1940719407
isomorphicReactPackageVersion$jscomp$inline_2314,
19408-
"19.2.0-native-fb-0c813c52-20250912"
19408+
"19.2.0-native-fb-0e10ee90-20250912"
1940919409
)
1941019410
);
1941119411
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -19427,10 +19427,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
1942719427
};
1942819428
var internals$jscomp$inline_2321 = {
1942919429
bundleType: 0,
19430-
version: "19.2.0-native-fb-0c813c52-20250912",
19430+
version: "19.2.0-native-fb-0e10ee90-20250912",
1943119431
rendererPackageName: "react-dom",
1943219432
currentDispatcherRef: ReactSharedInternals,
19433-
reconcilerVersion: "19.2.0-native-fb-0c813c52-20250912",
19433+
reconcilerVersion: "19.2.0-native-fb-0e10ee90-20250912",
1943419434
getLaneLabelMap: function () {
1943519435
for (
1943619436
var map = new Map(), lane = 1, index$324 = 0;
@@ -19553,4 +19553,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
1955319553
listenToAllSupportedEvents(container);
1955419554
return new ReactDOMHydrationRoot(initialChildren);
1955519555
};
19556-
exports.version = "19.2.0-native-fb-0c813c52-20250912";
19556+
exports.version = "19.2.0-native-fb-0e10ee90-20250912";

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<<daf38277b70822f6e2163ecb91d88901>>
10+
* @generated SignedSource<<2dd64b4ca9628136adb9a233e6829ab0>>
1111
*/
1212

1313
/*
@@ -24769,7 +24769,7 @@ __DEV__ &&
2476924769
? ((tag = ConcurrentMode),
2477024770
!0 === isStrictMode && (tag |= StrictLegacyMode | StrictEffectsMode))
2477124771
: (tag = NoMode);
24772-
isDevToolsPresent && (tag |= ProfileMode);
24772+
tag |= ProfileMode;
2477324773
isStrictMode = createFiber(3, null, null, tag);
2477424774
containerInfo.current = isStrictMode;
2477524775
isStrictMode.stateNode = containerInfo;
@@ -29650,11 +29650,11 @@ __DEV__ &&
2965029650
};
2965129651
(function () {
2965229652
var isomorphicReactPackageVersion = React.version;
29653-
if ("19.2.0-native-fb-0c813c52-20250912" !== isomorphicReactPackageVersion)
29653+
if ("19.2.0-native-fb-0e10ee90-20250912" !== isomorphicReactPackageVersion)
2965429654
throw Error(
2965529655
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
2965629656
(isomorphicReactPackageVersion +
29657-
"\n - react-dom: 19.2.0-native-fb-0c813c52-20250912\nLearn more: https://react.dev/warnings/version-mismatch")
29657+
"\n - react-dom: 19.2.0-native-fb-0e10ee90-20250912\nLearn more: https://react.dev/warnings/version-mismatch")
2965829658
);
2965929659
})();
2966029660
("function" === typeof Map &&
@@ -29691,10 +29691,10 @@ __DEV__ &&
2969129691
!(function () {
2969229692
var internals = {
2969329693
bundleType: 1,
29694-
version: "19.2.0-native-fb-0c813c52-20250912",
29694+
version: "19.2.0-native-fb-0e10ee90-20250912",
2969529695
rendererPackageName: "react-dom",
2969629696
currentDispatcherRef: ReactSharedInternals,
29697-
reconcilerVersion: "19.2.0-native-fb-0c813c52-20250912"
29697+
reconcilerVersion: "19.2.0-native-fb-0e10ee90-20250912"
2969829698
};
2969929699
internals.overrideHookState = overrideHookState;
2970029700
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -30159,7 +30159,7 @@ __DEV__ &&
3015930159
exports.useFormStatus = function () {
3016030160
return resolveDispatcher().useHostTransitionStatus();
3016130161
};
30162-
exports.version = "19.2.0-native-fb-0c813c52-20250912";
30162+
exports.version = "19.2.0-native-fb-0e10ee90-20250912";
3016330163
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
3016430164
"function" ===
3016530165
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

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

1313
/*
@@ -17399,14 +17399,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
1739917399
};
1740017400
var isomorphicReactPackageVersion$jscomp$inline_2058 = React.version;
1740117401
if (
17402-
"19.2.0-native-fb-0c813c52-20250912" !==
17402+
"19.2.0-native-fb-0e10ee90-20250912" !==
1740317403
isomorphicReactPackageVersion$jscomp$inline_2058
1740417404
)
1740517405
throw Error(
1740617406
formatProdErrorMessage(
1740717407
527,
1740817408
isomorphicReactPackageVersion$jscomp$inline_2058,
17409-
"19.2.0-native-fb-0c813c52-20250912"
17409+
"19.2.0-native-fb-0e10ee90-20250912"
1741017410
)
1741117411
);
1741217412
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -17428,10 +17428,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
1742817428
};
1742917429
var internals$jscomp$inline_2633 = {
1743017430
bundleType: 0,
17431-
version: "19.2.0-native-fb-0c813c52-20250912",
17431+
version: "19.2.0-native-fb-0e10ee90-20250912",
1743217432
rendererPackageName: "react-dom",
1743317433
currentDispatcherRef: ReactSharedInternals,
17434-
reconcilerVersion: "19.2.0-native-fb-0c813c52-20250912"
17434+
reconcilerVersion: "19.2.0-native-fb-0e10ee90-20250912"
1743517435
};
1743617436
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1743717437
var hook$jscomp$inline_2634 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -17691,4 +17691,4 @@ exports.useFormState = function (action, initialState, permalink) {
1769117691
exports.useFormStatus = function () {
1769217692
return ReactSharedInternals.H.useHostTransitionStatus();
1769317693
};
17694-
exports.version = "19.2.0-native-fb-0c813c52-20250912";
17694+
exports.version = "19.2.0-native-fb-0e10ee90-20250912";

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

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

1313
/*
@@ -19413,14 +19413,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
1941319413
};
1941419414
var isomorphicReactPackageVersion$jscomp$inline_2315 = React.version;
1941519415
if (
19416-
"19.2.0-native-fb-0c813c52-20250912" !==
19416+
"19.2.0-native-fb-0e10ee90-20250912" !==
1941719417
isomorphicReactPackageVersion$jscomp$inline_2315
1941819418
)
1941919419
throw Error(
1942019420
formatProdErrorMessage(
1942119421
527,
1942219422
isomorphicReactPackageVersion$jscomp$inline_2315,
19423-
"19.2.0-native-fb-0c813c52-20250912"
19423+
"19.2.0-native-fb-0e10ee90-20250912"
1942419424
)
1942519425
);
1942619426
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -19442,10 +19442,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
1944219442
};
1944319443
var internals$jscomp$inline_2322 = {
1944419444
bundleType: 0,
19445-
version: "19.2.0-native-fb-0c813c52-20250912",
19445+
version: "19.2.0-native-fb-0e10ee90-20250912",
1944619446
rendererPackageName: "react-dom",
1944719447
currentDispatcherRef: ReactSharedInternals,
19448-
reconcilerVersion: "19.2.0-native-fb-0c813c52-20250912",
19448+
reconcilerVersion: "19.2.0-native-fb-0e10ee90-20250912",
1944919449
getLaneLabelMap: function () {
1945019450
for (
1945119451
var map = new Map(), lane = 1, index$324 = 0;
@@ -19721,7 +19721,7 @@ exports.useFormState = function (action, initialState, permalink) {
1972119721
exports.useFormStatus = function () {
1972219722
return ReactSharedInternals.H.useHostTransitionStatus();
1972319723
};
19724-
exports.version = "19.2.0-native-fb-0c813c52-20250912";
19724+
exports.version = "19.2.0-native-fb-0e10ee90-20250912";
1972519725
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1972619726
"function" ===
1972719727
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

0 commit comments

Comments
 (0)