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

Function useValueIds

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

Source from the content-addressed store, hash-verified

873];
874
875export const useValueIds: typeof useValueIdsDecl = (
876 storeOrStoreId?: StoreOrStoreId,
877): Ids =>
878 useListenable(
879 VALUE_IDS,
880 useStoreOrStoreById(storeOrStoreId),
881 ReturnType.Array,
882 );
883
884export const useHasValue: typeof useHasValueDecl = (
885 valueId: Id,

Callers 6

ReaderFunction · 0.90
ValuesViewFunction · 0.90
ValuesInHtmlTableFunction · 0.90
ValuesViewFunction · 0.90
GettersFunction · 0.50
GettersFunction · 0.50

Calls 2

useStoreOrStoreByIdFunction · 0.90
useListenableFunction · 0.70

Tested by 1

ReaderFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…