ReactNativeInjectionShared.js — react Source File
Architecture documentation for ReactNativeInjectionShared.js, a javascript file in the react codebase. 7 imports, 2 dependents.
Entity Profile
Dependency Diagram
graph LR f7a9d9bb_c840_a894_8211_44aed0d8bb24["ReactNativeInjectionShared.js"] 674c6180_b91e_e17d_fb2d_40a6a3631bb3["ResponderEventPlugin.js"] f7a9d9bb_c840_a894_8211_44aed0d8bb24 --> 674c6180_b91e_e17d_fb2d_40a6a3631bb3 6b52f26d_d341_6500_ecb0_54a0747596f4["EventPluginRegistry.js"] f7a9d9bb_c840_a894_8211_44aed0d8bb24 --> 6b52f26d_d341_6500_ecb0_54a0747596f4 96cfac07_c416_a503_e81a_af2679f87155["injectEventPluginOrder"] f7a9d9bb_c840_a894_8211_44aed0d8bb24 --> 96cfac07_c416_a503_e81a_af2679f87155 f55c8d49_9eb4_cbc0_cf86_70427ca10470["injectEventPluginsByName"] f7a9d9bb_c840_a894_8211_44aed0d8bb24 --> f55c8d49_9eb4_cbc0_cf86_70427ca10470 577670f6_1f7f_5e0d_b9b6_894b69a76a73["ReactNativeBridgeEventPlugin.js"] f7a9d9bb_c840_a894_8211_44aed0d8bb24 --> 577670f6_1f7f_5e0d_b9b6_894b69a76a73 39538663_5896_e4c9_472b_08ed3e771df2["ReactNativeEventPluginOrder.js"] f7a9d9bb_c840_a894_8211_44aed0d8bb24 --> 39538663_5896_e4c9_472b_08ed3e771df2 3928f186_16bd_2e1c_22f5_daaef639e4c9["ReactNativePrivateInitializeCore"] f7a9d9bb_c840_a894_8211_44aed0d8bb24 --> 3928f186_16bd_2e1c_22f5_daaef639e4c9 f5f93cbf_f7fc_49fc_c1ef_17ea4ef34d0e["ReactFabricInjection.js"] f5f93cbf_f7fc_49fc_c1ef_17ea4ef34d0e --> f7a9d9bb_c840_a894_8211_44aed0d8bb24 dea78bbd_0d4e_27e7_3d5e_51bbb5d31b87["ReactNativeInjection.js"] dea78bbd_0d4e_27e7_3d5e_51bbb5d31b87 --> f7a9d9bb_c840_a894_8211_44aed0d8bb24 style f7a9d9bb_c840_a894_8211_44aed0d8bb24 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
/**
* 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
*/
/**
* Make sure essential globals are available and are patched correctly. Please don't remove this
* line. Bundles created by react-packager `require` it before executing any application code. This
* ensures it exists in the dependency graph and can be `require`d.
* TODO: require this in packager, not in React #10932517
*/
// Module provided by RN:
import 'react-native/Libraries/ReactPrivate/ReactNativePrivateInitializeCore';
import ResponderEventPlugin from './legacy-events/ResponderEventPlugin';
import {
injectEventPluginOrder,
injectEventPluginsByName,
} from './legacy-events/EventPluginRegistry';
import ReactNativeBridgeEventPlugin from './ReactNativeBridgeEventPlugin';
import ReactNativeEventPluginOrder from './ReactNativeEventPluginOrder';
/**
* Inject module for resolving DOM hierarchy and plugin ordering.
*/
injectEventPluginOrder(ReactNativeEventPluginOrder);
/**
* Some important event plugins included by default (without having to require
* them).
*/
injectEventPluginsByName({
ResponderEventPlugin: ResponderEventPlugin,
ReactNativeBridgeEventPlugin: ReactNativeBridgeEventPlugin,
});
Domain
Dependencies
Imported By
Source
Frequently Asked Questions
What does ReactNativeInjectionShared.js do?
ReactNativeInjectionShared.js is a source file in the react codebase, written in javascript. It belongs to the BabelCompiler domain.
What does ReactNativeInjectionShared.js depend on?
ReactNativeInjectionShared.js imports 7 module(s): EventPluginRegistry.js, ReactNativeBridgeEventPlugin.js, ReactNativeEventPluginOrder.js, ReactNativePrivateInitializeCore, ResponderEventPlugin.js, injectEventPluginOrder, injectEventPluginsByName.
What files import ReactNativeInjectionShared.js?
ReactNativeInjectionShared.js is imported by 2 file(s): ReactFabricInjection.js, ReactNativeInjection.js.
Where is ReactNativeInjectionShared.js in the architecture?
ReactNativeInjectionShared.js is located at packages/react-native-renderer/src/ReactNativeInjectionShared.js (domain: BabelCompiler, directory: packages/react-native-renderer/src).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free