{"body":"react-p6 (very cool component slang)\n\n```\nuse Component;\nuse Slang;\n\ncomponent Item {\n    has Str $.data;\n    method render {\n        <li>\n            {{$.data}}\n        </li>\n    }\n}\n\ncomponent UlList {\n    has Str @.items;\n    method render {\n        <ul>\n            {{\n                do for @.items -> $item {\n                    <Item data={{$item}} />\n                }\n            }}\n        </ul>\n    }\n}\n\nsay UlList.new(:items<bla ble bli>).render.render\n```\n===\n\nAir (another cool option imo)\n\n```\n#!/usr/bin/env raku\nuse Air::Functional;\n\nsay ul <bla ble bli>.map: {li $_}\n```\n","name":"","extension":"txt","url":"https://www.irccloud.com/pastebin/r6LmP2Xf","modified":1741541092,"id":"r6LmP2Xf","size":589,"lines":40,"own_paste":false,"theme":"","date":1741460593}