Create your own Promises in JavaScript | Understanding Promises

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

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

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

    Strongly suggest this video to understand JS Promise. I have seen a lot of TH-cam videos baout JS Promises and I can say this was the best. For me first and second was the right one. Finally undrstood what resolve and reject do and how to pass values in both cases.

  • @Aristocrator
    @Aristocrator 4 ปีที่แล้ว +34

    All you did is just used the Promise API. By intent or accidentally but the title of that video brings users into confusion as many (as I did) will expect to see how you actually implement your own Promise API.

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

      yeah wtf. downvoting

    • @dcode-software
      @dcode-software  3 ปีที่แล้ว +2

      I can kind of see where you're coming from, but the title/thumbnail indicates we are creating "a Promise" which we are, in the video.

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

      @@dcode-software "create YOUR OWN Promises" is interpreted as creating our own promise implementation like the native promise api.

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

      @@manvendrasingh2210 Love reinventing the wheel much???

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

      @@jonno081 Yes, to understand the internal working of the tool we're using. That's what 'real' engineers do, you won't understand, leave it.

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

    This was the only video on promises which clicked with me on TH-cam - thanks!

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

    Awesome explanation. It cleared my concpet more on this topic. (Y)

  • @yashwanthsrini
    @yashwanthsrini ปีที่แล้ว

    Your videos are amazing. Thanks!

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

    First I am seeing a good tutorial with example on Promise, pretty clear and concise..

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

    I’ve been looking for this kinda explanation on promises to get the better understanding. I really appreciate your work :) 🙏🏻

  • @Remiisola
    @Remiisola ปีที่แล้ว

    Best video ever.

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

    I love the sound of the keyboard. It makes me feel I am in the classroom. Thanks for the vid bdw!

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

    Wow thank you so much for this! The fog is finally clearing in my mind for js promises after watching this.

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

    Awesome Explanation as always!!! BTW thanks for the codepen link!

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

    Perfect. I have been doing stuff with out understanding. Thanks man. It was really helpful.

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

    Thanks for this! I'm not super familiar with JavaScript and wanted to use promises, and this helped a lot.

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

    fantastic , thanks alot

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

    Awesome video, thanks :)

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

    Hey....you explained so well. Thank you so much 😊

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

    One more HUGE LIKE!!!
    Your explanation is awesome. Also, you have a fast typing :)

    • @dcode-software
      @dcode-software  4 ปีที่แล้ว +1

      Appreciate it mate, thank you!

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

    17.02 Thanks for teaching

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

    such a great explanation!

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

    Great stuff

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

    Great video!

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

    I never saw an example thst goes beyond condolge.log inside the theb block. what if i need to use the resulting data somewhere else?

  • @angladephil
    @angladephil 6 ปีที่แล้ว

    Hello and thank you. D'you think interesting to do a video about indexedDB?

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

    Love the video but the mechanical keyboard is distracting for me.

    • @dcode-software
      @dcode-software  5 ปีที่แล้ว

      Thanks mate, I'll take that into consideration for future vids :)

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

    I did not understand the promise created inside reject and why we used error.message and not simply message.

  • @_.sunnyraj._
    @_.sunnyraj._ 4 ปีที่แล้ว

    I leaved when mySQL comes becuz I don't know it 😅

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

    Your videos are very easy for beginners like us to understand but this tutorial on promise isn't one of them. You went too fast and a lil difficult for me to understand.

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

    Misleading title!

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

    Title is misleading

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

    misleading title of the video

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

    Expected promises polyfil