MCPcopy Create free account
hub / github.com/tinyplex/tinybase / useLinkedRowIds

Function useLinkedRowIds

docs/pseudo.esm.sh/tinybase@9.0.0/ui-react/index.js:966–971  ·  view source on GitHub ↗
(relationshipId, firstRowId, relationshipsOrRelationshipsId)

Source from the content-addressed store, hash-verified

964 [relationshipId, remoteRowId]
965);
966var useLinkedRowIds = (relationshipId, firstRowId, relationshipsOrRelationshipsId) => useListenable(
967 LINKED + ROW_IDS,
968 useRelationshipsOrRelationshipsById(relationshipsOrRelationshipsId),
969 1,
970 [relationshipId, firstRowId]
971);
972var useRemoteRowIdListener = (relationshipId, localRowId, listener, listenerDeps, relationshipsOrRelationshipsId) => useListener(
973 REMOTE_ROW_ID,
974 useRelationshipsOrRelationshipsById(relationshipsOrRelationshipsId),

Callers

nothing calls this directly

Calls 2

useListenableFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…