2020-07-30 04:31:05 +08:00
|
|
|
/**
|
|
|
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
|
|
|
*
|
|
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
|
|
|
|
*
|
|
|
|
|
* @flow
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
import typeof * as FeatureFlagsType from 'shared/ReactFeatureFlags';
|
|
|
|
|
import typeof * as ExportsType from './ReactFeatureFlags.test-renderer';
|
|
|
|
|
|
|
|
|
|
export const debugRenderPhaseSideEffectsForStrictMode = false;
|
|
|
|
|
export const enableDebugTracing = false;
|
|
|
|
|
export const enableSchedulingProfiler = false;
|
|
|
|
|
export const warnAboutDeprecatedLifecycles = true;
|
|
|
|
|
export const replayFailedUnitOfWorkWithInvokeGuardedCallback = false;
|
|
|
|
|
export const enableProfilerTimer = __PROFILE__;
|
2021-05-26 05:32:14 +08:00
|
|
|
export const enableProfilerCommitHooks = __PROFILE__;
|
|
|
|
|
export const enableProfilerNestedUpdatePhase = __PROFILE__;
|
2020-11-12 22:31:27 +08:00
|
|
|
export const enableProfilerNestedUpdateScheduledHook = false;
|
2021-04-09 22:34:33 +08:00
|
|
|
export const enableUpdaterTracking = false;
|
2020-07-30 04:31:05 +08:00
|
|
|
export const enableSuspenseServerRenderer = false;
|
|
|
|
|
export const enableSelectiveHydration = false;
|
|
|
|
|
export const enableLazyElements = false;
|
2020-12-03 11:44:56 +08:00
|
|
|
export const enableCache = false;
|
2020-07-30 04:31:05 +08:00
|
|
|
export const disableJavaScriptURLs = false;
|
|
|
|
|
export const disableInputAttributeSyncing = false;
|
|
|
|
|
export const enableSchedulerDebugging = false;
|
|
|
|
|
export const enableScopeAPI = false;
|
|
|
|
|
export const enableCreateEventHandleAPI = false;
|
|
|
|
|
export const enableSuspenseCallback = false;
|
|
|
|
|
export const warnAboutDefaultPropsOnFunctionComponents = false;
|
|
|
|
|
export const warnAboutStringRefs = false;
|
|
|
|
|
export const disableLegacyContext = false;
|
|
|
|
|
export const disableSchedulerTimeoutBasedOnReactExpirationTime = false;
|
|
|
|
|
export const enableTrustedTypesIntegration = false;
|
|
|
|
|
export const disableTextareaChildren = false;
|
|
|
|
|
export const disableModulePatternComponents = false;
|
|
|
|
|
export const warnUnstableRenderSubtreeIntoContainer = false;
|
|
|
|
|
export const warnAboutSpreadingKeyToJSX = false;
|
|
|
|
|
export const enableComponentStackLocations = false;
|
|
|
|
|
export const enableLegacyFBSupport = false;
|
2020-07-31 22:01:27 +08:00
|
|
|
export const enableFilterEmptyStringAttributesDOM = false;
|
2020-12-02 23:25:55 +08:00
|
|
|
export const disableNativeComponentFrames = false;
|
2021-01-25 21:54:20 +08:00
|
|
|
export const skipUnmountedBoundaries = false;
|
2021-06-15 03:10:24 +08:00
|
|
|
export const deletedTreeCleanUpLevel = 3;
|
2021-04-06 21:21:02 +08:00
|
|
|
export const enableSuspenseLayoutEffectSemantics = false;
|
2021-07-26 21:56:59 +08:00
|
|
|
export const enableGetInspectorDataForInstanceInProduction = false;
|
2020-07-30 04:31:05 +08:00
|
|
|
export const enableNewReconciler = false;
|
2021-06-03 02:28:06 +08:00
|
|
|
export const deferRenderPhaseUpdateToNextBatch = false;
|
2021-09-09 05:01:09 +08:00
|
|
|
export const warnOnSubscriptionInsideStartTransition = false;
|
2021-09-21 03:44:48 +08:00
|
|
|
export const enableSuspenseAvoidThisFallback = false;
|
2021-12-04 08:35:20 +08:00
|
|
|
export const enableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay = true;
|
2021-11-18 21:16:09 +08:00
|
|
|
export const enableClientRenderFallbackOnHydrationMismatch = true;
|
2021-02-25 05:14:14 +08:00
|
|
|
export const enableStrictEffects = false;
|
|
|
|
|
export const createRootStrictEffectsByDefault = false;
|
2020-10-20 04:05:00 +08:00
|
|
|
export const enableUseRefAccessWarning = false;
|
2020-09-25 04:42:17 +08:00
|
|
|
|
2020-12-18 06:17:23 +08:00
|
|
|
export const disableSchedulerTimeoutInWorkLoop = false;
|
2021-02-26 06:42:11 +08:00
|
|
|
export const enableLazyContextPropagation = false;
|
2021-05-25 23:21:58 +08:00
|
|
|
export const enableSyncDefaultUpdates = true;
|
2021-05-11 22:12:46 +08:00
|
|
|
export const allowConcurrentByDefault = true;
|
2021-08-04 10:30:20 +08:00
|
|
|
export const enablePersistentOffscreenHostContainer = false;
|
2020-10-28 03:02:19 +08:00
|
|
|
|
2021-09-08 02:51:12 +08:00
|
|
|
export const consoleManagedByDevToolsDuringStrictMode = false;
|
2021-11-01 12:39:51 +08:00
|
|
|
export const enableUseMutableSource = false;
|
2021-09-02 02:56:52 +08:00
|
|
|
|
2022-01-11 04:32:40 +08:00
|
|
|
export const enableTransitionTracing = false;
|
|
|
|
|
|
2020-07-30 04:31:05 +08:00
|
|
|
// Flow magic to verify the exports of this file match the original version.
|
|
|
|
|
// eslint-disable-next-line no-unused-vars
|
|
|
|
|
type Check<_X, Y: _X, X: Y = _X> = null;
|
|
|
|
|
// eslint-disable-next-line no-unused-expressions
|
|
|
|
|
(null: Check<ExportsType, FeatureFlagsType>);
|