MCPcopy
hub / github.com/pmndrs/zustand / Count1

Function Count1

tests/basic.test.tsx:663–666  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

661 const { setState } = useBoundStore
662
663 function Count1() {
664 const c = useBoundStore((s) => s.count)
665 return <div>count1: {c}</div>
666 }
667
668 function Count2() {
669 const c = useBoundStore((s) => s.count)

Callers

nothing calls this directly

Calls 1

useBoundStoreFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…