---
title: "Discussion on \"From XHR to Fetch With Async/Await on the Finish Line\" | Hashnode"
description: "Discussion on \"From XHR to Fetch With Async/Await on the Finish Line\". XMLHttpRequest Synchronous\nLong before async JavaScript was a thing, we used the XMLHttpRequest (XHR) to call an API to get data without refreshing our page.\nThe XHR is event-based. So when we used to make an AJAX call, all the code below the call ha..."
url: "https://hashnode.com/posts/from-xhr-to-fetch-with-async-await-on-the-finish-line-b021de1d226b/611ff016e404793819ca7eda"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [From XHR to Fetch With Async/Await on the Finish Line](https://hasnode.byrayray.dev/from-xhr-to-fetch-with-async-await-on-the-finish-line-b021de1d226b?utm_source=hashnode&utm_medium=feed)

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...

Mar 3, 2019 · 3 min read · hasnode.byrayray.dev  
Updated Dec 13, 2022  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#javascript-framework](https://hashnode.com/tag/javascript-framework)
-   [#developer](https://hashnode.com/tag/developer)
-   [#development](https://hashnode.com/tag/development)

## Written by

[Dev By RayRay](https://hashnode.com/@devbyrayray)

@devbyrayray · Netherlands

  
[View profile](https://hashnode.com/@devbyrayray)

Tech Lead / Lead Developer in the 🇳🇱 https://byrayray.dev/

🚀 Tech Lead / Lead Developer 🔥 Writing about CSS, JavaScript, Typescript, Angular, Vue.js, Nuxt.js, Serverless functions, and a lot more web-related topics. https://byrayray.dev/

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
