ReactApi
ReactApi =
object
Defined in: packages/@livestore/react/src/LiveStoreContext.ts:14
React-specific methods added to the Store when used via React hooks.
These methods are attached by withReactApi() and useStore(), allowing you
to call store.useQuery() and store.useClientDocument() directly on the
Store instance.
Properties
Section titled “Properties”useClientDocument
Section titled “useClientDocument”useClientDocument: typeof
useClientDocument
Defined in: packages/@livestore/react/src/LiveStoreContext.ts:18
Hook for reading and writing client-document tables with React state semantics
useQuery
Section titled “useQuery”useQuery: typeof
useQuery
Defined in: packages/@livestore/react/src/LiveStoreContext.ts:16
Hook version of query subscription—re-renders component when query result changes