@samitouri / QOS-React / commits / fb9a90fa48

Set disableLegacyMode to true for www (#29871)

Set disableLegacyMode to true for www

Jan Kassens committed Jun 14, 2024 at 09:52 UTC fb9a90fa480efce40ac2a845478817467f965ddc
2 files changed +1 -3
packages/shared/forks/ReactFeatureFlags.www-dynamic.js
-1
@@ -32,7 +32,6 @@ export const retryLaneExpirationMs = 5000;
32 export const syncLaneExpirationMs = 250;
33 export const transitionLaneExpirationMs = 5000;
34 export const enableAddPropertiesFastPath = __VARIANT__;
35 -export const disableLegacyMode = __VARIANT__;
35
36 // Enable this flag to help with concurrent mode debugging.
37 // It logs information to the console about React scheduling, rendering, and commit phases.
packages/shared/forks/ReactFeatureFlags.www.js
+1 -2
@@ -119,8 +119,7 @@ export const useModernStrictMode = true;
119 // because JSX is an extremely hot path.
120 export const disableStringRefs = false;
121
122 -export const disableLegacyMode: boolean =
123 - __EXPERIMENTAL__ || dynamicFeatureFlags.disableLegacyMode;
122 +export const disableLegacyMode = true;
123
124 export const enableOwnerStacks = false;
125 export const enableShallowPropDiffing = false;