mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Set disableLegacyMode to true for www (#29871)
Set disableLegacyMode to true for www
This commit is contained in:
@@ -32,7 +32,6 @@ export const retryLaneExpirationMs = 5000;
|
||||
export const syncLaneExpirationMs = 250;
|
||||
export const transitionLaneExpirationMs = 5000;
|
||||
export const enableAddPropertiesFastPath = __VARIANT__;
|
||||
export const disableLegacyMode = __VARIANT__;
|
||||
|
||||
// Enable this flag to help with concurrent mode debugging.
|
||||
// It logs information to the console about React scheduling, rendering, and commit phases.
|
||||
|
||||
@@ -119,8 +119,7 @@ export const useModernStrictMode = true;
|
||||
// because JSX is an extremely hot path.
|
||||
export const disableStringRefs = false;
|
||||
|
||||
export const disableLegacyMode: boolean =
|
||||
__EXPERIMENTAL__ || dynamicFeatureFlags.disableLegacyMode;
|
||||
export const disableLegacyMode = true;
|
||||
|
||||
export const enableOwnerStacks = false;
|
||||
export const enableShallowPropDiffing = false;
|
||||
|
||||
Reference in New Issue
Block a user