---
title: "Comment by Jordan Brennan on \"5 best libraries for making AJAX calls in React\" | Hashnode"
description: "Backbone still has the best API imo: loadCommentsFromServer: function ( ) { comments.fetch().then( function ( response ) { // perform setState here }); } It&#39"
url: "https://hashnode.com/posts/5-best-libraries-for-making-ajax-calls-in-react/57bd9cec93309a25047c5f66/comment/58f831abb79c6f6bd1d85ecf"
---

[Discussion](https://hashnode.com/posts/5-best-libraries-for-making-ajax-calls-in-react/57bd9cec93309a25047c5f66)

Comment [5 best libraries for making AJAX calls in React](https://hashnode.com/posts/5-best-libraries-for-making-ajax-calls-in-react/57bd9cec93309a25047c5f66)

[Jordan Brennan](https://hashnode.com/@jordan)

[Apr 20, 2017](https://hashnode.com/posts/5-best-libraries-for-making-ajax-calls-in-react/57bd9cec93309a25047c5f66/comment/58f831abb79c6f6bd1d85ecf)

Backbone still has the best API imo:

```
loadCommentsFromServer: function() {
    comments.fetch().then(function(response) {
        // perform setState here
    });
}
```

It's clear what model/resource I'm fetching, no internals like the service URL showing through, and when I get a response I have the additional benefit of the Collection API ready to do things like sort/filter/group the data.
