mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 12:20:20 +01:00
[flags] make enableComponentPerformanceTrack dynamic (#32359)
This commit is contained in:
parent
562f17efab
commit
f9d78089c6
|
|
@ -39,6 +39,7 @@ export const enableUseEffectCRUDOverload = __VARIANT__;
|
|||
export const enableFastAddPropertiesInDiffing = __VARIANT__;
|
||||
export const enableLazyPublicInstanceInFabric = false;
|
||||
export const enableViewTransition = __VARIANT__;
|
||||
export const enableComponentPerformanceTrack = __VARIANT__;
|
||||
export const enableScrollEndPolyfill = __VARIANT__;
|
||||
|
||||
// TODO: These flags are hard-coded to the default values used in open source.
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@ export const {
|
|||
transitionLaneExpirationMs,
|
||||
enableFastAddPropertiesInDiffing,
|
||||
enableViewTransition,
|
||||
enableComponentPerformanceTrack,
|
||||
enableScrollEndPolyfill,
|
||||
} = dynamicFeatureFlags;
|
||||
|
||||
|
|
@ -63,8 +64,6 @@ export const enableThrottledScheduling = false;
|
|||
|
||||
export const enableHydrationLaneScheduling = true;
|
||||
|
||||
export const enableComponentPerformanceTrack = false;
|
||||
|
||||
// Logs additional User Timing API marks for use with an experimental profiling tool.
|
||||
export const enableSchedulingProfiler: boolean =
|
||||
__PROFILE__ && dynamicFeatureFlags.enableSchedulingProfiler;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user