Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
const
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
subscribe
Function · 0.85
render
Method · 0.45
Tested by
no test coverage detected