mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 12:20:20 +01:00
## Summary This PR is a subset of https://github.com/facebook/react/pull/28425, which only includes the feature flags that will be configured as dynamic. The following list summarizes the feature flag changes: * RN FB * Change to Dynamic * consoleManagedByDevToolsDuringStrictMode * enableAsyncActions * enableDeferRootSchedulingToMicrotask * enableRenderableContext * useModernStrictMode ## How did you test this change? Ran the following successfully: ``` $ yarn test $ yarn flow native $ yarn flow fabric ```
24 lines
977 B
JavaScript
24 lines
977 B
JavaScript
/**
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @flow
|
|
*/
|
|
|
|
declare module 'ReactNativeInternalFeatureFlags' {
|
|
declare export var alwaysThrottleRetries: boolean;
|
|
declare export var consoleManagedByDevToolsDuringStrictMode: boolean;
|
|
declare export var enableAsyncActions: boolean;
|
|
declare export var enableComponentStackLocations: boolean;
|
|
declare export var enableDeferRootSchedulingToMicrotask: boolean;
|
|
declare export var enableInfiniteRenderLoopDetection: boolean;
|
|
declare export var enableRenderableContext: boolean;
|
|
declare export var enableUnifiedSyncLane: boolean;
|
|
declare export var enableUseRefAccessWarning: boolean;
|
|
declare export var passChildrenWhenCloningPersistedNodes: boolean;
|
|
declare export var useMicrotasksForSchedulingInFabric: boolean;
|
|
declare export var useModernStrictMode: boolean;
|
|
}
|