MCPcopy Create free account
hub / github.com/deeppatel234/react-context-devtool / onDispatch

Function onDispatch

src/containers/UseReducerView/index.js:97–103  ·  view source on GitHub ↗
(action)

Source from the content-addressed store, hash-verified

95 };
96
97 const onDispatch = (action) => {
98 onDispatchAction({
99 type: "useReducer",
100 debugId: id,
101 data: action
102 });
103 };
104
105 const onClickDispatchButton = (event, action) => {
106 event.stopPropagation();

Callers 2

onClickDispatchButtonFunction · 0.85
onClickDispatchFunction · 0.85

Calls 1

onDispatchActionFunction · 0.50

Tested by

no test coverage detected