Introduction to Fetch() API

added by JavaScript Kicks
3/31/2015 9:00:11 PM

1 Kicks, 185 Views

"For more than a decade the Web has used XMLHttpRequest (XHR) to achieve asynchronous requests in JavaScript. While very useful, XHR is not a very nice API," Mozilla's Nikhil Marathe And it is totally true. In a recent years developers became familiar with JavaScript Promises. And it's a great time for new api to do ajax requests that will use promises instead of event-based model.


0 comments