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

Function useDelTableCallback

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

Source from the content-addressed store, hash-verified

1101): Callback => useDel(storeOrStoreId, TABLES, then, thenDeps);
1102
1103export const useDelTableCallback: typeof useDelTableCallbackDecl = <Parameter>(
1104 tableId: Id | GetId<Parameter>,
1105 storeOrStoreId?: StoreOrStoreId,
1106 then?: (store: Store) => void,
1107 thenDeps?: DependencyList,
1108): ParameterizedCallback<Parameter> =>
1109 useDel(storeOrStoreId, TABLE, then, thenDeps, tableId);
1110
1111export const useDelRowCallback: typeof useDelRowCallbackDecl = <Parameter>(
1112 tableId: Id | GetId<Parameter>,

Callers 5

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