Skip to content

Commit f9d7808

Browse files
authored
[flags] make enableComponentPerformanceTrack dynamic (#32359)
1 parent 562f17e commit f9d7808

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/shared/forks/ReactFeatureFlags.www-dynamic.js

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ export const enableUseEffectCRUDOverload = __VARIANT__;
3939
export const enableFastAddPropertiesInDiffing = __VARIANT__;
4040
export const enableLazyPublicInstanceInFabric = false;
4141
export const enableViewTransition = __VARIANT__;
42+
export const enableComponentPerformanceTrack = __VARIANT__;
4243
export const enableScrollEndPolyfill = __VARIANT__;
4344

4445
// TODO: These flags are hard-coded to the default values used in open source.

packages/shared/forks/ReactFeatureFlags.www.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ export const {
3737
transitionLaneExpirationMs,
3838
enableFastAddPropertiesInDiffing,
3939
enableViewTransition,
40+
enableComponentPerformanceTrack,
4041
enableScrollEndPolyfill,
4142
} = dynamicFeatureFlags;
4243

@@ -63,8 +64,6 @@ export const enableThrottledScheduling = false;
6364

6465
export const enableHydrationLaneScheduling = true;
6566

66-
export const enableComponentPerformanceTrack = false;
67-
6867
// Logs additional User Timing API marks for use with an experimental profiling tool.
6968
export const enableSchedulingProfiler: boolean =
7069
__PROFILE__ && dynamicFeatureFlags.enableSchedulingProfiler;

0 commit comments

Comments
 (0)