How to iterate through an array with React (Rails)
<p>I just started to learn React and I am trying to figure out how to find a specific value I am looking for. Just like you have the each.do method in Ruby and you can iterate through an array, I'm trying to do that with React.</p>

<pre><code>class Gallery extends React.Component {
  render () {
    // debugger;
    return (
      &lt;div&gt;
      &lt;img&gt; {this.props.gallery.thumbnail_url} &lt;/img&gt;
      &lt;/div&gt;
    )
  }
}
</code></pre>

<p>I am trying to access the thumbnail._url and when using the debugger, I am not able to access all the objects and images. I thought of this.props.gallery.object.thumbnail_url and other ideas but I am not really sure of the best way! <a href="https://i.stack.imgur.com/2fsq6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2fsq6.png" alt="debugger information"></a></p>