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

Function useLinkedRowIds

src/ui-react/hooks.ts:1735–1745  ·  view source on GitHub ↗
(
  relationshipId: Id,
  firstRowId: Id,
  relationshipsOrRelationshipsId?: RelationshipsOrRelationshipsId,
)

Source from the content-addressed store, hash-verified

1733 );
1734
1735export const useLinkedRowIds: typeof useLinkedRowIdsDecl = (
1736 relationshipId: Id,
1737 firstRowId: Id,
1738 relationshipsOrRelationshipsId?: RelationshipsOrRelationshipsId,
1739): Ids =>
1740 useListenable(
1741 LINKED + ROW_IDS,
1742 useRelationshipsOrRelationshipsById(relationshipsOrRelationshipsId),
1743 ReturnType.Array,
1744 [relationshipId, firstRowId],
1745 );
1746
1747export const useRemoteRowIdListener: typeof useRemoteRowIdListenerDecl = (
1748 relationshipId: IdOrNull,

Callers 3

ReaderFunction · 0.90
TestFunction · 0.90

Calls 2

useListenableFunction · 0.70

Tested by 3

ReaderFunction · 0.72
TestFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…