SimpleEventPlugin.js — react Source File
Architecture documentation for SimpleEventPlugin.js, a javascript file in the react codebase. 13 imports, 1 dependents.
Entity Profile
Dependency Diagram
graph LR 43bccccc_6fb9_1e3f_9c97_ea90d6d01475["SimpleEventPlugin.js"] 4e9925e9_ca97_8d79_6ffa_a9347d262615["DOMEventNames.js"] 43bccccc_6fb9_1e3f_9c97_ea90d6d01475 --> 4e9925e9_ca97_8d79_6ffa_a9347d262615 441cc620_4cb4_9cec_2f7a_93b0594f4707["PluginModuleType.js"] 43bccccc_6fb9_1e3f_9c97_ea90d6d01475 --> 441cc620_4cb4_9cec_2f7a_93b0594f4707 816b54e5_c63c_f8b2_68e8_0c637e281f03["DOMPluginEventSystem.js"] 43bccccc_6fb9_1e3f_9c97_ea90d6d01475 --> 816b54e5_c63c_f8b2_68e8_0c637e281f03 e8ab76a4_05c2_cc4f_1bc2_aec96b5daa8c["EventSystemFlags.js"] 43bccccc_6fb9_1e3f_9c97_ea90d6d01475 --> e8ab76a4_05c2_cc4f_1bc2_aec96b5daa8c 3632e1a4_9237_b583_7260_c67d392d0405["ReactSyntheticEventType.js"] 43bccccc_6fb9_1e3f_9c97_ea90d6d01475 --> 3632e1a4_9237_b583_7260_c67d392d0405 9c3d71d9_41af_c5e7_cd35_d25bbf6cf606["SyntheticEvent.js"] 43bccccc_6fb9_1e3f_9c97_ea90d6d01475 --> 9c3d71d9_41af_c5e7_cd35_d25bbf6cf606 658d2068_647d_6a17_8bb9_0fcce1aac5fc["DOMEventProperties.js"] 43bccccc_6fb9_1e3f_9c97_ea90d6d01475 --> 658d2068_647d_6a17_8bb9_0fcce1aac5fc 1319a162_2d9a_61cf_4d68_384a2c0f327f["registerSimpleEvents"] 43bccccc_6fb9_1e3f_9c97_ea90d6d01475 --> 1319a162_2d9a_61cf_4d68_384a2c0f327f ffe5dadd_1136_563b_f11c_19f1898c60be["accumulateSinglePhaseListeners"] 43bccccc_6fb9_1e3f_9c97_ea90d6d01475 --> ffe5dadd_1136_563b_f11c_19f1898c60be d78b8333_1674_238a_05bc_00693b9f27d2["getEventCharCode.js"] 43bccccc_6fb9_1e3f_9c97_ea90d6d01475 --> d78b8333_1674_238a_05bc_00693b9f27d2 e465f930_ff45_eb24_125c_d4942d1fa85f["getEventCharCode"] 43bccccc_6fb9_1e3f_9c97_ea90d6d01475 --> e465f930_ff45_eb24_125c_d4942d1fa85f 42892443_e223_3da0_aeb9_e1b32a408fb0["ReactInternalTypes"] 43bccccc_6fb9_1e3f_9c97_ea90d6d01475 --> 42892443_e223_3da0_aeb9_e1b32a408fb0 8344de1b_978c_be0f_eebd_38ccc4962a93["ReactFeatureFlags"] 43bccccc_6fb9_1e3f_9c97_ea90d6d01475 --> 8344de1b_978c_be0f_eebd_38ccc4962a93 816b54e5_c63c_f8b2_68e8_0c637e281f03["DOMPluginEventSystem.js"] 816b54e5_c63c_f8b2_68e8_0c637e281f03 --> 43bccccc_6fb9_1e3f_9c97_ea90d6d01475 style 43bccccc_6fb9_1e3f_9c97_ea90d6d01475 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
*/
import type {DOMEventName} from '../../events/DOMEventNames';
import type {Fiber} from 'react-reconciler/src/ReactInternalTypes';
import type {AnyNativeEvent} from '../../events/PluginModuleType';
import type {DispatchQueue} from '../DOMPluginEventSystem';
import type {EventSystemFlags} from '../EventSystemFlags';
import type {ReactSyntheticEvent} from '../ReactSyntheticEventType';
import {
SyntheticEvent,
SyntheticKeyboardEvent,
SyntheticFocusEvent,
SyntheticMouseEvent,
SyntheticDragEvent,
SyntheticTouchEvent,
SyntheticAnimationEvent,
SyntheticTransitionEvent,
SyntheticUIEvent,
SyntheticWheelEvent,
SyntheticClipboardEvent,
SyntheticPointerEvent,
SyntheticSubmitEvent,
SyntheticToggleEvent,
} from '../../events/SyntheticEvent';
import {
ANIMATION_END,
ANIMATION_ITERATION,
ANIMATION_START,
TRANSITION_END,
} from '../DOMEventNames';
import {
topLevelEventsToReactNames,
registerSimpleEvents,
} from '../DOMEventProperties';
import {
accumulateSinglePhaseListeners,
accumulateEventHandleNonManagedNodeListeners,
} from '../DOMPluginEventSystem';
import {
IS_EVENT_HANDLE_NON_MANAGED_NODE,
IS_CAPTURE_PHASE,
} from '../EventSystemFlags';
import getEventCharCode from '../getEventCharCode';
import {enableCreateEventHandleAPI} from 'shared/ReactFeatureFlags';
function extractEvents(
dispatchQueue: DispatchQueue,
domEventName: DOMEventName,
targetInst: null | Fiber,
// ... (178 more lines)
Domain
Subdomains
Functions
Dependencies
Source
Frequently Asked Questions
What does SimpleEventPlugin.js do?
SimpleEventPlugin.js is a source file in the react codebase, written in javascript. It belongs to the BabelCompiler domain, Validation subdomain.
What functions are defined in SimpleEventPlugin.js?
SimpleEventPlugin.js defines 1 function(s): extractEvents.
What does SimpleEventPlugin.js depend on?
SimpleEventPlugin.js imports 13 module(s): DOMEventNames.js, DOMEventProperties.js, DOMPluginEventSystem.js, EventSystemFlags.js, PluginModuleType.js, ReactFeatureFlags, ReactInternalTypes, ReactSyntheticEventType.js, and 5 more.
What files import SimpleEventPlugin.js?
SimpleEventPlugin.js is imported by 1 file(s): DOMPluginEventSystem.js.
Where is SimpleEventPlugin.js in the architecture?
SimpleEventPlugin.js is located at packages/react-dom-bindings/src/events/plugins/SimpleEventPlugin.js (domain: BabelCompiler, subdomain: Validation, directory: packages/react-dom-bindings/src/events/plugins).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free