From 1f8c40451ae15107abcdecb1ee67b2ed8f9d008e Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Mon, 30 Mar 2020 16:07:58 +0100 Subject: [PATCH] Make interaction tracing on by default in all WWW builds (#18419) --- packages/shared/forks/ReactFeatureFlags.www.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/shared/forks/ReactFeatureFlags.www.js b/packages/shared/forks/ReactFeatureFlags.www.js index a2da48dd5f..d424e40b3d 100644 --- a/packages/shared/forks/ReactFeatureFlags.www.js +++ b/packages/shared/forks/ReactFeatureFlags.www.js @@ -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 implementation to all users. +export const enableSchedulerTracing = true; export const enableSchedulerDebugging = true; export const warnAboutDeprecatedLifecycles = true;