Create your own Promises in JavaScript | Understanding Promises

preview_player
Показать описание
Source Code:

In this video tutorial I'll take you through creating your own Promises in JavaScript with three interesting examples.

Creating your own Promise is a great learning experience and is especially helpful to those who struggle to understand how they work.

Support me on Patreon:

For your reference, check this out:

Follow me on Twitter @dcode!

If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!
Рекомендации по теме
Комментарии
Автор

Strongly suggest this video to understand JS Promise. I have seen a lot of YouTube 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.

raimitis
Автор

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

martyUOC
Автор

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

jayasaikrishnachowdary
Автор

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

vadivelan
Автор

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.

Aristocrator
Автор

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

akshay__sood
Автор

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

mushfiqayon
Автор

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

pattonjapes
Автор

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?

wolfgangbreitenseher
Автор

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

saisagarsharma
Автор

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

MysteryBlokHed
Автор

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

ashuvssut
Автор

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

karenkharatyan
Автор

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

laxmithrylokya
Автор

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

sanjeevchaurasia
Автор

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

angladephil
Автор

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

austinpena
Автор

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.

anthonyfrimpong
Автор

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

_.sunnyraj._