diff --git a/packages/shared/ReactFeatureFlags.js b/packages/shared/ReactFeatureFlags.js index bfb48e65df4a1..ac239fbd2a1d5 100644 --- a/packages/shared/ReactFeatureFlags.js +++ b/packages/shared/ReactFeatureFlags.js @@ -104,7 +104,7 @@ export const enableCPUSuspense = __EXPERIMENTAL__; // Enables useMemoCache hook, intended as a compilation target for // auto-memoization. -export const enableUseMemoCacheHook = __EXPERIMENTAL__; +export const enableUseMemoCacheHook = true; // Test this at Meta before enabling. export const enableNoCloningMemoCache = false; diff --git a/packages/shared/forks/ReactFeatureFlags.test-renderer.js b/packages/shared/forks/ReactFeatureFlags.test-renderer.js index e80af511bb71b..120d506f2b445 100644 --- a/packages/shared/forks/ReactFeatureFlags.test-renderer.js +++ b/packages/shared/forks/ReactFeatureFlags.test-renderer.js @@ -36,7 +36,7 @@ export const disableTextareaChildren = false; export const enableSuspenseAvoidThisFallback = false; export const enableSuspenseAvoidThisFallbackFizz = false; export const enableCPUSuspense = false; -export const enableUseMemoCacheHook = __EXPERIMENTAL__; +export const enableUseMemoCacheHook = true; export const enableNoCloningMemoCache = false; export const enableUseEffectEventHook = false; export const favorSafetyOverHydrationPerf = true;