Skip to content

Commit 54292ad

Browse files
author
Brian Vaughn
committed
Temporarily disable Profiler commit hooks flag to verify it does not cause a regression.
1 parent bdcce91 commit 54292ad

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

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

-4
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@ export const decoupleUpdatePriorityFromScheduler = __VARIANT__;
2121
export const skipUnmountedBoundaries = __VARIANT__;
2222
export const enableEagerRootListeners = !__VARIANT__;
2323

24-
// These are already tested explicitly in ReactProfiler-test.internal,
25-
// so we don't need to use __VARIANT__ to get extra coverage.
26-
export const enableProfilerCommitHooks = false;
27-
2824
// Enable this flag to help with concurrent mode debugging.
2925
// It logs information to the console about React scheduling, rendering, and commit phases.
3026
//

packages/shared/forks/ReactFeatureFlags.www.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,16 @@ export const {
2929
skipUnmountedBoundaries,
3030
enableEagerRootListeners,
3131
disableSchedulerTimeoutInWorkLoop,
32-
enableProfilerCommitHooks,
3332
} = dynamicFeatureFlags;
3433

3534
// On WWW, __EXPERIMENTAL__ is used for a new modern build.
3635
// It's not used anywhere in production yet.
3736

3837
export const enableProfilerTimer = __PROFILE__;
3938

39+
// Temporarily disable commit hooks flag to verify it does not cause a regression.
40+
export const enableProfilerCommitHooks = false;
41+
4042
// Logs additional User Timing API marks for use with an experimental profiling tool.
4143
export const enableSchedulingProfiler = __PROFILE__;
4244

0 commit comments

Comments
 (0)