@@ -13,23 +13,21 @@ import typeof * as FeatureFlagsType from 'shared/ReactFeatureFlags';
1313import typeof * as FeatureFlagsShimType from './ReactFeatureFlags.native-fb' ;
1414
1515// Re-export dynamic flags from the fbsource version.
16- export const {
17- enableHooks,
18- debugRenderPhaseSideEffects,
19- debugRenderPhaseSideEffectsForStrictMode,
20- warnAboutDeprecatedLifecycles,
21- replayFailedUnitOfWorkWithInvokeGuardedCallback,
22- disableInputAttributeSyncing,
23- } = require ( 'ReactFeatureFlags' ) ;
16+ export const { debugRenderPhaseSideEffects} = require ( 'ReactFeatureFlags' ) ;
2417
2518// The rest of the flags are static for better dead code elimination.
19+ export const enableHooks = true ;
2620export const enableUserTimingAPI = __DEV__ ;
2721export const enableProfilerTimer = __PROFILE__ ;
2822export const enableSchedulerTracing = __PROFILE__ ;
2923export const enableSuspenseServerRenderer = false ;
3024export const enableStableConcurrentModeAPIs = false ;
3125export const warnAboutShorthandPropertyCollision = false ;
3226export const enableSchedulerDebugging = false ;
27+ export const debugRenderPhaseSideEffectsForStrictMode = true ;
28+ export const disableInputAttributeSyncing = false ;
29+ export const replayFailedUnitOfWorkWithInvokeGuardedCallback = __DEV__ ;
30+ export const warnAboutDeprecatedLifecycles = true ;
3331
3432// Only used in www builds.
3533export function addUserTimingListener ( ) {
0 commit comments