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

Function useValueState

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

Source from the content-addressed store, hash-verified

576 [valueId]
577);
578var useValueState = (valueId, storeOrStoreId) => [
579 useValue(valueId, storeOrStoreId),
580 useSetValueCallback(valueId, getArg, [], storeOrStoreId)
581];
582var useSetTablesCallback = (getTables, getTablesDeps, storeOrStoreId, then, thenDeps) => useStoreSetCallback(
583 storeOrStoreId,
584 TABLES,

Callers

nothing calls this directly

Calls 2

useValueFunction · 0.70
useSetValueCallbackFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…