mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 00:20:04 +01:00
[flags] make enableScrollEndPolyfill dynamic (#32517)
Will roll this out in www
This commit is contained in:
parent
443b7ff2a8
commit
d48c69246c
|
|
@ -39,6 +39,7 @@ export const enableUseEffectCRUDOverload = __VARIANT__;
|
|||
export const enableFastAddPropertiesInDiffing = __VARIANT__;
|
||||
export const enableLazyPublicInstanceInFabric = false;
|
||||
export const enableViewTransition = __VARIANT__;
|
||||
export const enableScrollEndPolyfill = __VARIANT__;
|
||||
|
||||
// TODO: These flags are hard-coded to the default values used in open source.
|
||||
// Update the tests so that they pass in either mode, then set these
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@ export const {
|
|||
transitionLaneExpirationMs,
|
||||
enableFastAddPropertiesInDiffing,
|
||||
enableViewTransition,
|
||||
enableScrollEndPolyfill,
|
||||
} = dynamicFeatureFlags;
|
||||
|
||||
// On WWW, __EXPERIMENTAL__ is used for a new modern build.
|
||||
|
|
@ -116,7 +117,5 @@ export const enableLazyPublicInstanceInFabric = false;
|
|||
|
||||
export const enableSwipeTransition = false;
|
||||
|
||||
export const enableScrollEndPolyfill = false;
|
||||
|
||||
// Flow magic to verify the exports of this file match the original version.
|
||||
((((null: any): ExportsType): FeatureFlagsType): ExportsType);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user