🎉👨🏻💻 JavaScript Promises and all their glory! This is episode 12 of a 10 part series I’m calling 10 things Javascript Developers Should Know But Probably Don't. Enjoy!
I’ve been watching videos for years trying to make sense of Promises, and while I got through it, I’ve always wanted to come back and really understand them. Your video turned the light bulb on for me. Wow! I had to tip you for the help! I appreciate it so much! Definitely subscribing!
I am a 15 year old learning front-end development and struggling with promises. After 3 days of exhaustion I found ur video and finally got the whole concept. Thank you for this masterpiece 😍😍
Been watching your shorts for a while, decided to hop into your channel and this is the first video I watched. Holy hell the quality of your videos is mind blowing. You put so much effort into edits and your explanation is very planned, with a set preordained path which makes the most sense. You've got a new sub.
3 days ago I wanted to watch just this video but the title made me look for the whole series, and I knew that to understand better I needed to watch the previous episodes, and OMG I'M GLAD I DID. I feel I have like a super knowledge now, EVERYTHING MAKES SENSE NOW!! I don't know how to express how grateful I am!! I'm so excited because you cleared all my doubts about promises and not just promises, now I understand Objects() way better! THANKS!! Waiting for your master class!!
I just came across your channel. You have a really great way of explaining things and giving them some context. Thumbs up 👍and I'm looking forward to hopefully many more videos like this!
I'm so happy to be finding your channel I want to cry. Impeccable production. Clear examples. Perfect pacing - not too fast, not too sluggish. Detailed yet very follow-able explanation. Funny host. thank you thank you thank you.
Thank you so much for making an actually apprehensive video that normal people can understand, explaining the why's and how's in a much better detail than a lot of other videos I've watched! Subscribed and added this to my favorites in case I should I need it in the future! 👍
Thank you for this video. Leaned a lot. I was learning about promises a year ago, didn't understand much so skimmed through it. But now i can explain to others what a promise is.
I stumbled upon your channel from a random RUclips shorts. I am very certain that soon you are going to be a lot of people's go-to channel for Javascript (Or anything that you make content on). The effort you put in to make the concepts intuitive is just top-notch. And I guess it is very evident from the other comments as well. Thanks for the effort you are putting in man
Amazing explanation! I have been enjoying your series quite a lot. Looking forward to other videos. Btw, there is a small error in the video, fetch by default returns a Promise, we don't need to create it ourselves :) Have a nice day/night!
Learn alot from ColorCode in just one month. Such an amazing content. The way you explain things is very very very interesting and funny. *Best JS channel* on RUclips. Thanks for such a premium content. Please deliver more.
This is by far the best explanation on the topic I have been able to find, and I must say I love your other videos as well. Love the production quality too, what is the recording software you're using, looks really slick?
24:28 u so right about repeating and coding from scratch again and again, this so important to memorize and practice some hands on great tutorial, thanks
Glad I found your channel. It's the best explanation of the Promise and Async Await. Can you please do a series on the same topic for database CRUD? Thank you.
I have seen lots of videos and tutorials but never use this topic of promises in my coding because of the bad and hard explanation, but now I am pretty sure I can use and refer to this great explanation ever, thanks a lot
I have watched the best vidoes of Kyle Simpson, Tyler McGinnis, Tony Alicea, colt Steele, Jim cooper, Aksay, Ania, Maximilian, Sasha, I can go on and on.... I spent A LOT of Money just to understand. I have watched ALL YOUR VIDEOS. I can assure you that this explanation got.YOUR EXPLANATION of SIMPLIFYING THE CODE before refactoring in simply the Best. Your tutorial is AMONGST THE BEST THREE for me. THANK YOU, THANK YOU, THANK YOU.
Brooooooooooooo 🎆🎇❤🧡💛💚💙💜 first of alll, love your humor, second of all amazing content struturing it is so well organized an succinct and i will do what all the other people in the comment section did compliment how good your videos are. much love !
i'm gonna comment fort the third time, that is the best video about Promise all over this app I spend 2 days on it, messing around with my own things Thanks a lot Color Code
What a charismatic person you are. Good Lord. I started the video knowing nothing about Promises and I am finishing it as an absolute pro. Thank you for going into detail.
29:10 A usecase for passing in onError in the .then() is to provide fallback data. For example, if fun1 rejects and then if the onError returns some data, then having fun1().then(fun2, onError).then(onSuccess) means that the onSuccess function will always receive some data, either fun1 resolves successfully and it's all good and well, or onError happens and that provides a fallback value so that onSuccess can always assume it has some data.
I know this video is old, but i’ve been coming back to this “10 things you should know…” series every time one of these topics comes up in the Odin Project and they always just make everything click
Not sure if this is covered in another video, but a discussion of the event loop and micro/macro tasks might help put promises in context. Otherwise, great video!
Awesome explanation, I thought it was a difficult thing but you made it way tooo simple. Thank you for your time and efforts. God may bless you a lot.❤❤
30:21 I can't believe Sina missed doing a "finally" pun when he literally was about to explain the "finally()" method. PD: Awesome video man! You teach us, you entertain us, you are a rockstar!
BTW your "do it yourself" admonition reminds me of the advice at the beginning of all the old Charles Berlitz language tapes where he said: Read it, Hear it, Speak it. He may have also said "Write it" sometimes, but his point was memory reinforcement that is as functional as possible.
🎉👨🏻💻 JavaScript Promises and all their glory! This is episode 12 of a 10 part series I’m calling 10 things Javascript Developers Should Know But Probably Don't. Enjoy!
Amazing series :)
12 out of 10?
thats a out of bounds/stack overflow
You promise 10 episodes but now in 12 😂😂
Promises
I’ve been watching videos for years trying to make sense of Promises, and while I got through it, I’ve always wanted to come back and really understand them. Your video turned the light bulb on for me. Wow! I had to tip you for the help!
I appreciate it so much! Definitely subscribing!
That’s so great to hear. Thanks for sharing.
@@doublewhopper67 ure da g
This is not only coding tutorial rather its an ART!
♥️🙏
I am a 15 year old learning front-end development and struggling with promises. After 3 days of exhaustion I found ur video and finally got the whole concept. Thank you for this masterpiece 😍😍
Been watching your shorts for a while, decided to hop into your channel and this is the first video I watched. Holy hell the quality of your videos is mind blowing. You put so much effort into edits and your explanation is very planned, with a set preordained path which makes the most sense.
You've got a new sub.
Thanks AJD. Very nice of you.
3 days ago I wanted to watch just this video but the title made me look for the whole series, and I knew that to understand better I needed to watch the previous episodes, and OMG I'M GLAD I DID. I feel I have like a super knowledge now, EVERYTHING MAKES SENSE NOW!! I don't know how to express how grateful I am!! I'm so excited because you cleared all my doubts about promises and not just promises, now I understand Objects() way better! THANKS!! Waiting for your master class!!
Glad to hear it! Full course coming soon.
eagerly waiting man @@ColorCodeio
i can tell you put a lot of passion and effort into your work bro its inspiring
I just came across your channel. You have a really great way of explaining things and giving them some context. Thumbs up 👍and I'm looking forward to hopefully many more videos like this!
Man your content is so insightful and relaxed at the same time! Loving it.
There aren't many video's that are 30+ minutes worth rewatching, but this one certainly is. Nice video
I'm so happy to be finding your channel I want to cry. Impeccable production. Clear examples. Perfect pacing - not too fast, not too sluggish. Detailed yet very follow-able explanation. Funny host. thank you thank you thank you.
Let’s cry together
This is the first time I'm seeing this guy, 30 seconds into the video, and I had to subscribe. Thanks for the video and the fun!
This will be the one video that gets me understand the basics concepts of promises. very good video outline and content.
Thank you so much for making an actually apprehensive video that normal people can understand, explaining the why's and how's in a much better detail than a lot of other videos I've watched! Subscribed and added this to my favorites in case I should I need it in the future! 👍
Thanks Guy!
I really like how your examples lead to real life situations and at the end it doesn't seem that complicated. Thanks!
Thanks!
That was really helpful, I'm finally got the basics of it. THANK YOU!
Thank you for this video. Leaned a lot. I was learning about promises a year ago, didn't understand much so skimmed through it. But now i can explain to others what a promise is.
Wonderful!
I loved everything in this video man, keep it up !
Thank you for putting out such high quality videos!
Top quality as always
Thank you so much for this video! Finally someone who can explain promises well.
Glad it was helpful!
I stumbled upon your channel from a random RUclips shorts. I am very certain that soon you are going to be a lot of people's go-to channel for Javascript (Or anything that you make content on). The effort you put in to make the concepts intuitive is just top-notch. And I guess it is very evident from the other comments as well. Thanks for the effort you are putting in man
Exactly the same for me. Looks like I will be here for a while. I'm hitting sub right away
Thank you both! Welcome aboard.
That was pretty well explained, and FUN to watch ! Thank you, Weather Man!
Very welcome
You are just awesome, keep up your work... Learnt a lot!! Thanks for this... I love JavaScript!!
Amazing explanation! I have been enjoying your series quite a lot. Looking forward to other videos. Btw, there is a small error in the video, fetch by default returns a Promise, we don't need to create it ourselves :)
Have a nice day/night!
Thank you for sharing. Immensely appreciated. The best JavaScript promise tutorial as far as I am concerned. Best wishes for the new year.
You are welcome!
A very underrated channel. I like your style of teaching! Thank you for the content! Keep up the good work!
Thank you
another GREAT video. Thanks a lot SINA
the best explanation of promises I promise :)
UUFFFFF The Chaining explanation was 🔥🔥🔥
Love the way you explain everything.❤❤ Can you make a video on hoisting in javascript and stuff like javascript execution context.
This content is simply amazing! Thanks for your effort in creating quality content, I learn a lot thanks to it.
Awesome!
You are a wonderful teacher. Thank you for creating these videos🙏
Thank you!
I really enjoy your videos thank you for making them!
What is this website you are using to see the results of your code as you type it?? so cool.
Bro your explanation of concepts is top notch. Keep the good work up!!
Thanks Nitish
Thank you so much for this!! ❤❤❤❤
THE BEST JS CHANNEL
always great, you never disappoint!
🙏
Thus is the best explanation of Promise! Thank you so much!
You're very welcome!
Great work Sina, this is a subject that a lot of people seem to get wrong on interviews. Now I can refer them to this video. 👍🏽
Thank you Ronald for your support, always!
Learn alot from ColorCode in just one month.
Such an amazing content.
The way you explain things is very very very interesting and funny.
*Best JS channel* on RUclips.
Thanks for such a premium content.
Please deliver more.
Thanks a lot
you're the best of 7 videos about promises I've seen
✋✌️
Great video, clear and detailed!) Thank you a lot 😊🙏
My first time ever watching you, and I'm intrigued by your tutoring style.
Instant subscriber... Thank you
Awesome, thank you!
Like the way that you teach, wonderful!
yeeeee i was waiting for this video
This is so well made. Thank you.
🙏
Lot's of gratitude from me here Js Master, this series is really impacting me...
Glad to hear that ♥️
This is by far the best explanation on the topic I have been able to find, and I must say I love your other videos as well. Love the production quality too, what is the recording software you're using, looks really slick?
The animations are all done by hand. The screen recording is just basic QuickTime.
24:28 u so right about repeating and coding from scratch again and again, this so important to memorize and practice some hands on
great tutorial, thanks
🙏
Thank you. Looking forward to your video on async awaits!
Thanks Richard. Coming soon.
Bro thank you for this amazing video
Glad I found your channel. It's the best explanation of the Promise and Async Await. Can you please do a series on the same topic for database CRUD? Thank you.
I'm considering doing one on CRUD operations with Firebase.
Thanks for the clear explanation sir
5 minutes into the video and I can already tell that you are criminally underrated. Subbed
Hah thank you
I have seen lots of videos and tutorials but never use this topic of promises in my coding because of the bad and hard explanation, but now I am pretty sure I can use and refer to this great explanation ever, thanks a lot
👍
I have watched the best vidoes of Kyle Simpson, Tyler McGinnis, Tony Alicea, colt Steele, Jim cooper, Aksay, Ania, Maximilian, Sasha, I can go on and on.... I spent A LOT of Money just to understand. I have watched ALL YOUR VIDEOS.
I can assure you that this explanation got.YOUR EXPLANATION of SIMPLIFYING THE CODE before refactoring in simply the Best.
Your tutorial is AMONGST THE BEST THREE for me. THANK YOU, THANK YOU, THANK YOU.
Thank you so much. This is very encouraging to hear.
Brooooooooooooo 🎆🎇❤🧡💛💚💙💜 first of alll, love your humor, second of all amazing content struturing it is so well organized an succinct and i will do what all the other people in the comment section did compliment how good your videos are. much love !
Thank you so much
You rock!! 👑Thanks so much for your work!
Thank ya! 🙏🏼
Phenomenal. Beyond phenomenal.
:)
No Promises that I learned to Promise.
Excellent tuts and explanations. Liked and subbed! Love your energy🙂
Awesome! Thank you!
Great explanation.. thank you 👏
Thank you bro, can't wait for Episode 13 Async/Await
Coming soon
Thank you very much. Your videos are awesome, it is very clear what you are saying.
Awesome! 🤘🏼
GOATED video. This will be the last promise video I ever watch. Thank you!
Appreciate it
Very smooth,keep up the good work bro
Always
i'm gonna comment fort the third time, that is the best video about Promise all over this app
I spend 2 days on it, messing around with my own things
Thanks a lot Color Code
That’s awesome. Glad to hear it.
Your explanation is so funny and so helpful at the same time, Hope you keep doing videos this way
Ty!
What a charismatic person you are. Good Lord.
I started the video knowing nothing about Promises and I am finishing it as an absolute pro.
Thank you for going into detail.
Thank you. Made my day.
nice setup, nice host, nice code, nice music, nice edit, nice english
Fantastic!!
جانی بہترین ہوگیا 🔥 🤍
Loved the intro 🔥.
Thanks 🔥
thanks for the lesson
Cheers what a beautiful Teaching thank you so much for this Video!!!
Thanks for the comment Kayode
Best Javascript tutorials on YT!
Ty!
Great content as usual. Please upload video consistently
👍
29:10 A usecase for passing in onError in the .then() is to provide fallback data. For example, if fun1 rejects and then if the onError returns some data, then having fun1().then(fun2, onError).then(onSuccess) means that the onSuccess function will always receive some data, either fun1 resolves successfully and it's all good and well, or onError happens and that provides a fallback value so that onSuccess can always assume it has some data.
Please keep this JS series. I like your explanation!
It's going to continue :)
@@ColorCodeio really nice video, please do continue!
Thank you for the knowledge😁😁😁
Your channel is🔥🔥🔥🔥🔥
I appreciate that!
I know this video is old, but i’ve been coming back to this “10 things you should know…” series every time one of these topics comes up in the Odin Project and they always just make everything click
Great .Thank you so much.
Not sure if this is covered in another video, but a discussion of the event loop and micro/macro tasks might help put promises in context. Otherwise, great video!
very underrated channel! glad i found you
Welcome aboard!
thank you so much Mr Sina. Promises confused me a lot. God bless
Glad to hear that
Wow. That's a great one about promises. 💚
🙏
Love your work
Thank you!
You teach so creatively
Thanks
Thanks for making it so easy to understand..🎉
👍👍
Awesome explanation, I thought it was a difficult thing but you made it way tooo simple. Thank you for your time and efforts. God may bless you a lot.❤❤
Thank you!
Thank you so much for your lessons, and have some fun coding also 😊😊
That's the goal!
30:21 I can't believe Sina missed doing a "finally" pun when he literally was about to explain the "finally()" method.
PD: Awesome video man! You teach us, you entertain us, you are a rockstar!
You're right. What a missed opportunity.
Top notch content!
🙏
Waiting for episode 13... Qoly!
Thank you for the video.
I just spoke to Qoli. He says hi Alberto 👋
@@ColorCodeio 😄
BTW your "do it yourself" admonition reminds me of the advice at the beginning of all the old Charles Berlitz language tapes where he said: Read it, Hear it, Speak it. He may have also said "Write it" sometimes, but his point was memory reinforcement that is as functional as possible.
🙏♥️
so good thank you!
You're so welcome!
async funk you up exactly what I am looking for. Love you man. 🤣🤣🤣
🕺🏻
Thanks a lot. You are doing a great job 👏 👍
Thanks!
Your videos are amazing and really helpful with lots of explanations for better understanding.
What’s the code editor you’re using btw?
runjs.app/colorcode
Thank you so much. I was really confused on this topic but now I am confident with it.
I PROMISE 😅😂.
Glad it helped