Skip to content

Commit

Permalink
Expose cache
Browse files Browse the repository at this point in the history
  • Loading branch information
sebmarkbage committed Oct 24, 2022
1 parent ca64fdd commit 6b1466a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions packages/react/index.stable.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export {
isValidElement,
lazy,
memo,
cache,
startTransition,
useId,
useCallback,
Expand Down
4 changes: 2 additions & 2 deletions packages/shared/ReactFeatureFlags.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ export const enableLegacyFBSupport = false;
// likely to include in an upcoming release.
// -----------------------------------------------------------------------------

export const enableCache = __EXPERIMENTAL__;
export const enableCache = true;
export const enableCacheElement = __EXPERIMENTAL__;
export const enableFetchInstrumentation = __EXPERIMENTAL__;
export const enableFetchInstrumentation = true;

export const enableTransitionTracing = false;

Expand Down
4 changes: 2 additions & 2 deletions packages/shared/forks/ReactFeatureFlags.test-renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ export const enableProfilerCommitHooks = __PROFILE__;
export const enableProfilerNestedUpdatePhase = __PROFILE__;
export const enableProfilerNestedUpdateScheduledHook = false;
export const enableUpdaterTracking = false;
export const enableCache = __EXPERIMENTAL__;
export const enableCache = true;
export const enableCacheElement = __EXPERIMENTAL__;
export const enableFetchInstrumentation = __EXPERIMENTAL__;
export const enableFetchInstrumentation = true;
export const disableJavaScriptURLs = false;
export const disableCommentsAsDOMContainers = true;
export const disableInputAttributeSyncing = false;
Expand Down

0 comments on commit 6b1466a

Please sign in to comment.