Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pmndrs/zustand
/ useBoundStore
Function
useBoundStore
src/react.ts:56–56 ·
view source on GitHub ↗
(selector?: any)
Source
from the content-addressed store, hash-verified
54
const
api = createStore(createState)
55
56
const
useBoundStore: any = (selector?: any) => useStore(api, selector)
57
58
Object.assign(useBoundStore, api)
59
Callers
13
Counter
Function · 0.85
Component
Function · 0.85
MapDisplay
Function · 0.85
Component
Function · 0.85
TestComponent
Function · 0.85
Counter
Function · 0.85
Component
Function · 0.85
Control
Function · 0.85
Child
Function · 0.85
Parent
Function · 0.85
Count
Function · 0.85
Count1
Function · 0.85
Calls
1
useStore
Function · 0.85
Tested by
13
Counter
Function · 0.68
Component
Function · 0.68
MapDisplay
Function · 0.68
Component
Function · 0.68
TestComponent
Function · 0.68
Counter
Function · 0.68
Component
Function · 0.68
Control
Function · 0.68
Child
Function · 0.68
Parent
Function · 0.68
Count
Function · 0.68
Count1
Function · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…