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

Function MetricView

docs/pseudo.esm.sh/tinybase@9.0.0/ui-solid/index.js:1525–1538  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

1523var LinkedRowsView = (props) => useComponentPerRow(props, useLinkedRowIds, () => props.firstRowId);
1524var LocalRowsView = (props) => useComponentPerRow(props, useLocalRowIds, () => props.remoteRowId);
1525var MetricView = (props) => {
1526 const metric = useMetric(
1527 () => props.metricId,
1528 () => props.metrics
1529 );
1530 return memo(
1531 () => wrap(
1532 getValue(metric) ?? EMPTY_STRING,
1533 void 0,
1534 props.debugIds,
1535 props.metricId
1536 )
1537 );
1538};
1539var RemoteRowView = (props) => {
1540 const resolvedRelationships = useRelationshipsOrRelationshipsById(
1541 () => props.relationships

Callers

nothing calls this directly

Calls 3

useMetricFunction · 0.70
wrapFunction · 0.70
getValueFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…