React Loop

PHOTO EMBED

Thu Oct 28 2021 09:48:40 GMT+0000 (UTC)

Saved by @KarenStewart #react.js

let elements = ['one', 'two', 'three'];

return (
  <ul>
    {elements.map(function(value, index) {
      return <li key={index}>{value}</li>
    })}
  </ul>
);
content_copyCOPY