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

Function useTables

src/ui-solid/primitives.ts:488–491  ·  view source on GitHub ↗
(
  storeOrStoreId?: MaybeAccessor<StoreOrStoreId | undefined>,
)

Source from the content-addressed store, hash-verified

486 );
487
488export const useTables = (
489 storeOrStoreId?: MaybeAccessor<StoreOrStoreId | undefined>,
490): Accessor<Tables> =>
491 useListenable(TABLES, useStoreOrStoreById(storeOrStoreId), ReturnType.Object);
492
493export const useTablesState = (
494 storeOrStoreId?: MaybeAccessor<StoreOrStoreId | undefined>,

Callers 3

ReaderFunction · 0.90
primitives.test.tsFile · 0.90
useTablesStateFunction · 0.70

Calls 2

useListenableFunction · 0.70
useStoreOrStoreByIdFunction · 0.70

Tested by 1

ReaderFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…