2017-11-29 10:12:57 -08:00
|
|
|
/**
|
|
|
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
|
|
*
|
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
|
|
|
*
|
|
|
|
* @providesModule ReactFeatureFlags
|
|
|
|
*/
|
|
|
|
|
|
|
|
'use strict';
|
|
|
|
|
2018-01-29 14:17:07 -08:00
|
|
|
const ReactFeatureFlags = {
|
2017-11-29 10:12:57 -08:00
|
|
|
debugRenderPhaseSideEffects: false,
|
2018-01-29 14:17:07 -08:00
|
|
|
// TODO (T25573762) Hook this up to a GK for Facaebook engineers (DEV + prod).
|
|
|
|
debugRenderPhaseSideEffectsForStrictMode: true,
|
|
|
|
// TODO (T25573607) Enable this warning once deprecation codemod has been run.
|
|
|
|
warnAboutDeprecatedLifecycles: false,
|
2017-11-29 10:12:57 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
module.exports = ReactFeatureFlags;
|