MCPcopy Create free account
hub / github.com/drcmda/react-contextual / higher-order.js

File higher-order.js

assets/examples/higher-order.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1const View = subscribe()(props => (
2 <div>
3 <h1>{props.count}</h1>
4 <button onClick={props.actions.up}>Up</button>

Callers

nothing calls this directly

Calls 2

subscribeFunction · 0.85
renderMethod · 0.45

Tested by

no test coverage detected