mirror of
https://github.com/facebook/react.git
synced 2026-02-23 20:23:02 +00:00
## Summary Creates a new `alwaysThrottleDisappearingFallbacks` feature flag that gates the changes from https://github.com/facebook/react/pull/26802 (instead of being controlled by `alwaysThrottleRetries`). The values of this new flag mirror the current values of `alwaysThrottleRetries` such that there is no behavior difference. This additional feature flag allows us to incrementally validate the change (arguably bug fix) from https://github.com/facebook/react/pull/26802 independently from `alwaysThrottleRetries`. ## How did you test this change? ``` $ yarn test $ yarn flow dom-browser $ yarn flow dom-fb $ yarn flow fabric ```
24 lines
978 B
JavaScript
24 lines
978 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 alwaysThrottleDisappearingFallbacks: boolean;
|
|
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 useModernStrictMode: boolean;
|
|
}
|