Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Riot – A React-like, 2.5K user interface library. Parent comment
<my-tag>
<div each={ items }> </div> // use JS to construct items this.items = arr.map(fn) // or how you want it
And you can also manipulate items on every update. I'm sure that at some point there will be a clear use case where React is a better choice.
So far Riot rendering has worked us perfectly.
There are no comments on this comment yet.
<my-tag>
</my-tag>And you can also manipulate items on every update. I'm sure that at some point there will be a clear use case where React is a better choice.
So far Riot rendering has worked us perfectly.