[flags] make enableScrollEndPolyfill dynamic (#32517)
Will roll this out in www
Ricky committed
Mar 4, 2025 at 11:55 UTC
d48c69246c9acd3b39c1eec4f3c12103e95cdd66
2 files changed
+2
-2
packages/shared/forks/ReactFeatureFlags.www-dynamic.js
+1
@@ -39,6 +39,7 @@ export const enableUseEffectCRUDOverload = __VARIANT__;
39
export const enableFastAddPropertiesInDiffing = __VARIANT__;
40
export const enableLazyPublicInstanceInFabric = false;
41
export const enableViewTransition = __VARIANT__;
42
+export const enableScrollEndPolyfill = __VARIANT__;
43
44
// TODO: These flags are hard-coded to the default values used in open source.
45
// Update the tests so that they pass in either mode, then set these
packages/shared/forks/ReactFeatureFlags.www.js
+1
-2
@@ -37,6 +37,7 @@ export const {
37
transitionLaneExpirationMs,
38
enableFastAddPropertiesInDiffing,
39
enableViewTransition,
40
+ enableScrollEndPolyfill,
41
} = dynamicFeatureFlags;
42
43
// On WWW, __EXPERIMENTAL__ is used for a new modern build.
@@ -116,7 +117,5 @@ export const enableLazyPublicInstanceInFabric = false;
117
118
export const enableSwipeTransition = false;
119
119
-export const enableScrollEndPolyfill = false;
120
-
120
// Flow magic to verify the exports of this file match the original version.
121
((((null: any): ExportsType): FeatureFlagsType): ExportsType);