score:7

Accepted answer

i think you're trying to achieve something like this, right: http://codepen.io/zvona/pen/boqvoj?editors=001

return (
  <div>
    <h1>sample data block</h1>
    {this.state.data.movies.map(function(movie, i) {
      return <h3 key={'movie-'+ i}>{movie.title}</h3>
    })}
  </div>
);

it loops through the movies array and .map() returns the value for each movie to be displayed.


Related Query

More Query from same tag