mirror of
https://github.com/hanzoai/react.git
synced 2026-09-24 17:02:27 +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