diff --git a/packages/shared/ReactFeatureFlags.js b/packages/shared/ReactFeatureFlags.js index 3ed8f45f9a433..f427540563cb1 100644 --- a/packages/shared/ReactFeatureFlags.js +++ b/packages/shared/ReactFeatureFlags.js @@ -159,7 +159,7 @@ export const disableIEWorkarounds = true; export const enableFilterEmptyStringAttributesDOM = true; // Disabled caching behavior of `react/cache` in client runtimes. -export const disableClientCache = false; +export const disableClientCache = true; // Changes Server Components Reconciliation when they have keys export const enableServerComponentKeys = true; diff --git a/scripts/jest/setupTests.www.js b/scripts/jest/setupTests.www.js index 0f2bd556d85d2..485f1b80b683f 100644 --- a/scripts/jest/setupTests.www.js +++ b/scripts/jest/setupTests.www.js @@ -15,10 +15,11 @@ jest.mock('shared/ReactFeatureFlags', () => { // code live. actual.disableInputAttributeSyncing = __VARIANT__; - // This is hardcoded to true for the next release, + // These are hardcoded to true for the next release, // but still run the tests against both variants until // we remove the flag. actual.disableIEWorkarounds = __VARIANT__; + actual.disableClientCache = __VARIANT__; return actual; });