Skip to content

Commit

Permalink
Enable scheduling profiler flag for react-dom profiling builds (#21867)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Vaughn authored Jul 13, 2021
1 parent 64bbd7a commit 87b67d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/shared/ReactFeatureFlags.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 87b67d3

Please sign in to comment.