From XHR to Fetch With Async/Await on the Finish Line
XMLHttpRequest Synchronous
Long before async JavaScript was a thing, we used the XMLHttpRequest (XHR) to call an API to get data without refreshing our page.
The XHR is event-based. So when we used to make an AJAX call, all the code below the call ha...
hasnode.byrayray.dev3 min read