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

Function useValue

docs/pseudo.esm.sh/tinybase@9.0.0/ui-solid-inspector/index.js:289–294  ·  view source on GitHub ↗
(valueId, storeOrStoreId)

Source from the content-addressed store, hash-verified

287 /* Array */
288);
289var useValue = (valueId, storeOrStoreId) => useListenable(
290 VALUE,
291 useStoreOrStoreById(storeOrStoreId),
292 5,
293 [valueId]
294);
295var useSetTableCallback = (tableId, getTable, storeOrStoreId, then) => useStoreSetCallback(storeOrStoreId, TABLE, getTable, then, tableId);
296var useSetRowCallback = (tableId, rowId, getRow, storeOrStoreId, then) => useStoreSetCallback(storeOrStoreId, ROW, getRow, then, tableId, rowId);
297var useSetCellCallback = (tableId, rowId, cellId, getCell, storeOrStoreId, then) => useStoreSetCallback(

Callers 4

ValueViewFunction · 0.70
HeaderFunction · 0.70
NubFunction · 0.70
PanelFunction · 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…