MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / accumulateDirectDispatchesSingle

Function accumulateDirectDispatchesSingle

code/styling/public/app.js:2726–2730  ·  view source on GitHub ↗

* Accumulates dispatches on an `SyntheticEvent`, but only for the * `dispatchMarker`. * @param {SyntheticEvent} event

(event)

Source from the content-addressed store, hash-verified

2724 * @param {SyntheticEvent} event
2725 */
2726function accumulateDirectDispatchesSingle(event) {
2727 if (event && event.dispatchConfig.registrationName) {
2728 accumulateDispatches(event._targetInst, null, event);
2729 }
2730}
2731
2732function accumulateTwoPhaseDispatches(events) {
2733 forEachAccumulated(events, accumulateTwoPhaseDispatchesSingle);

Callers

nothing calls this directly

Calls 1

accumulateDispatchesFunction · 0.70

Tested by

no test coverage detected