GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Enable flag disableClientCache (#28846) · react/react@8afa144

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • packages/shared
    • ReactFeatureFlags.js
  • scripts/jest
    • setupTests.www.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/shared/ReactFeatureFlags.js‎

Copy file name to clipboardExpand all lines: packages/shared/ReactFeatureFlags.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ export const disableIEWorkarounds = true;
159159
export const enableFilterEmptyStringAttributesDOM = true;
160160

161161
// Disabled caching behavior of `react/cache` in client runtimes.
162-
export const disableClientCache = false;
162+
export const disableClientCache = true;
163163

164164
// Changes Server Components Reconciliation when they have keys
165165
export const enableServerComponentKeys = true;
Collapse file

‎scripts/jest/setupTests.www.js‎

Copy file name to clipboardExpand all lines: scripts/jest/setupTests.www.js
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@ jest.mock('shared/ReactFeatureFlags', () => {
1515
// code live.
1616
actual.disableInputAttributeSyncing = __VARIANT__;
1717

18-
// This is hardcoded to true for the next release,
18+
// These are hardcoded to true for the next release,
1919
// but still run the tests against both variants until
2020
// we remove the flag.
2121
actual.disableIEWorkarounds = __VARIANT__;
22+
actual.disableClientCache = __VARIANT__;
2223

2324
return actual;
2425
});

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.