MCPcopy
hub / github.com/preactjs/preact / Comp

Function Comp

hooks/test/browser/useReducer.test.jsx:37–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35 }
36
37 function Comp() {
38 const [state, dispatch] = useReducer(reducer, initState);
39 _dispatch = dispatch;
40 states.push(state);
41 return null;
42 }
43
44 render(<Comp />, scratch);
45

Callers

nothing calls this directly

Calls 1

useReducerFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…