All about Asynchronous JavaScript | Callbacks, Promises, Async/Await

Поделиться
HTML-код
  • Опубликовано: 8 сен 2024
  • In this visual lesson, we learn how to write asynchronous JavaScript using Async/Await. We will also look at the callbacks and promises and see the drawbacks of each approach. After watching this video, you will be able to answer the below questions:
    - What are callbacks and Callback Hell?
    - What are promises and Promise Hell?
    - What is Async/Await in JavaScript?
    - Difference between callbacks, promises, and async/await?
    - What are some of the pitfalls to avoid when using async/await?
    And also we will look at some code examples to see how it all works.
    Project Link:
    github.com/kam...
    Channel website:
    - roadmap.sh
    Discord Community:
    - / discord
    Find us on the internet:
    - / roadmapsh
    - github.com/kam...
    - / roadmapsh

Комментарии • 16

  • @jonlas967
    @jonlas967 2 года назад +14

    New software devs these days are lucky, I would say, to have such wealth of knowledge at their hands. Great explanation.

    • @florianwege7563
      @florianwege7563 2 года назад

      Well, but there is also a huge information overload and it's not easy to comprehend the whole history.

    • @enfieldli9296
      @enfieldli9296 2 года назад

      New devs here, feeling the same

  • @zshn
    @zshn 2 года назад +4

    Thank you for using real world examples. Thank you VERY MUCH. I was so tired of watching tutorials using foo, bar, baz and all that nonsense. Truly passionate tutors/engineers know the importance of valid real world examples in the teaching process.

  • @devshashtag
    @devshashtag 2 года назад

    great explanation . this channel deserve more subscribers.

  • @FuryOutlaw
    @FuryOutlaw 2 года назад

    You explained the topic very well. NO CAP!!! Just subbed and turned the notifications on for this channel! ✨💯

  • @ehsanullahkhan4376
    @ehsanullahkhan4376 2 года назад

    Nicely explained. Good work

  • @MuhammadAdnan2.0
    @MuhammadAdnan2.0 2 года назад

    Best examples ever ✌️✌️❤️

  • @mauriciotamez4047
    @mauriciotamez4047 2 года назад

    Great video mate !

  • @vaylx2253
    @vaylx2253 2 года назад

    Well done 👍

  • @hipsterbeaver9603
    @hipsterbeaver9603 2 года назад

    The part AWAIT AS THE LAST STATEMENT, I think explanation could be better. Because it kind gives the impression that you don't need to await an asynchronous function if it is the last statement, which is not true. You are just awaiting the async function in the caller function, which you later did in the examples part.
    Otherwise, great video amazing explanations thanks for making things simple and easy. Liked and subscribed :)

  • @ProgrammingWithOsku
    @ProgrammingWithOsku 2 года назад

    Amaizing

  • @insomniaoddeye_celestialdr7835
    @insomniaoddeye_celestialdr7835 2 года назад

    now, i can learn from u

  • @hjman2934
    @hjman2934 2 года назад

    Hello kamran.
    My question is when we use async/await sync code are wait for async operation?
    and what is the diffrece between asyn/await and promis.

  • @talelmn
    @talelmn 2 года назад

    first

  • @rubensflavio
    @rubensflavio Год назад

    Pelo menos coloqem as legendas português brasil ->😥😥