mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
Enable flag disableClientCache (#28846)
Enable flag disableClientCache Forcing a `__VARIANT__` in the mock file so we keep testing this until fully removing it.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user