Skip to content

Commit

Permalink
Set disableModulePatternComponents flag to __NEXT_MAJOR__ (facebook#2…
Browse files Browse the repository at this point in the history
  • Loading branch information
kassens authored and AndyPengc12 committed Apr 15, 2024
1 parent a540fc4 commit bb6c209
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/shared/ReactFeatureFlags.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ export const enableNewBooleanProps = __NEXT_MAJOR__;
// when we plan to enable them.
// -----------------------------------------------------------------------------

export const disableModulePatternComponents = false;
export const disableModulePatternComponents = __NEXT_MAJOR__;

export const enableUseRefAccessWarning = false;

Expand Down
2 changes: 1 addition & 1 deletion packages/shared/forks/ReactFeatureFlags.test-renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ export const enableCreateEventHandleAPI = false;
export const enableSuspenseCallback = false;
export const enableTrustedTypesIntegration = false;
export const disableTextareaChildren = false;
export const disableModulePatternComponents = false;
export const enableSuspenseAvoidThisFallback = false;
export const enableSuspenseAvoidThisFallbackFizz = false;
export const enableCPUSuspense = false;
Expand Down Expand Up @@ -101,6 +100,7 @@ export const enableBigIntSupport = __NEXT_MAJOR__;
export const disableLegacyMode = __NEXT_MAJOR__;
export const disableLegacyContext = __NEXT_MAJOR__;
export const enableNewBooleanProps = __NEXT_MAJOR__;
export const disableModulePatternComponents = __NEXT_MAJOR__;

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

0 comments on commit bb6c209

Please sign in to comment.