MCPcopy
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

CounterFunction · 0.85
ComponentFunction · 0.85
MapDisplayFunction · 0.85
ComponentFunction · 0.85
TestComponentFunction · 0.85
CounterFunction · 0.85
ComponentFunction · 0.85
ControlFunction · 0.85
ChildFunction · 0.85
ParentFunction · 0.85
CountFunction · 0.85
Count1Function · 0.85

Calls 1

useStoreFunction · 0.85

Tested by 13

CounterFunction · 0.68
ComponentFunction · 0.68
MapDisplayFunction · 0.68
ComponentFunction · 0.68
TestComponentFunction · 0.68
CounterFunction · 0.68
ComponentFunction · 0.68
ControlFunction · 0.68
ChildFunction · 0.68
ParentFunction · 0.68
CountFunction · 0.68
Count1Function · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…