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

Function useTables

src/ui-react/hooks.ts:656–659  ·  view source on GitHub ↗
(
  storeOrStoreId?: StoreOrStoreId,
)

Source from the content-addressed store, hash-verified

654 );
655
656export const useTables: typeof useTablesDecl = (
657 storeOrStoreId?: StoreOrStoreId,
658): Tables =>
659 useListenable(TABLES, useStoreOrStoreById(storeOrStoreId), ReturnType.Object);
660
661export const useTablesState: typeof useTablesStateDecl = (
662 storeOrStoreId?: StoreOrStoreId,

Callers 7

ReaderFunction · 0.90
TestFunction · 0.90
ContextTablesChildFunction · 0.90
TestFunction · 0.90
useTablesStateFunction · 0.90
GettersFunction · 0.50
GettersFunction · 0.50

Calls 2

useStoreOrStoreByIdFunction · 0.90
useListenableFunction · 0.70

Tested by 4

ReaderFunction · 0.72
TestFunction · 0.72
ContextTablesChildFunction · 0.72
TestFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…