Siemko
11/6/2017 - 2:22 PM

comment-list.jsx

const Commentlist = ({comments}) => (
  <ul>
    {comments.map(({ body, author }) =>
      <li>{body}-{author}</li>
    )}
  </ul>
)