diff --git a/packages/shared/ReactFeatureFlags.js b/packages/shared/ReactFeatureFlags.js index c320acdc45cb4..2b34cf3cbee38 100644 --- a/packages/shared/ReactFeatureFlags.js +++ b/packages/shared/ReactFeatureFlags.js @@ -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; diff --git a/packages/shared/forks/ReactFeatureFlags.test-renderer.js b/packages/shared/forks/ReactFeatureFlags.test-renderer.js index b1dd230c472f5..5bc1d25034f7f 100644 --- a/packages/shared/forks/ReactFeatureFlags.test-renderer.js +++ b/packages/shared/forks/ReactFeatureFlags.test-renderer.js @@ -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; @@ -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);