Part 2: JavaScript the Hard Parts: Promises, Async & the Event Loop

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ธ.ค. 2024

ความคิดเห็น • 25

  • @tusharubale1788
    @tusharubale1788 4 ปีที่แล้ว +12

    That's what is called under the hood !!!! I searched a lot of TH-cam videos to understand promises but they explain only syntax. This video completely gives an AHA moment after understanding promises. Thanks Instructor!!!!

  • @kim92se64
    @kim92se64 ปีที่แล้ว +1

    Its a best lecture that i have ever seen on this complex topic
    at least this concept is crystal clear now !!! Awesome work Miss

  • @nuej2021
    @nuej2021 2 ปีที่แล้ว +2

    Finally, FINALLY I UNDERSTOOD PROMISES. This is the best explanation ever! Well detailed, from scratch, without assuming anything, without the bragging of other youtubers. This is education! Take it from me, a college professor and web developer. You are GREAT, Samantha.

    • @Codesmith
      @Codesmith  2 ปีที่แล้ว

      Thank you and we are so happy to hear you were able to figure out Promises!

  • @ch00p
    @ch00p 3 ปีที่แล้ว +5

    This was the most helpful lecture on async JS I've watched. Thanks Samantha!

  • @fresh_evgar
    @fresh_evgar 3 ปีที่แล้ว +2

    It's just a brilliant explanation that helped me a lot! Thank you, Samantha!

  • @jaggyjut
    @jaggyjut 4 ปีที่แล้ว +3

    Great timing as i was finding it hard to understand callbacks and promises. Looking forward to see the async\await video.

  • @tony-k
    @tony-k 3 ปีที่แล้ว +1

    One of the best videos explaining how async code & promises actually work under the hood.
    Thank you!

    • @Codesmith
      @Codesmith  3 ปีที่แล้ว

      Glad it helped 🙏

  • @PedroSilva-rx9gg
    @PedroSilva-rx9gg 3 ปีที่แล้ว

    These under-the-hood videos are very helpful, thank you!

  • @rajithlbandara
    @rajithlbandara 3 ปีที่แล้ว +1

    On par with Will. Great Explanation !

    • @Codesmith
      @Codesmith  3 ปีที่แล้ว

      Sam's amazing - glad you enjoyed it

  • @lukebusuttil6207
    @lukebusuttil6207 4 ปีที่แล้ว

    Incredible watching this to notice how much essential information is missing from most Promise tutorials ive come across. Annoyed it took me a few videos to remember to check for a Codesmith lecture, have to be some of the best going. Thank you for sharing!

  • @daryllmamaril4225
    @daryllmamaril4225 3 ปีที่แล้ว

    Well explained!!! Thank you so much! Really enjoyed this vid!!!

    • @Codesmith
      @Codesmith  3 ปีที่แล้ว

      Glad it was helpful Daryll :D

  • @professoroflogic8788
    @professoroflogic8788 4 ปีที่แล้ว +1

    Thank you Sam 😁👍

  • @Nathan00at78Uuiu
    @Nathan00at78Uuiu 2 ปีที่แล้ว

    Wow, amazing content! Does Codesmith cover Observables and that whole ecosystem so to speak (i.e. Subjects, Observers, BehaviorSubject, etc)? I'd love to learn about this topic from Codesmith since things are explained very well and thoroughly.

  • @93kazem
    @93kazem 4 ปีที่แล้ว

    That was lovely, thank you :)

  • @jamolkhonumarov8009
    @jamolkhonumarov8009 3 ปีที่แล้ว

    thanks a lot

  • @pavankumar-ff9bo8zc5y
    @pavankumar-ff9bo8zc5y 3 ปีที่แล้ว

    What if the callstack is empty and XHR/API request takes longer time to execute before invoking the onfulfillment function carrying the data returned from XHR/API call and placing it in micro task queue? which means micro task queue is also empty and there is a callback function waiting to get executed in the callback queue. What happens here? Does the callback function gets called?

  • @sh4kirrr448
    @sh4kirrr448 3 ปีที่แล้ว

    I dont really understand the .then part, while this makes the code more predictable, can anyone share any post or something that backs up whats said in this vid that .then pushes callback functions into hidden unFullfillment array?

  • @justyna6134
    @justyna6134 4 ปีที่แล้ว +1

    :/ to havy for me :/ this presentation is for people who knows already very well JS, not for medium_beginners :/I hope I will come back to it one day !

    • @devbox9922
      @devbox9922 3 ปีที่แล้ว

      if you first watch a video about execution context and call stack, you will understand this one very well. This series not for absolute beginners, but for beginners who want to understand how things work in javascript.

  • @themarin1992
    @themarin1992 4 ปีที่แล้ว

    great video!
    good job