usePeerborneStore
usePeerborneStore<
Doc,Change,PublicKey>(store):DocumentSnapshot<Doc,PublicKey>
Defined in: store.ts:7
Subscribe to a shared store without a context provider or render-time I/O.
Type Parameters
Section titled “Type Parameters”Doc
Change
Section titled “Change”Change
PublicKey
Section titled “PublicKey”PublicKey
Parameters
Section titled “Parameters”DocumentStore<Doc, Change, PublicKey>
Returns
Section titled “Returns”DocumentSnapshot<Doc, PublicKey>