Riot JS - Repeating Elements with Each Attribute

InstructorTim Kindberg

Share this video with your friends

Send Tweet

It's easy to repeat over a collection and render many elements. Riot works very similar to Angular and has various syntaxes for it's each attribute. We'll look at the typical syntax for arrays, a shortened syntax, and an object key/value syntax.