From 87b67d319fed725fafe06fb1bfd1b4a672e5a629 Mon Sep 17 00:00:00 2001 From: Brian Vaughn Date: Tue, 13 Jul 2021 13:41:19 -0400 Subject: [PATCH] Enable scheduling profiler flag for react-dom profiling builds (#21867) --- packages/shared/ReactFeatureFlags.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/shared/ReactFeatureFlags.js b/packages/shared/ReactFeatureFlags.js index d966c9ec54c9..862a6bde9b26 100644 --- a/packages/shared/ReactFeatureFlags.js +++ b/packages/shared/ReactFeatureFlags.js @@ -17,7 +17,7 @@ export const enableDebugTracing = false; // Adds user timing marks for e.g. state updates, suspense, and work loop stuff, // for an experimental scheduling profiler tool. -export const enableSchedulingProfiler = __PROFILE__ && __EXPERIMENTAL__; +export const enableSchedulingProfiler = __PROFILE__; // Helps identify side effects in render-phase lifecycle hooks and setState // reducers by double invoking them in StrictLegacyMode.