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

Function useSetRowCallback

docs/pseudo.esm.sh/tinybase@9.0.0/ui-react/index.js:599–608  ·  view source on GitHub ↗
(tableId, rowId, getRow, getRowDeps, storeOrStoreId, then, thenDeps)

Source from the content-addressed store, hash-verified

597 tableId
598);
599var useSetRowCallback = (tableId, rowId, getRow, getRowDeps, storeOrStoreId, then, thenDeps) => useStoreSetCallback(
600 storeOrStoreId,
601 ROW,
602 getRow,
603 getRowDeps,
604 then,
605 thenDeps,
606 tableId,
607 rowId
608);
609var useAddRowCallback = (tableId, getRow, getRowDeps = EMPTY_ARRAY, storeOrStoreId, then = getUndefined, thenDeps = EMPTY_ARRAY, reuseRowIds = true) => {
610 const store = useStoreOrStoreById(storeOrStoreId);
611 return useCallback(

Callers 1

useRowStateFunction · 0.70

Calls 1

useStoreSetCallbackFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…