Skip to content

Commit

Permalink
Make interaction tracing on by default in all WWW builds (#18419)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon authored Mar 30, 2020
1 parent ba31ad4 commit 1f8c404
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/shared/forks/ReactFeatureFlags.www.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@ export let enableUserTimingAPI = __DEV__ && !__EXPERIMENTAL__;

export const enableProfilerTimer = __PROFILE__;
export const enableProfilerCommitHooks = __PROFILE__;
export const enableSchedulerTracing = __PROFILE__;

// Note: we'll want to remove this when we to userland implementation.
// For now, we'll turn it on for everyone because it's *already* on for everyone in practice.
// At least this will let us stop shipping <Profiler> implementation to all users.
export const enableSchedulerTracing = true;
export const enableSchedulerDebugging = true;

export const warnAboutDeprecatedLifecycles = true;
Expand Down

0 comments on commit 1f8c404

Please sign in to comment.