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

Function useValues

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

Source from the content-addressed store, hash-verified

690 );
691
692export const useValues = (
693 storeOrStoreId?: MaybeAccessor<StoreOrStoreId | undefined>,
694): Accessor<Values> =>
695 useListenable(VALUES, useStoreOrStoreById(storeOrStoreId), ReturnType.Object);
696
697export const useValuesState = (
698 storeOrStoreId?: MaybeAccessor<StoreOrStoreId | undefined>,

Callers 4

ReaderFunction · 0.90
primitives.test.tsFile · 0.90
BodyFunction · 0.90
useValuesStateFunction · 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…