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

Function ContextRelationshipsChild

test/unit/core/ui-react/components.test.tsx:556–581  ·  view source on GitHub ↗
({
  relationshipsId,
}: {
  readonly relationshipsId?: string;
})

Source from the content-addressed store, hash-verified

554);
555
556const ContextRelationshipsChild = ({
557 relationshipsId,
558}: {
559 readonly relationshipsId?: string;
560}) => (
561 <>
562 <RemoteRowView
563 relationships={relationshipsId}
564 relationshipId="r1"
565 localRowId="r1"
566 />
567 {JSON.stringify(useRemoteRowId('r1', 'r1', relationshipsId))}
568 <LocalRowsView
569 relationships={relationshipsId}
570 relationshipId="r1"
571 remoteRowId="R1"
572 />
573 {JSON.stringify(useLocalRowIds('r1', 'R1', relationshipsId))}
574 <LinkedRowsView
575 relationships={relationshipsId}
576 relationshipId="r1"
577 firstRowId="r1"
578 />
579 {JSON.stringify(useLinkedRowIds('r1', 'r1', relationshipsId))}
580 </>
581);
582
583const ContextQueries = ({
584 queries,

Callers

nothing calls this directly

Calls 3

useRemoteRowIdFunction · 0.90
useLocalRowIdsFunction · 0.90
useLinkedRowIdsFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…