mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Changelog: [internal] Reviewed By: yungsters Differential Revision: D31760907 fbshipit-source-id: ba145a30ead52abeb8affca84c3dec21dfefe30c
21 lines
842 B
JavaScript
21 lines
842 B
JavaScript
/**
|
|
* 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.
|
|
*
|
|
* @format
|
|
* @flow strict-local
|
|
*/
|
|
|
|
// TODO: Remove this module when the import is removed from the React renderers.
|
|
|
|
// This module is used by React to initialize the React Native runtime,
|
|
// but it is now a no-op.
|
|
|
|
// This is redundant because all React Native apps are already executing
|
|
// `InitializeCore` before the entrypoint of the JS bundle
|
|
// (see https://github.com/react-native-community/cli/blob/e1da64317a1178c2b262d82c2f14210cdfa3ebe1/packages/cli-plugin-metro/src/tools/loadMetroConfig.ts#L93)
|
|
// and importing it unconditionally from React only prevents users from
|
|
// customizing what they want to include in their apps (re: app size).
|