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

Function useTableState

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

Source from the content-addressed store, hash-verified

694 ]);
695
696export const useTableState: typeof useTableStateDecl = (
697 tableId: Id,
698 storeOrStoreId?: StoreOrStoreId,
699): [Table, (table: Table) => void] => [
700 useTable(tableId, storeOrStoreId),
701 useSetTableCallback(tableId, getArg, [], storeOrStoreId),
702];
703
704export const useTableCellIds: typeof useTableCellIdsDecl = (
705 tableId: Id,

Callers 2

StateFunction · 0.90
TestFunction · 0.90

Calls 2

useTableFunction · 0.90
useSetTableCallbackFunction · 0.90

Tested by 2

StateFunction · 0.72
TestFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…