mirror of
https://github.com/facebook/react.git
synced 2026-02-24 12:43:00 +00:00
* Added new "native-fb" and "native-fabric-fb" bundles. * Split RN_DEV and RN_PROD bundle types into RN_OSS_DEV, RN_OSS_PROD, RN_FB_DEV, and RN_FB_PROD. (This is a bit redundant but it seemed the least intrusive way of supporting a forked feature flags file for these bundles.) * Renamed FB_DEV and FB_PROD bundle types to be more explicitly for www (FB_WWW_DEV and FB_WWW_PROD) * Removed Haste @providesModule headers from the RB-specific RN renderer bundles to avoid a duplicate name conflicts. * Remove dynamic values from OSS RN feature flags. (Leave them in FB RN feature flags.) * Updated the sync script(s) to account for new renderer type. * Move ReactFeatureFlags.js shim to FB bundle only (since OSS bundle no longer needs dynamic values).
19 lines
435 B
JavaScript
19 lines
435 B
JavaScript
/**
|
|
* 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';
|
|
|
|
const ReactFeatureFlags = {
|
|
debugRenderPhaseSideEffects: false,
|
|
debugRenderPhaseSideEffectsForStrictMode: false,
|
|
warnAboutDeprecatedLifecycles: true,
|
|
};
|
|
|
|
module.exports = ReactFeatureFlags;
|