MCPcopy
hub / github.com/tinyplex/tinybase / useRowState

Function useRowState

src/ui-react/hooks.ts:797–804  ·  view source on GitHub ↗
(
  tableId: Id,
  rowId: Id,
  storeOrStoreId?: StoreOrStoreId,
)

Source from the content-addressed store, hash-verified

795 ]);
796
797export const useRowState: typeof useRowStateDecl = (
798 tableId: Id,
799 rowId: Id,
800 storeOrStoreId?: StoreOrStoreId,
801): [Row, (row: Row) => void] => [
802 useRow(tableId, rowId, storeOrStoreId),
803 useSetRowCallback(tableId, rowId, getArg, [], storeOrStoreId),
804];
805
806export const useCellIds: typeof useCellIdsDecl = (
807 tableId: Id,

Callers 2

StateFunction · 0.90
TestFunction · 0.90

Calls 2

useRowFunction · 0.90
useSetRowCallbackFunction · 0.90

Tested by 2

StateFunction · 0.72
TestFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…