Skip to content

Commit 6315c9b

Browse files
committed
Set enableUseMemoCacheHook to true everywhere
Any reason we should have this disabled anywhere? I think we're set on the API?
1 parent 4508873 commit 6315c9b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/shared/ReactFeatureFlags.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export const enableCPUSuspense = __EXPERIMENTAL__;
104104

105105
// Enables useMemoCache hook, intended as a compilation target for
106106
// auto-memoization.
107-
export const enableUseMemoCacheHook = __EXPERIMENTAL__;
107+
export const enableUseMemoCacheHook = true;
108108
// Test this at Meta before enabling.
109109
export const enableNoCloningMemoCache = false;
110110

packages/shared/forks/ReactFeatureFlags.test-renderer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export const disableTextareaChildren = false;
3636
export const enableSuspenseAvoidThisFallback = false;
3737
export const enableSuspenseAvoidThisFallbackFizz = false;
3838
export const enableCPUSuspense = false;
39-
export const enableUseMemoCacheHook = __EXPERIMENTAL__;
39+
export const enableUseMemoCacheHook = true;
4040
export const enableNoCloningMemoCache = false;
4141
export const enableUseEffectEventHook = false;
4242
export const favorSafetyOverHydrationPerf = true;

0 commit comments

Comments
 (0)