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

Function useResultCell

src/ui-react/hooks.ts:1907–1918  ·  view source on GitHub ↗
(
  queryId: Id,
  rowId: Id,
  cellId: Id,
  queriesOrQueriesId?: QueriesOrQueriesId,
)

Source from the content-addressed store, hash-verified

1905 );
1906
1907export const useResultCell: typeof useResultCellDecl = (
1908 queryId: Id,
1909 rowId: Id,
1910 cellId: Id,
1911 queriesOrQueriesId?: QueriesOrQueriesId,
1912): Cell | undefined =>
1913 useListenable(
1914 RESULT + CELL,
1915 useQueriesOrQueriesById(queriesOrQueriesId),
1916 ReturnType.CellOrValue,
1917 [queryId, rowId, cellId],
1918 );
1919
1920export const useResultTableListener: typeof useResultTableListenerDecl = (
1921 queryId: IdOrNull,

Callers 3

ReaderFunction · 0.90
ContextQueriesChildFunction · 0.90
ResultCellViewFunction · 0.90

Calls 2

useQueriesOrQueriesByIdFunction · 0.90
useListenableFunction · 0.70

Tested by 2

ReaderFunction · 0.72
ContextQueriesChildFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…