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

Function useLocalRowIds

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

Source from the content-addressed store, hash-verified

1721 );
1722
1723export const useLocalRowIds: typeof useLocalRowIdsDecl = (
1724 relationshipId: Id,
1725 remoteRowId: Id,
1726 relationshipsOrRelationshipsId?: RelationshipsOrRelationshipsId,
1727): Ids =>
1728 useListenable(
1729 LOCAL + ROW_IDS,
1730 useRelationshipsOrRelationshipsById(relationshipsOrRelationshipsId),
1731 ReturnType.Array,
1732 [relationshipId, remoteRowId],
1733 );
1734
1735export const useLinkedRowIds: typeof useLinkedRowIdsDecl = (
1736 relationshipId: Id,

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…