Skip to content

Commit 6b1466a

Browse files
committed
Expose cache
1 parent ca64fdd commit 6b1466a

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

packages/react/index.stable.js

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ export {
2828
isValidElement,
2929
lazy,
3030
memo,
31+
cache,
3132
startTransition,
3233
useId,
3334
useCallback,

packages/shared/ReactFeatureFlags.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ export const enableLegacyFBSupport = false;
8282
// likely to include in an upcoming release.
8383
// -----------------------------------------------------------------------------
8484

85-
export const enableCache = __EXPERIMENTAL__;
85+
export const enableCache = true;
8686
export const enableCacheElement = __EXPERIMENTAL__;
87-
export const enableFetchInstrumentation = __EXPERIMENTAL__;
87+
export const enableFetchInstrumentation = true;
8888

8989
export const enableTransitionTracing = false;
9090

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ export const enableProfilerCommitHooks = __PROFILE__;
2020
export const enableProfilerNestedUpdatePhase = __PROFILE__;
2121
export const enableProfilerNestedUpdateScheduledHook = false;
2222
export const enableUpdaterTracking = false;
23-
export const enableCache = __EXPERIMENTAL__;
23+
export const enableCache = true;
2424
export const enableCacheElement = __EXPERIMENTAL__;
25-
export const enableFetchInstrumentation = __EXPERIMENTAL__;
25+
export const enableFetchInstrumentation = true;
2626
export const disableJavaScriptURLs = false;
2727
export const disableCommentsAsDOMContainers = true;
2828
export const disableInputAttributeSyncing = false;

0 commit comments

Comments
 (0)