Skip to content

Commit 34b844a

Browse files
kassensAndyPengc12
authored andcommitted
Remove dynamic www flag for disableInputAttributeSyncing (facebook#28703)
Remove dynamic www flag for disableInputAttributeSyncing
1 parent c74c7e8 commit 34b844a

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

packages/shared/forks/ReactFeatureFlags.www-dynamic.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
// Use __VARIANT__ to simulate a GK. The tests will be run twice: once
1414
// with the __VARIANT__ set to `true`, and once set to `false`.
1515

16-
export const disableInputAttributeSyncing = __VARIANT__;
1716
export const disableIEWorkarounds = __VARIANT__;
1817
export const enableBigIntSupport = __VARIANT__;
1918
export const enableLegacyFBSupport = __VARIANT__;

packages/shared/forks/ReactFeatureFlags.www.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import typeof * as DynamicFeatureFlags from './ReactFeatureFlags.www-dynamic';
1515
const dynamicFeatureFlags: DynamicFeatureFlags = require('ReactFeatureFlags');
1616

1717
export const {
18-
disableInputAttributeSyncing,
1918
disableIEWorkarounds,
2019
enableBigIntSupport,
2120
enableTrustedTypesIntegration,
@@ -57,6 +56,7 @@ export const enableUseMemoCacheHook = true;
5756
export const enableUseEffectEventHook = true;
5857
export const enableFilterEmptyStringAttributesDOM = true;
5958
export const enableAsyncActions = true;
59+
export const disableInputAttributeSyncing = false;
6060

6161
// Logs additional User Timing API marks for use with an experimental profiling tool.
6262
export const enableSchedulingProfiler: boolean =

scripts/jest/setupTests.www.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ jest.mock('shared/ReactFeatureFlags', () => {
1111
// This flag is only used by tests, it should never be set elsewhere.
1212
actual.forceConcurrentByDefaultForTesting = !__VARIANT__;
1313

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+
1418
return actual;
1519
});
1620

0 commit comments

Comments
 (0)