I am trying to render a dynamic list of elements using React, i.e. I have a javascript array elems = ['foo','bar']
and I would like to generate
<ul>
<li>foo</li>
<li>bar</li>
</ul>
I would like to do this purely in JSX. Is there any convenient way to do this (an "equivalent" of angular ng-repeat
)?