mirror of
https://github.com/hanzoai/react.git
synced 2026-09-24 17:02:27 +00:00
Enable flag disableModulePatternComponents for native-fb (#27807)
#27742 will remove this feature flag altogether, this just already removes the dynamic flag for the Meta React Native build ahead of time.
This commit is contained in:
@@ -21,7 +21,6 @@ import typeof * as DynamicFlagsType from 'ReactNativeInternalFeatureFlags';
|
||||
// update the test configuration.
|
||||
|
||||
export const alwaysThrottleRetries = __VARIANT__;
|
||||
export const disableModulePatternComponents = __VARIANT__;
|
||||
export const enableDeferRootSchedulingToMicrotask = __VARIANT__;
|
||||
export const enableUnifiedSyncLane = __VARIANT__;
|
||||
export const enableUseRefAccessWarning = __VARIANT__;
|
||||
|
||||
@@ -19,7 +19,6 @@ import * as dynamicFlags from 'ReactNativeInternalFeatureFlags';
|
||||
// the exports object every time a flag is read.
|
||||
export const {
|
||||
alwaysThrottleRetries,
|
||||
disableModulePatternComponents,
|
||||
enableDeferRootSchedulingToMicrotask,
|
||||
enableUnifiedSyncLane,
|
||||
enableUseRefAccessWarning,
|
||||
@@ -28,6 +27,7 @@ export const {
|
||||
} = dynamicFlags;
|
||||
|
||||
// The rest of the flags are static for better dead code elimination.
|
||||
export const disableModulePatternComponents = true;
|
||||
export const enableDebugTracing = false;
|
||||
export const enableSchedulingProfiler = __PROFILE__;
|
||||
export const enableProfilerTimer = __PROFILE__;
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
|
||||
declare module 'ReactNativeInternalFeatureFlags' {
|
||||
declare export var alwaysThrottleRetries: boolean;
|
||||
declare export var disableModulePatternComponents: boolean;
|
||||
declare export var enableDeferRootSchedulingToMicrotask: boolean;
|
||||
declare export var enableUnifiedSyncLane: boolean;
|
||||
declare export var enableUseRefAccessWarning: boolean;
|
||||
|
||||
Reference in New Issue
Block a user