MCPcopy Index your code
hub / github.com/tinyplex/tinybase / useDelRowCallback

Function useDelRowCallback

src/ui-react/hooks.ts:1111–1118  ·  view source on GitHub ↗
(
  tableId: Id | GetId<Parameter>,
  rowId: Id | GetId<Parameter>,
  storeOrStoreId?: StoreOrStoreId,
  then?: (store: Store) => void,
  thenDeps?: DependencyList,
)

Source from the content-addressed store, hash-verified

1109 useDel(storeOrStoreId, TABLE, then, thenDeps, tableId);
1110
1111export const useDelRowCallback: typeof useDelRowCallbackDecl = <Parameter>(
1112 tableId: Id | GetId<Parameter>,
1113 rowId: Id | GetId<Parameter>,
1114 storeOrStoreId?: StoreOrStoreId,
1115 then?: (store: Store) => void,
1116 thenDeps?: DependencyList,
1117): ParameterizedCallback<Parameter> =>
1118 useDel(storeOrStoreId, ROW, then, thenDeps, tableId, rowId);
1119
1120export const useDelCellCallback: typeof useDelCellCallbackDecl = <Parameter>(
1121 tableId: Id | GetId<Parameter>,

Callers 5

WriterFunction · 0.90
TestFunction · 0.90
DeleteRowFunction · 0.90
DeletersFunction · 0.50
DeletersFunction · 0.50

Calls 1

useDelFunction · 0.70

Tested by 2

WriterFunction · 0.72
TestFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…