mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Enable scheduling profiler flag for react-dom profiling builds (#21867)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user