JavaScript Promises for Complete Beginners

  Рет қаралды 65,624

Codevolution

Codevolution

3 жыл бұрын

📘 Courses - learn.codevolution.dev/p/prep...
💖 Support UPI - support.codevolution.dev/
💖 Support PayPal - www.paypal.me/Codevolution
💾 Github - github.com/gopinav
📱 Follow Codevolution
+ Twitter - / codevolutionweb
+ Facebook - / codevolutionweb
📫 Business - codevolution.business@gmail.com
Understanding JavaScript Promises in Simple English - Tutorial for Beginners

Пікірлер: 134
@Human_Evolution-
@Human_Evolution- 3 жыл бұрын
After 4 hours of videos and text on promises, this video makes the most sense. Nobody made certain things clear like you. Great job.
@2ndintelligentWorld
@2ndintelligentWorld 2 жыл бұрын
indeed
@Aram64
@Aram64 3 жыл бұрын
By far, the best explanation of Promise. Breaking everything by details, you also mentioned that resolve and reject are functions, not just arguments, and you pointed out that massages of resolve and reject are automatically passed into functions inside then and catch, lot of people ignoring those parts when explaining Promise which leeds to confusions. Great job.
@danielmadison4451
@danielmadison4451 Жыл бұрын
Exactly right. I, too, listen for accuracy in an explanation and observed in addition to these issues that he explicitly said there is one argument to the constructor "A function" containing two parameters. I have heard others say there are two parameters to the constructor. Best explanation.
@kettenbach
@kettenbach 3 жыл бұрын
Quite possibly the best explanation I've ever seen for promises. Well done sir. 😍🙏
@coil8906
@coil8906 2 жыл бұрын
I literally quit learning javascript three times after hitting a wall not being able to understand promises until I found (but really, searched for!) this video. Out of every learning resource, bootcamp, course I’ve taken this is the only video that has succeeded in clearly explaining the nature of how values flow from the promise to the callbacks. I don’t know why other instructors don’t take the few minutes it took you to explain that resolve and reject are methods and that they are actually doing something instead of leaving students wondering how the heck an external function is magically receiving values that shouldn’t be within its scope!! Thank you sincerely for your outstanding pedagogy. I wish you and your channel nothing but success and thank you for bringing me peace of mind. It is so incredibly frustrating to go from confidence and order learning everything and then suddenly hitting a topic that seems to at first glance to a new student appear to involve multiple concepts that were not previously taught, but now you’ve helped me see the relationships are coherent.
@Johannes00
@Johannes00 2 жыл бұрын
Wow, I wish more programming tutorials were simplified like this! Thank you!
@nicopicco
@nicopicco 3 жыл бұрын
OMG!!! Finally a well-presented video on this topic. I have been struggling with this for about 2 days. Not wanting to go through the motions only and I actually wanted to understand the why...which now I finally do. Thank you.
@viv_7475
@viv_7475 2 жыл бұрын
This was the simplest explanation of promises I've ever seen. It was very useful to me. Well done sir.
@TheGeneral75746
@TheGeneral75746 2 жыл бұрын
Tried to learn about promises when watching several different videos about a couple weeks ago. Got frustrated and put it aside. Found this one today and it taught me in 15 minutes what probably 45 minutes of other videos couldn't make as clear. Thank you so much for you clear and informative explanation!
@philbligh4139
@philbligh4139 2 жыл бұрын
I've watched several videos on promises, and this is easily the best. The only one that even came close to teaching the concept in an understandable way. Thank you!
@mithun1247
@mithun1247 3 жыл бұрын
It's a god's gift to explain complex things in a simple manner,thanks man
@mitchtembo487
@mitchtembo487 2 жыл бұрын
I skipped a ton of videos only for me to discover this gem. Best explanation by far!!
@cghfdsxfcbhjhgfdsdfg
@cghfdsxfcbhjhgfdsdfg 2 жыл бұрын
You are the man, I had been going nuts over the past few days trying to understanding this
@Shadowless_Kick
@Shadowless_Kick Жыл бұрын
Starting around 13:15, *The message displayed at the bottom of the video screen for the "reject" case is wrong* : It should be 'Not bringing tacos. Food truck not there.' but the video shows 'Cannot bring tacos' Of course, this is just a tiny careless error. Thank you for this good tutorial.
@alanmurray4011
@alanmurray4011 2 жыл бұрын
Brilliant explanation. I have been watching several KZfaq videos on Promises and this is the first one I've watched where I feel like I understand them. I appreciate your thorough breakdown and how you take care to mention simple but important details which every other video I've seen overlooks. Your analogy was also very effective. Thank you
@nataliapereyra3434
@nataliapereyra3434 2 жыл бұрын
This is without a doubt the best tutorial I've seen about promises, and I've seen a lot to try to understand this topic. Well done!!
@Shaikhismail0822
@Shaikhismail0822 2 жыл бұрын
The way the JS Promise is explained in this video is fantastic.Kudos to Code Evolution!!
@user-ol2ol1hr2i
@user-ol2ol1hr2i 3 ай бұрын
I'm struggling for 2 weeks, but you helped solve my issue in 10 mins.Thanks for the clear explanation
@deepakkj
@deepakkj 3 жыл бұрын
Great presentation. This just brushed up my basics again! ❤️👍
@BrantK147
@BrantK147 2 жыл бұрын
Wow, hat's off to you!!! I have watched countless videos on promises and couldn't understand. But your explanation is so logical and step by step that I understood everything. You're such a good tutor!!! Thank you! However, a real world example would have been the icing on the cake :P Also I love your accent, very relaxing :)
@CodingNuggets
@CodingNuggets 3 жыл бұрын
JavaScript promises are really misunderstood among a lot of people. I was asked about promises in every interview I did last year also. It's a very vital part of being a JavaScript developer. Thanks for the refresh. See you soon!
@subhakantaroul
@subhakantaroul 2 жыл бұрын
The best explanation of promise, indeed. You're the best. Can't get more clear explanation of promise other than this.
@deuce007
@deuce007 Жыл бұрын
Finally a video actually geared towards beginners that makes sense! Thank you!!
@camillablijden811
@camillablijden811 2 жыл бұрын
Thank you for making this super clear! 15 minutes and it was explained perfectly.
@iUmerFarooq
@iUmerFarooq 3 жыл бұрын
As always very well explained and very easy to understand. Thank you ❤
@youkickedmydog0
@youkickedmydog0 2 жыл бұрын
I don't think this could've been explained any better. Thank you so much
@johnhuang4618
@johnhuang4618 3 жыл бұрын
Probably the best explanation ever on youtube regarding promise
@bevel1702
@bevel1702 2 жыл бұрын
Absolutely crystal clear for me now thank you so much!
@taylorgraham2906
@taylorgraham2906 Жыл бұрын
I've watched so many videos about Promises and this is THE BEST
@KevinBFG
@KevinBFG 2 жыл бұрын
This was a great explanation ... I'm now more knowledgeable about promises and hungry for Tacos!. Thank you!
@shashankkr1008
@shashankkr1008 2 жыл бұрын
This is truly beginner friendly , Thank you!
@tylermyers8735
@tylermyers8735 2 жыл бұрын
this is great, no one has gotten through to me that resolve and reject are FUNCTIONS the change the STATUS of the promise. This was a key gap for me.
@laughtale1181
@laughtale1181 3 жыл бұрын
i have seen 3 other videos but urs is small but to the point !! best explained
@tonytodd7011
@tonytodd7011 Жыл бұрын
I was so lucky to see your video! Thank you for your great lesson! It's not only about JS Promise but also on pedagogics, on how to make hard things easy! How come my academic PHD professors never teach like this? I also wonder why just few people viewed and liked such a great and unique video?
@bopaiahm.d1063
@bopaiahm.d1063 2 жыл бұрын
I like the clarity in each word and real time example you gave :) Great Job Buddy ..
@danielmadison4451
@danielmadison4451 Жыл бұрын
I, too, listen for accuracy in an explanation and observed that you explicitly said there is one argument to the constructor "A function" containing two parameters. I have heard others say there are two parameters to the constructor. Thank you for your well-thought-out explanation.
@omarogrant5936
@omarogrant5936 3 жыл бұрын
awesome explanation, it helped me to understand promises a whole lot easier
@asadmoosvi
@asadmoosvi 3 жыл бұрын
Very clear and to the point. Great video.
@SaifulIslam-maahi
@SaifulIslam-maahi Жыл бұрын
best ever video, if you want to have clear concept about js promise. salute for content creator
@sushmakandapu6877
@sushmakandapu6877 3 жыл бұрын
Crisp and on point. Good work👌
@pamphilelive9711
@pamphilelive9711 Жыл бұрын
😮 i am very surprised, the best tutorial ever , I understood everything in less than 15min , thank you so much for this wonderful tutorial
@omerkhalique9814
@omerkhalique9814 2 жыл бұрын
best video on promises ever. resolved.
@aygulismayilova8414
@aygulismayilova8414 2 жыл бұрын
Clearly explained! Thank you!
@lukzux
@lukzux 2 жыл бұрын
thanks, you helped me a lot, i'm struggling with Promises and callbacks
@haoxiangdai3458
@haoxiangdai3458 2 жыл бұрын
This is a really clear explanation for beginners! Thanks a lot!
@sruthiantony1
@sruthiantony1 3 жыл бұрын
Finally I understood promises🙂 thanks to you sir
@nihadyaqublu2359
@nihadyaqublu2359 2 жыл бұрын
YOU ARE AMAZING!!!!! THANK YOU FOR THIS CLEAR EXPLANATION!!!
@thanyaniinnocent940
@thanyaniinnocent940 Жыл бұрын
The best 🔥🔥🔥. With just the analogy I have an idea of promises
@drummer4040
@drummer4040 9 ай бұрын
Absolutely marvelous way of teaching You got yourself a new subscriber!!
@lifeind4293
@lifeind4293 2 жыл бұрын
best explanation of “Promise” in KZfaq
@saalimhussain6635
@saalimhussain6635 3 жыл бұрын
Gained most of the knowledge from your channel . Thanks
@anujkumbhar5355
@anujkumbhar5355 6 ай бұрын
Best explanation I ever seen !! 🤩 Thank you so much for this video 🙏
@rudythorns8411
@rudythorns8411 Жыл бұрын
Omg finally some persuasive explanation .this had ended my suffering on trying to understand promisses it is really hard to understand this one when your just jumping left and right to different youtubers because they have different oppinions. But yeah ill stick to this one
@brai6824
@brai6824 2 жыл бұрын
Awsm, I am a new learner but you taught in a simplified way.
@arihanthirawat6574
@arihanthirawat6574 2 жыл бұрын
thank you so much for this beautiful explanation.
@sanchitagarwal8764
@sanchitagarwal8764 2 жыл бұрын
Easily the most digestible explanation of Promises I have seen
@goverdhanjayaram3683
@goverdhanjayaram3683 Жыл бұрын
Excellent !! I agree with Aram, Chris and others here. Thank you !❤❤
@hananfadah
@hananfadah 5 ай бұрын
Thanks a lot. Your great explanation was so helpful.
@ndahayokevin7626
@ndahayokevin7626 2 жыл бұрын
I love vishwass ; His is the best tutor, he simplifies everything like drinking water
@rezazimohamedabdessamed5465
@rezazimohamedabdessamed5465 2 жыл бұрын
Your way on explaining things are insane!
@ojolowoboluwatife1716
@ojolowoboluwatife1716 2 жыл бұрын
This is the best explanation I’ve seen so far.
@ghaziali3504
@ghaziali3504 2 жыл бұрын
Perfectly explained with a practical example.
@chakhmanmohamed9436
@chakhmanmohamed9436 2 жыл бұрын
Thank you for the tutorial , would love some content about the DOM
@touhidsourav2475
@touhidsourav2475 2 жыл бұрын
Very well detailed and nicely explained.
@maheshvangala8472
@maheshvangala8472 2 жыл бұрын
Thank You for such a simple explaination Hatsoff to your knowledge and presentation skills
@sujitapatil9752
@sujitapatil9752 2 жыл бұрын
Best explanation I have seen for promises Thank you so much
@arindam1249
@arindam1249 Жыл бұрын
Definitely the best explanation of such a cumbersome topic!
@akumpum
@akumpum 2 жыл бұрын
very very good explanation, simple and detailed, visually easy to understand. The best explanation about Js Promise.
@vidhyalakshmirajprasannah5816
@vidhyalakshmirajprasannah5816 2 жыл бұрын
Highly recommend,Best explanation
@NOOB_RIDER-177
@NOOB_RIDER-177 2 жыл бұрын
🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏 Many many many many many thanks to you Sir. I watch many videos in youtube but the level of simplicity and details which you give here is just awesome. Please make a series on how to call rest API from js without any library. If the rest API is from "Spring-Boot" it will be awsome just awesome. 🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏
@malikasharma2841
@malikasharma2841 3 жыл бұрын
Best video Ever🙏Thanks
@vedsharma5981
@vedsharma5981 Жыл бұрын
Nice explanation. Worth watching it.
@narasimhachaudhary6078
@narasimhachaudhary6078 Жыл бұрын
thank you sir, great explanation
@rv_1989
@rv_1989 3 жыл бұрын
Great tutorial...
@stephaniecrispin674
@stephaniecrispin674 Жыл бұрын
Thank you Sir for the lecture.
@AmitSingh-fs2ot
@AmitSingh-fs2ot Жыл бұрын
Awesome explanation
@bhanuprakashreddy8960
@bhanuprakashreddy8960 2 жыл бұрын
Best explaination ever.
@W34KN35S
@W34KN35S 2 жыл бұрын
I did have a question on something I didnt understand , if anyone could help. When he said that resolve and reject were arguments of the function inside new Promise , are they actually parameters. I was confused by this because you change the (resolve, reject) into anything and still get the same result. So it seemed like there were two different versions of resolve and reject. One that is only the placeholder or parameter that can be named anything / and Two being the actual method that is being called when the promise is running. Do I have that right , I cant seem to figure out how else one can explain how the parameters ( resolve, reject) can be changed to any other word while still getting the same result.
@lollilolli4582
@lollilolli4582 2 жыл бұрын
You are the best teacher on this planet :)
@karnatisaimanikanta6166
@karnatisaimanikanta6166 2 жыл бұрын
Just awesome ❤️❤️
@rishutripathi9596
@rishutripathi9596 Жыл бұрын
Best video to understand Promises
@memories5935
@memories5935 3 жыл бұрын
Hope you will continue with VUE JS course. Waiting for more videos on VUE
@siddhantchavan1370
@siddhantchavan1370 2 жыл бұрын
Explanation is sooooooo good
@nigelflim
@nigelflim 3 жыл бұрын
Amazing!
@maseerafatima3399
@maseerafatima3399 2 жыл бұрын
Veryy clear explanation
@Leibniz920
@Leibniz920 Жыл бұрын
Thank you for this video
@rahilsinha_1407
@rahilsinha_1407 3 жыл бұрын
Make video on async await also. Much needed.
@goverdhanjayaram3683
@goverdhanjayaram3683 Жыл бұрын
Thanks!
@bidhubhushangahan9242
@bidhubhushangahan9242 11 ай бұрын
Nice explanation Sir
@abhishekvishwakarma9045
@abhishekvishwakarma9045 Жыл бұрын
Best explanation 🚀🔥
@yadia1104
@yadia1104 Жыл бұрын
Easy to understand
@itzyourbwoytchybooxuur6475
@itzyourbwoytchybooxuur6475 2 жыл бұрын
This was really simplified to the bare bones. However, as an observation, shouldn't the first line of the output for error be: Not bringing tacos. Food truck not there. _instead of just_ Cannot bring tacos?
@chugia6118
@chugia6118 Жыл бұрын
why reject text is 'Not bringing tacos. Food truck not there.' but the console log text is 'Cannot bringing tacos'
@havefun5519
@havefun5519 2 жыл бұрын
Thanks.
@tejass817
@tejass817 2 жыл бұрын
great content
@donatellodonini3147
@donatellodonini3147 3 жыл бұрын
2 questions: 1- why can't I use a simple if statement rather than a promise? 2- why do I have to wait some time when I could return the result instantly? I'm talking about setTimeout
@nganweiloong1506
@nganweiloong1506 2 жыл бұрын
quality content!
@amranmohamed377
@amranmohamed377 2 жыл бұрын
Thaaaaank you very much sir! Now I got on how to use promise… but what makes my promise to be resolved or rejected? 🤔
@seemazanvar9323
@seemazanvar9323 3 жыл бұрын
Sir, please make playlists on angular 10
@andreasmotsie3357
@andreasmotsie3357 2 жыл бұрын
UnhandledPromiseRejectionWarning when I execute with the reject callback. Anyone understands what causes it?
@exoticme4760
@exoticme4760 2 жыл бұрын
bravo !!
JavaScript Promises  -- Tutorial for Beginners
37:05
ColorCode
Рет қаралды 103 М.
Asynchronous JavaScript Crash Course
1:28:03
Codevolution
Рет қаралды 187 М.
Did you find it?! 🤔✨✍️ #funnyart
00:11
Artistomg
Рет қаралды 114 МЛН
Why? 😭 #shorts by Leisi Crazy
00:16
Leisi Crazy
Рет қаралды 33 МЛН
JavaScript Promises
22:48
procademy
Рет қаралды 3,1 М.
Advanced JavaScript Crash Course
1:04:05
Codevolution
Рет қаралды 422 М.
What are JavaScript PROMISES? 🤞
12:37
Bro Code
Рет қаралды 33 М.
Don't Imitate, Understand #2 - Promises, Async, and Await
42:44
Tony Alicea
Рет қаралды 67 М.
Async JavaScript & Callback Functions -- Tutorial for Beginners
24:21
Async Await vs. Promises - JavaScript Tutorial for beginners
24:30
JavaScript Crash Course - Tutorial for Complete Beginners
1:20:58
Codevolution
Рет қаралды 249 М.
16.11: Promises Part 1 - Topics of JavaScript/ES6
24:53
The Coding Train
Рет қаралды 331 М.
Did you find it?! 🤔✨✍️ #funnyart
00:11
Artistomg
Рет қаралды 114 МЛН