So long XMLHttpRequest – Hello fetch() [team]

posted in: HTML5 | 0

fetch() allows you to make network requests similar to XMLHttpRequest (XHR). The main difference is that the Fetch API uses Promises, which enables a simpler and cleaner API, avoiding callback hell and having to remember the complex API of XMLHttpRequest.

Leave a Reply