Skip to content

Latest commit

History

45 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

p6-react

use Component;
use Slang;
component Item {
hasStr$.data;
methodrender {
<li>
{{$.data}}
</li>
}
}
component UlList {
hasStr@.items;
methodrender {
<ul>
{{
dofor@.items->$item {
<Item data={{$item}} />
}
}}
</ul>
}
}
say UlList.new(:items<bla ble bli>).render.render

running:

<ul><li>
bla
</li><li>
ble
</li><li>
bli
</li></ul>

About

No description, website, or topics provided.

Resources

Stars

10 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages