Skip to content

Commit 3897731

Browse files
committed
Set disableModulePatternComponents flag to __NEXT_MAJOR__
Summary: Reviewers: jackpope
1 parent 0aab065 commit 3897731

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/shared/ReactFeatureFlags.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ export const enableNewBooleanProps = __NEXT_MAJOR__;
214214
// when we plan to enable them.
215215
// -----------------------------------------------------------------------------
216216

217-
export const disableModulePatternComponents = false;
217+
export const disableModulePatternComponents = __NEXT_MAJOR__;
218218

219219
export const enableUseRefAccessWarning = false;
220220

packages/shared/forks/ReactFeatureFlags.test-renderer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ export const enableCreateEventHandleAPI = false;
3535
export const enableSuspenseCallback = false;
3636
export const enableTrustedTypesIntegration = false;
3737
export const disableTextareaChildren = false;
38-
export const disableModulePatternComponents = false;
3938
export const enableSuspenseAvoidThisFallback = false;
4039
export const enableSuspenseAvoidThisFallbackFizz = false;
4140
export const enableCPUSuspense = false;
@@ -101,6 +100,7 @@ export const enableBigIntSupport = __NEXT_MAJOR__;
101100
export const disableLegacyMode = __NEXT_MAJOR__;
102101
export const disableLegacyContext = __NEXT_MAJOR__;
103102
export const enableNewBooleanProps = __NEXT_MAJOR__;
103+
export const disableModulePatternComponents = __NEXT_MAJOR__;
104104

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

0 commit comments

Comments
 (0)