MCPcopy
hub / github.com/react/react / dispatch

Function dispatch

packages/react-dom/src/__tests__/ReactDOMEventPropagation-test.js:65–72  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

63 reactEventType: 'animationend',
64 nativeEvent: 'animationend',
65 dispatch(node) {
66 node.dispatchEvent(
67 new Event('animationend', {
68 bubbles: true,
69 cancelable: true,
70 }),
71 );
72 },
73 });
74 });
75

Callers 15

AppFunction · 0.70
CounterFunction · 0.70
AppFunction · 0.70
ReadInReducerFunction · 0.70
ThrowingComponentFunction · 0.70
updateFunction · 0.50
StatefulFunctionFunction · 0.50
searchFunction · 0.50
goToNextResultFunction · 0.50
goToPreviousResultFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected