Enable scheduling profiler flag for react-dom profiling builds (#21867)

This commit is contained in:
Brian Vaughn
2021-07-13 13:41:19 -04:00
committed by GitHub
parent c8c8e8d270
commit 4ce7974655
+1 -1
View File
@@ -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.