@@ -13,23 +13,21 @@ import typeof * as FeatureFlagsType from 'shared/ReactFeatureFlags';
13
13
import typeof * as FeatureFlagsShimType from './ReactFeatureFlags.native-fb' ;
14
14
15
15
// 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' ) ;
24
17
25
18
// The rest of the flags are static for better dead code elimination.
19
+ export const enableHooks = true ;
26
20
export const enableUserTimingAPI = __DEV__ ;
27
21
export const enableProfilerTimer = __PROFILE__ ;
28
22
export const enableSchedulerTracing = __PROFILE__ ;
29
23
export const enableSuspenseServerRenderer = false ;
30
24
export const enableStableConcurrentModeAPIs = false ;
31
25
export const warnAboutShorthandPropertyCollision = false ;
32
26
export const enableSchedulerDebugging = false ;
27
+ export const debugRenderPhaseSideEffectsForStrictMode = true ;
28
+ export const disableInputAttributeSyncing = false ;
29
+ export const replayFailedUnitOfWorkWithInvokeGuardedCallback = __DEV__ ;
30
+ export const warnAboutDeprecatedLifecycles = true ;
33
31
34
32
// Only used in www builds.
35
33
export function addUserTimingListener ( ) {
0 commit comments