---
title: "Discussion on \"Promises: async/await vs .then(), how we got here and why I use both\" | Hashnode"
description: "Discussion on \"Promises: async/await vs .then(), how we got here and why I use both\". How we got here\nPromises marked a huge turning point in async js, they enabled a new type of control flow that saved us from callback hell. But some people found that calling .then() multiple times was too much, too callbacky.\nThen after a while, we ..."
url: "https://hashnode.com/posts/promises-asyncawait-vs-then-how-we-got-here-and-why-i-use-both/6231ea77dc2913039c754620"
---

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

Discussion

# [Promises: async/await vs .then(), how we got here and why I use both](https://abdellahcodes.com/promises-asyncawait-vs-then-how-we-got-here-and-why-i-use-both?utm_source=hashnode&utm_medium=feed)

How we got here Promises marked a huge turning point in async js, they enabled a new type of control flow that saved us from callback hell. But some people found that calling .then() multiple times was too much, too callbacky. Then after a while, we ...

Mar 16, 2022 · 3 min read · abdellahcodes.com  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#promises](https://hashnode.com/tag/promises)
-   [#promise](https://hashnode.com/tag/promise)
-   [#codenewbies](https://hashnode.com/tag/codenewbies)

## Written by

[abdellah hariti](https://hashnode.com/@a-hariti)

@a-hariti · Casablanca

  
[View profile](https://hashnode.com/@a-hariti)

I am a full stack web developer, with a focus on frontend. My main stack is Elm, Typescript, React, Svelte, and ofc node.js.

## Responses 1

Markdown supported · ⌘↵ to post

[Miki Szeles](https://hashnode.com/@mszeles)

[Mar 16, 2022](https://hashnode.com/posts/promises-asyncawait-vs-then-how-we-got-here-and-why-i-use-both/6231ea77dc2913039c754620/comment/62320f6ddc2913039c754a72)

Thanks for this great post abdellah.👏

I am not too familiar with Javascript, but I had to use it to develop my Chrome extension [Selenideium Element Inspector](https://mszeles.com/save-dozens-of-minutes-daily-during-writing-selenide-and-selenium-e2e-automated-tests-using-the-selenideium-element-inspector-chrome-extension).

Promisis and async/await caused soooo much headache to me. I am still not 100% familiar with them, but at least I was able to achieve my goals. 😊

[abdellah hariti](https://hashnode.com/@a-hariti)

[Mar 16, 2022](https://hashnode.com/posts/promises-asyncawait-vs-then-how-we-got-here-and-why-i-use-both/6231ea77dc2913039c754620/comment/62320f6ddc2913039c754a72#reply-62321748dc2913039c754b6d)

I'm glad you found it helpful Miki.

I remember promises were one of the topics I found hard to wrap my head around in the beginning too.

Please ask any questions you might have and I'll be happy to help.

[Miki Szeles](https://hashnode.com/@mszeles)

[Mar 16, 2022](https://hashnode.com/posts/promises-asyncawait-vs-then-how-we-got-here-and-why-i-use-both/6231ea77dc2913039c754620/comment/62320f6ddc2913039c754a72#reply-62321d8ca677c003c158c2ed)

Thanks [abdellah hariti](https://hashnode.com/@a-hariti).

I really appreciate it.

However at the moment, I have no open questions, but I will definitely contact you in case I will have. 😊
