# Asynchronous programming in JS

**URL:** <https://forum.codewithmosh.com/t/asynchronous-programming-in-js/9678>\
**Category:** JavaScript\
**Created:** [January 4, 2022, 7:47am UTC](https://forum.codewithmosh.com/t/asynchronous-programming-in-js/9678 "2022-01-04T07:47:53Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sivagurunathan](https://avatars.discourse-cdn.com/v4/letter/s/c89c15/32.png) [@Sivagurunathan](https://forum.codewithmosh.com/u/Sivagurunathan)\
**Post date:** [January 4, 2022, 7:47am UTC](https://forum.codewithmosh.com/t/asynchronous-programming-in-js/9678/1 "2022-01-04T07:47:53Z")

</div>

Can we have a chapter in javascript which talks about async programming ? concepts like event loop, promises, async/await, etc … ?

---

<div class="post-metadata">

**Author:** ![A100D-JS](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/a100d-js/32/8_2.png) [@A100D-JS](https://forum.codewithmosh.com/u/A100D-JS)\
**Post date:** [January 4, 2022, 2:24pm UTC](https://forum.codewithmosh.com/t/asynchronous-programming-in-js/9678/2 "2022-01-04T14:24:59Z")

</div>

Hi,  
At this moment these concepts are not available in **JS course** , However, mosh recently started to update the **JS course** with bunch of new concepts.

If you’re interested there are lots of sources to learn these concepts & I’ll mention those below:

> **[JavaScript Event Listeners Ultimate Guide](https://blog.webdevsimplified.com/2022-01/event-listeners/)**
>
> Event listeners appear simple at first, but they have an incredible level of depth that most people completely ignore. This article will cover everything you need to know about event listeners so you can avoid bugs and write better code for your...

There is also an amazing **JS course** for beginners from “ **Wes Bos** ” That has included all your desired concepts in his course:

 ![Beginner Js - Wes Bos](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/1/1c45fdff5dcb14bb935adaecd92f2bf2a9892a79.png)

> **[Beginner JavaScript](https://beginnerjavascript.com/)**
>
> A fun, exercise heavy approach to learning Modern JavaScript from scratch

If you’re willing to learn your mentioned concepts in video form then you must purchase that course, otherwise, you can go to the link below and instead read your desired concepts like an article:

> **[Beginner JavaScript Notes](https://wesbos.com/javascript/)**

 ![Events In Javascript](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/0/06aa05ee5cdcc453b694b1511fe00b9b90fc729b.png)

 ![Promises, Async-Await Concepts](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/0/08f7a4f2678ec1fcd3c2193205aea84620304af3.png)

---

<div class="post-metadata">

**Author:** ![SAM](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/sam/32/167_2.png) [@SAM](https://forum.codewithmosh.com/u/SAM)\
**Post date:** [January 5, 2022, 6:04am UTC](https://forum.codewithmosh.com/t/asynchronous-programming-in-js/9678/3 "2022-01-05T06:04:09Z")

</div>

> [@A100D-JS](#):
>
> mosh recently started to update the **JS course** with bunch of new concepts.

Did he? How do you know?

---

<div class="post-metadata">

**Author:** ![A100D-JS](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/a100d-js/32/8_2.png) [@A100D-JS](https://forum.codewithmosh.com/u/A100D-JS)\
**Post date:** [January 5, 2022, 6:37pm UTC](https://forum.codewithmosh.com/t/asynchronous-programming-in-js/9678/4 "2022-01-05T18:37:14Z")

</div>

He did a poll last month or so on twitter asking for which concepts should i update or add in javascript course, and i think he is going to first update js & then go for react or typescript

 ![Vanila Javascript](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/6/677ccab2db432b1ba5d2defcaefd385df1ff0128.png)

 ![Javascript feedback](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/e/e8d664dadb1567095ad21ee0dee7bf4c15dfe69a.png)

 ![React - Js](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/d/d5299fd2c8766ba585230739100c29be780d8e97.png)

---

<div class="post-metadata">

**Author:** ![franzi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/franzi/32/8848_2.png) [@franzi](https://forum.codewithmosh.com/u/franzi)\
**Post date:** [December 3, 2023, 4:18pm UTC](https://forum.codewithmosh.com/t/asynchronous-programming-in-js/9678/5 "2023-12-03T16:18:56Z")

</div>

thanks for these sources! Saved them for later and will definitely come back to it 🙂

---

<div class="post-metadata">

**Author:** ![theorion](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/theorion/32/7783_2.png) [@theorion](https://forum.codewithmosh.com/u/theorion)\
**Post date:** [December 6, 2023, 12:51am UTC](https://forum.codewithmosh.com/t/asynchronous-programming-in-js/9678/6 "2023-12-06T00:51:51Z")

</div>

His react course covers promises using state management libraries like zustand and react query. Quite extensive to be honest showing like a lot of alternative ways to get the data but how to plan for errors and how to utilize local state vs server. (not a backend course)

---

<div class="post-metadata">

**Author:** ![osito](https://avatars.discourse-cdn.com/v4/letter/o/b4bc9f/32.png) [@osito](https://forum.codewithmosh.com/u/osito)\
**Post date:** [July 14, 2024, 4:28pm UTC](https://forum.codewithmosh.com/t/asynchronous-programming-in-js/9678/7 "2024-07-14T16:28:00Z")

</div>

I was also suprised that the Javascript courses don’t mention promises, asynch/await at all. Still wondering why that might be actually, anybody got an idea?
