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

Function ValuesView

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

Source from the content-addressed store, hash-verified

1650 );
1651};
1652var ValuesView = (props) => {
1653 const valueIds = useValueIds(() => props.store);
1654 const content = () => {
1655 const Value = props.valueComponent ?? ValueView;
1656 return wrap(
1657 arrayMap(
1658 getValue(valueIds),
1659 (valueId) => createComponent(
1660 Value,
1661 mergeProps(() => getProps(props.getValueComponentProps, valueId), {
1662 valueId,
1663 get store() {
1664 return props.store;
1665 },
1666 get debugIds() {
1667 return props.debugIds;
1668 }
1669 })
1670 )
1671 ),
1672 props.separator
1673 );
1674 };
1675 return memo(content);
1676};
1677export {
1678 BackwardCheckpointsView,
1679 CellView,

Callers

nothing calls this directly

Calls 1

useValueIdsFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…