Make interaction tracing on by default in all WWW builds (#18419)
Dan Abramov committed
Mar 30, 2020 at 16:07 UTC
1f8c40451ae15107abcdecb1ee67b2ed8f9d008e
1 file changed
+5
-1
packages/shared/forks/ReactFeatureFlags.www.js
+5
-1
@@ -40,7 +40,11 @@ export let enableUserTimingAPI = __DEV__ && !__EXPERIMENTAL__;
40
41
export const enableProfilerTimer = __PROFILE__;
42
export const enableProfilerCommitHooks = __PROFILE__;
43
-export const enableSchedulerTracing = __PROFILE__;
43
+
44
+// Note: we'll want to remove this when we to userland implementation.
45
+// For now, we'll turn it on for everyone because it's *already* on for everyone in practice.
46
+// At least this will let us stop shipping <Profiler> implementation to all users.
47
+export const enableSchedulerTracing = true;
48
export const enableSchedulerDebugging = true;
49
50
export const warnAboutDeprecatedLifecycles = true;