MCPcopy Index your code
hub / github.com/tinyplex/tinybase / useValueIds

Function useValueIds

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

Source from the content-addressed store, hash-verified

702];
703
704export const useValueIds = (
705 storeOrStoreId?: MaybeAccessor<StoreOrStoreId | undefined>,
706): Accessor<Ids> =>
707 useListenable(
708 VALUE_IDS,
709 useStoreOrStoreById(storeOrStoreId),
710 ReturnType.Array,
711 );
712
713export const useHasValue = (
714 valueId: MaybeAccessor<Id>,

Callers 5

ReaderFunction · 0.90
primitives.test.tsFile · 0.90
ValuesViewFunction · 0.90
ValuesViewFunction · 0.90
ValuesInHtmlTableFunction · 0.90

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…