News for hackers. Stuff that matters.
Re:Riot – A React-like, 2.5K user interface library by tipiirai on Thursday January 22, 2015 @07:50AM (#8928870)
In Riot you need to do following:

<my-tag>

  <div each={ items }>

  </div>

  // use JS to construct items
  this.items = arr.map(fn) // or how you want it
</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.

There are no comments on this comment yet.