accumulateDirectionalDispatches() — react Function Reference
Architecture documentation for the accumulateDirectionalDispatches() function in ReactNativeBridgeEventPlugin.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD 6d265b5a_032d_1792_ce5a_c6443f25df41["accumulateDirectionalDispatches()"] 577670f6_1f7f_5e0d_b9b6_894b69a76a73["ReactNativeBridgeEventPlugin.js"] 6d265b5a_032d_1792_ce5a_c6443f25df41 -->|defined in| 577670f6_1f7f_5e0d_b9b6_894b69a76a73 c558c9dd_a1dc_db67_3703_eedad8d98d20["listenerAtPhase()"] 6d265b5a_032d_1792_ce5a_c6443f25df41 -->|calls| c558c9dd_a1dc_db67_3703_eedad8d98d20 style 6d265b5a_032d_1792_ce5a_c6443f25df41 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/react-native-renderer/src/ReactNativeBridgeEventPlugin.js lines 39–53
function accumulateDirectionalDispatches(inst, phase, event) {
if (__DEV__) {
if (!inst) {
console.error('Dispatching inst must not be null');
}
}
const listener = listenerAtPhase(inst, event, phase);
if (listener) {
event._dispatchListeners = accumulateInto(
event._dispatchListeners,
listener,
);
event._dispatchInstances = accumulateInto(event._dispatchInstances, inst);
}
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does accumulateDirectionalDispatches() do?
accumulateDirectionalDispatches() is a function in the react codebase, defined in packages/react-native-renderer/src/ReactNativeBridgeEventPlugin.js.
Where is accumulateDirectionalDispatches() defined?
accumulateDirectionalDispatches() is defined in packages/react-native-renderer/src/ReactNativeBridgeEventPlugin.js at line 39.
What does accumulateDirectionalDispatches() call?
accumulateDirectionalDispatches() calls 1 function(s): listenerAtPhase.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free