MCPcopy Create free account
hub / github.com/tinyplex/tinybase / useValueIds

Function useValueIds

docs/pseudo.esm.sh/tinybase@9.0.0/ui-react/index.js:563–568  ·  view source on GitHub ↗
(storeOrStoreId)

Source from the content-addressed store, hash-verified

561 useSetValuesCallback(getArg, [], storeOrStoreId)
562];
563var useValueIds = (storeOrStoreId) => useListenable(
564 VALUE_IDS,
565 useStoreOrStoreById(storeOrStoreId),
566 1
567 /* Array */
568);
569var useHasValue = (valueId, storeOrStoreId) => useListenable(VALUE, useStoreOrStoreById(storeOrStoreId), 6, [
570 valueId
571]);

Callers 1

ValuesViewFunction · 0.70

Calls 2

useListenableFunction · 0.70
useStoreOrStoreByIdFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…