Skip to content

Commit

Permalink
Update enableSyncDefaultUpdates for www (facebook#26857)
Browse files Browse the repository at this point in the history
If this is false, it dead code eliminates the path to use the root flag.
Will follow up to clean this up.
  • Loading branch information
rickhanlonii authored and AndyPengc12 committed Apr 15, 2024
1 parent 3576e19 commit fd1c0b2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/shared/forks/ReactFeatureFlags.www.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,7 @@ export const enableUseMutableSource = true;
export const useModernStrictMode = false;
export const enableFizzExternalRuntime = true;

// This is only used in VARIANT tests, setting it to true does nothing.
export const enableSyncDefaultUpdates = false;
export const enableSyncDefaultUpdates = true;

// Flow magic to verify the exports of this file match the original version.
((((null: any): ExportsType): FeatureFlagsType): ExportsType);

0 comments on commit fd1c0b2

Please sign in to comment.