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

Function useValueState

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

Source from the content-addressed store, hash-verified

584 [valueId]
585);
586var useValueState = (valueId, storeOrStoreId) => [
587 useValue2(valueId, storeOrStoreId),
588 useSetValueCallback(valueId, getArg, storeOrStoreId)
589];
590var useSetCellCallback = (tableId, rowId, cellId, getCell, storeOrStoreId, then) => useStoreSetCallback(
591 storeOrStoreId,
592 CELL2,

Callers 1

EditableValueViewFunction · 0.70

Calls 2

useValue2Function · 0.70
useSetValueCallbackFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…