Remove dynamic www flag for disableInputAttributeSyncing (#28703)
Remove dynamic www flag for disableInputAttributeSyncing
Jan Kassens committed
Apr 2, 2024 at 10:57 UTC
7659c4d9e0e4de2ec758c9a03ad7cbf07fc696d0
3 files changed
+5
-2
packages/shared/forks/ReactFeatureFlags.www-dynamic.js
-1
@@ -13,7 +13,6 @@
13
// Use __VARIANT__ to simulate a GK. The tests will be run twice: once
14
// with the __VARIANT__ set to `true`, and once set to `false`.
15
16
-export const disableInputAttributeSyncing = __VARIANT__;
16
export const disableIEWorkarounds = __VARIANT__;
17
export const enableBigIntSupport = __VARIANT__;
18
export const enableLegacyFBSupport = __VARIANT__;
packages/shared/forks/ReactFeatureFlags.www.js
+1
-1
@@ -15,7 +15,6 @@ import typeof * as DynamicFeatureFlags from './ReactFeatureFlags.www-dynamic';
15
const dynamicFeatureFlags: DynamicFeatureFlags = require('ReactFeatureFlags');
16
17
export const {
18
- disableInputAttributeSyncing,
18
disableIEWorkarounds,
19
enableBigIntSupport,
20
enableTrustedTypesIntegration,
@@ -57,6 +56,7 @@ export const enableUseMemoCacheHook = true;
56
export const enableUseEffectEventHook = true;
57
export const enableFilterEmptyStringAttributesDOM = true;
58
export const enableAsyncActions = true;
59
+export const disableInputAttributeSyncing = false;
60
61
// Logs additional User Timing API marks for use with an experimental profiling tool.
62
export const enableSchedulingProfiler: boolean =
scripts/jest/setupTests.www.js
+4
@@ -11,6 +11,10 @@ jest.mock('shared/ReactFeatureFlags', () => {
11
// This flag is only used by tests, it should never be set elsewhere.
12
actual.forceConcurrentByDefaultForTesting = !__VARIANT__;
13
14
+ // Flags that aren't currently used, but we still want to force variants to keep the
15
+ // code live.
16
+ actual.disableInputAttributeSyncing = __VARIANT__;
17
+
18
return actual;
19
});
20