Enable hooks in fabric (#14301)
because hooks are awesome.
Spencer Ahrens committed
Dec 4, 2018 at 19:34 UTC
39489e76745705bc66f1daa8087b0861029152a8
1 file changed
+1
-1
packages/shared/forks/ReactFeatureFlags.native-fabric-fb.js
+1
-1
@@ -15,7 +15,7 @@ import typeof * as FabricFeatureFlagsType from './ReactFeatureFlags.native-fabri
15
export const debugRenderPhaseSideEffects = false;
16
export const debugRenderPhaseSideEffectsForStrictMode = false;
17
export const enableUserTimingAPI = __DEV__;
18
-export const enableHooks = false;
18
+export const enableHooks = true;
19
export const warnAboutDeprecatedLifecycles = false;
20
export const replayFailedUnitOfWorkWithInvokeGuardedCallback = __DEV__;
21
export const enableProfilerTimer = __PROFILE__;