mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
[Scheduler][www] Put profiling feature behind flag (#16757)
Our infra currently doesn't support loading a separate profiling build of Scheduler. Until that's fixed, the recommendation is to load a single build and gate the profiling feature behind a flag. Alternative to #16659
This commit is contained in:
1 parent
8f03109cd2
commit
0a2215cc0e
1 file changed
+2
-1
@@ -9,7 +9,8 @@
|
||||
export const {
|
||||
enableIsInputPending,
|
||||
enableSchedulerDebugging,
|
||||
enableProfiling: enableProfilingFeatureFlag,
|
||||
} = require('SchedulerFeatureFlags');
|
||||
|
||||
export const enableProfiling = __PROFILE__;
|
||||
export const enableProfiling = __PROFILE__ && enableProfilingFeatureFlag;
|
||||
export const enableMessageLoopImplementation = true;
|
||||
Reference in new issue
Block a user