Skip to content

Commit

Permalink
Hardcode the setting to false instead
Browse files Browse the repository at this point in the history
  • Loading branch information
rickhanlonii committed Apr 15, 2021
1 parent e35d464 commit 9aff2c4
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/shared/forks/ReactFeatureFlags.native-fb.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@

import typeof * as FeatureFlagsType from 'shared/ReactFeatureFlags';
import typeof * as ExportsType from './ReactFeatureFlags.native-fb';
import * as DynamicFeatureFlags from './ReactFeatureFlags.www-dynamic';

// Re-export dynamic flags.
const dynamicFeatureFlags: DynamicFeatureFlags = require('ReactFeatureFlags');
export const {enableSyncDefaultUpdates} = dynamicFeatureFlags;

// The rest of the flags are static for better dead code elimination.
export const enableDebugTracing = false;
Expand Down Expand Up @@ -65,6 +60,7 @@ export const enableUseRefAccessWarning = false;
export const enableRecursiveCommitTraversal = false;
export const disableSchedulerTimeoutInWorkLoop = false;
export const enableLazyContextPropagation = false;
export const enableSyncDefaultUpdates = false;

// Flow magic to verify the exports of this file match the original version.
// eslint-disable-next-line no-unused-vars
Expand Down

0 comments on commit 9aff2c4

Please sign in to comment.