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

Function useDelCellCallback

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

Source from the content-addressed store, hash-verified

1118 useDel(storeOrStoreId, ROW, then, thenDeps, tableId, rowId);
1119
1120export const useDelCellCallback: typeof useDelCellCallbackDecl = <Parameter>(
1121 tableId: Id | GetId<Parameter>,
1122 rowId: Id | GetId<Parameter>,
1123 cellId: Id | GetId<Parameter>,
1124 forceDel?: boolean,
1125 storeOrStoreId?: StoreOrStoreId,
1126 then?: (store: Store) => void,
1127 thenDeps?: DependencyList,
1128): ParameterizedCallback<Parameter> =>
1129 useDel(
1130 storeOrStoreId,
1131 CELL,
1132 then,
1133 thenDeps,
1134 tableId,
1135 rowId,
1136 cellId,
1137 forceDel,
1138 );
1139
1140export const useDelValuesCallback: typeof useDelValuesCallbackDecl = (
1141 storeOrStoreId?: StoreOrStoreId,

Callers 5

WriterFunction · 0.90
TestFunction · 0.90
CellDeleteFunction · 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…