Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pmndrs/zustand
/ Counter
Function
Counter
tests/basic.test.tsx:56–60 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
54
}))
55
56
function Counter() {
57
const { count, inc } = useBoundStore()
58
useEffect(inc, [inc])
59
return <div>count: {count}</div>
60
}
61
62
render(
63
<>
Callers
nothing calls this directly
Calls
2
useBoundStore
Function · 0.85
inc
Function · 0.70
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…