mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
Enable scheduling profiler flag for react-dom profiling builds (#21867)
This commit is contained in:
1 parent
64bbd7a7f1
commit
87b67d319f
1 file changed
+1
-1
@@ -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