/// import { Cell, recipe, UI } from "commontools"; interface State { records: Record>; } let counter = 0; function nextKey(): string { counter += 1; return `key-${counter}`; } export default recipe("Records", (state) => { const recordMap = state.records; return { [UI]: ( ), }; });