Skip to content

Commit 91f5712

Browse files
committed
Revert rollout state of enableCache in React Native to next major only
1 parent a870b2d commit 91f5712

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

packages/shared/forks/ReactFeatureFlags.native-oss.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@
1010
import typeof * as FeatureFlagsType from 'shared/ReactFeatureFlags';
1111
import typeof * as ExportsType from './ReactFeatureFlags.native-oss';
1212

13+
// -----------------------------------------------------------------------------
14+
// Ready for next major.
15+
//
16+
// Alias __NEXT_MAJOR__ to false for easier skimming.
17+
// -----------------------------------------------------------------------------
18+
const __NEXT_MAJOR__ = false;
19+
1320
export const debugRenderPhaseSideEffectsForStrictMode = __DEV__;
1421
export const enableDebugTracing = false;
1522
export const enableAsyncDebugInfo = false;
@@ -18,7 +25,7 @@ export const enableProfilerTimer = __PROFILE__;
1825
export const enableProfilerCommitHooks = __PROFILE__;
1926
export const enableProfilerNestedUpdatePhase = __PROFILE__;
2027
export const enableUpdaterTracking = __PROFILE__;
21-
export const enableCache = true;
28+
export const enableCache = __NEXT_MAJOR__;
2229
export const enableLegacyCache = false;
2330
export const enableCacheElement = true;
2431
export const enableFetchInstrumentation = false;

0 commit comments

Comments
 (0)