Comment charger en AJAX à réagir

Im essayant d'obtenir mon résultat json dans mon réagir code

Le code se présente comme suit

_getComments() {

 const commentList = "AJAX JSON GOES HERE"

return commentList.map((comment) => {
  return ( 
           <Comment
           author={comment.author}
           body={comment.body}
           avatarUrl={comment.avatarUrl}
           key={comment.id} />);
  });
}

Comment puis-je récupérer AJAX dans tout cela?

InformationsquelleAutor Christoffer | 2016-08-21