title: Rendering comma separated list of links
body: <p>I'm trying to output a list of comma separated links and this is my solution.</p>
  
  <pre><code>var Item = React.createComponent({
    render: function() {
  
      var tags = [],
          tag;
  
      for (var i = 0, l = item.tags.length; i &lt; l; i++) {
        if (i === item.tags.length - 1) {
          tag = &lt;span&gt;&lt;Tag key={i} tag={item.tags[i]} /&gt;&lt;/span&gt;;
        } else {
          tag = &lt;span&gt;&lt;Tag key={i} tag={item.tags[i]} /&gt;&lt;span&gt;, &lt;/span&gt;&lt;/span&gt;;
        }
        tags.push(tag);
      }
  
      return (
        &lt;tr&gt;
          &lt;td&gt;
            {item.name}
          &lt;/td&gt;
          &lt;td&gt;
            {tags}
          &lt;/td&gt;
        &lt;/tr&gt;
      );
  
    }
  });
  </code></pre>
  
  <p>I was just wondering if there was a better, more clean way to accomplish this?</p>
  
  <p>Thanks</p>