Javascript Promises Tutorial with Examples

  Рет қаралды 23,522

Wes Doyle

Wes Doyle

Күн бұрын

Пікірлер: 52
@MrRisn
@MrRisn 2 жыл бұрын
OMG after watching many vids on this subject and slowely getting closer to really grasp and understand THIS video really made it happen!!!! This is a great explanation!!!! I really needed this.. Thank you very very very much for making this! much love.. Im gonna sub and check more of your vids!
@petetracy8757
@petetracy8757 4 жыл бұрын
This is the sixth video I've watched on promises and the first one that explained just what they are so I understood it. Good Job!
@WesDoyle
@WesDoyle 4 жыл бұрын
Great to hear it!
@prateeksharma3187
@prateeksharma3187 3 жыл бұрын
I really like your tempo and the calm state at which you throw your knowledge on the screen . It makes easier to digest for the learners.
@georgeflores5382
@georgeflores5382 2 жыл бұрын
I make an effort to comment on every video that helps me out. Really concise, practical, easy to understand examples. Thanks so much!
@vin2629
@vin2629 2 жыл бұрын
I loved the way you compared a promise in real life to the promise in javascript.! :D
@DamonMedekMusic
@DamonMedekMusic 2 жыл бұрын
Promises have been pretty difficult for me to learn. Its rarely taught in a clean organized way. However, I wrote a pretty complicated program using promises today and I'm glad I figured it out. Thank you a ton for explaining it. I'm really glad I can use it more as its very powerful.
@The825178
@The825178 2 жыл бұрын
Very nice and clean explaned!
@WesDoyle
@WesDoyle 2 жыл бұрын
thanks Maja
@nebojsadjordjevic8253
@nebojsadjordjevic8253 2 жыл бұрын
great video mate thank you so much i was struggling with later part of promises when we introduce then, but now i understand it fully. Thank you
@ccaspanello
@ccaspanello 4 жыл бұрын
Great tutorial! Not only did you explain how it works you go over pitfalls . . . the same pitfall I ran into. Thank you!
@WesDoyle
@WesDoyle 4 жыл бұрын
thanks Chris! glad to hear it
@yofi2614
@yofi2614 2 жыл бұрын
Hey, thanks for the tutorial, can you please explain what the data in the parenthesis stands for? 09:09
@chiranjeevichowdary5948
@chiranjeevichowdary5948 3 жыл бұрын
This is the video every1 should watch for promises.I have seen many videos but no one explained like u.Thanks a lot bro
@taylorchristian2576
@taylorchristian2576 4 жыл бұрын
Great video Wes! I love how you explain things. I just finished my first year as a backend developer and all of your videos have helped me along the way. Thanks so much and keep up the great work!
@WesDoyle
@WesDoyle 4 жыл бұрын
Thanks Taylor! Congratulations on your first year. All the best!
@jakema4o
@jakema4o 3 жыл бұрын
IMHO for beginners in order to you understand Promises fully, you firstly gotta learn about callback functions to understand what resolve and reject methods come from. Secondly learn about node bcs. you gotta use terminal in order to see the result. At least it gave me some hints what is going here for the first time.
@erikalonso5782
@erikalonso5782 3 жыл бұрын
Dude, this. I was so confused by the arg passed to the then. function, like, how does it know it needs to fetch the reject or resolve data if the arg name has nothing to do with them?
@jaffarsharieff8528
@jaffarsharieff8528 3 жыл бұрын
Really a good explanation.
@ondrejmarek9752
@ondrejmarek9752 3 жыл бұрын
Thank you so much for this tutorial.
@TaylorRayHoward
@TaylorRayHoward 4 жыл бұрын
Digging all the new content. You're killing it.
@WesDoyle
@WesDoyle 4 жыл бұрын
Thanks, Taylor. I hope we can catch up soon. Hope you're doing well
@mocococo2877
@mocococo2877 2 жыл бұрын
Thank you and greetings from Bulgaria. Please explain how can p3=1000 be a promise ? Thank you
@danielgabay8816
@danielgabay8816 2 жыл бұрын
ty, you helped my understand better the promises
@robertoenea8576
@robertoenea8576 4 жыл бұрын
Hey, nice video! Can you please tell me the name of the VSC theme? Thank you!
@feliciabacon9923
@feliciabacon9923 2 жыл бұрын
I was wondering about this too :)
@morososaas3397
@morososaas3397 3 жыл бұрын
I think that what confuses many people me included is that it is rarely told when chaining promises that behind the scenes the .then(callback) takes automatically the data from the successfull promise as an argument.
@abdelsoumah4922
@abdelsoumah4922 2 жыл бұрын
Yes I was wondering where the data is coming from
@viridianite
@viridianite 2 жыл бұрын
Nice video! What program are using to emulate Vim inside VS Code?
@Coderverse.Technology
@Coderverse.Technology 2 жыл бұрын
Great video
@hemanthkotagiri8865
@hemanthkotagiri8865 4 жыл бұрын
So you took care of my advice! Thank you so much for that! This is a cool video!
@WesDoyle
@WesDoyle 4 жыл бұрын
Thanks Hemanth! All the best
@winning2049
@winning2049 4 жыл бұрын
I saw that Microsoft has added the static web app SWA builder on Azure. In your Udemy course, full stack, I think you connect the backend to the Vue front end using a product mapper to interact with an entity framework that stores its data in a Postgres relational database. Could you make a KZbin video on creating an MS SWA that connects to the API we're building in your course? Am I correct to assume that we can simply swap out the front end (Vue) for a front-end SWA running on Azure? And, are you able to show us how to do that in a 10 minute KZbin video (asking for a friend)?
@hemanthkotagiri8865
@hemanthkotagiri8865 4 жыл бұрын
Can you also make a video on learning Vim editor, please? I've seen you in that live stream using it like a pro. It would be great to see a video on that from you because I feel you are explaining things in the most simplistic and best way to understand. Looking forward to that video!
@WesDoyle
@WesDoyle 4 жыл бұрын
I've been considering this for some time, thanks for the suggestion! I'll have to come up with a way to spark an interest in using Vim for those who haven't used it before - it can be a bit of a challenge at first, but it provides a fantastic boost in productivity once learned.
@hemanthkotagiri8865
@hemanthkotagiri8865 4 жыл бұрын
@@WesDoyle really sweet! Looking forward for the video soon! I'm quite excited! You can call me your excited subscriber. 😉
@sgamer1770
@sgamer1770 4 жыл бұрын
i'm a bit confused by the use of arrow functions buried deep within the promise multiple times. perhaps a video on that you could make please. the first 8 minutes before that i extremely enjoyed.
@vishseenarain
@vishseenarain 3 жыл бұрын
What vscode theme is that ?! 😲👌🏼
@christianmarquez6365
@christianmarquez6365 4 жыл бұрын
Awesome video!
@WesDoyle
@WesDoyle 4 жыл бұрын
Glad you enjoyed it
@sudidav
@sudidav 4 жыл бұрын
Thx Wes! I had a request, would you make a video about .Net core and flutter. Thanks in advance!
@WesDoyle
@WesDoyle 4 жыл бұрын
Nice idea Sudi David
@sudidav
@sudidav 4 жыл бұрын
@@WesDoyle Thanks again
@arunavamukherjee7549
@arunavamukherjee7549 3 жыл бұрын
Great video. When do we use setTimeOut()? Thank you in advance : )
@kartiksaini5847
@kartiksaini5847 3 жыл бұрын
subscribed good work
@ScenicD
@ScenicD Жыл бұрын
I'm very confused about the require thing, first time I've heard about it was in this video and now I'm trying to figure out how to do that. Otherwise, great video. PS: I've been studying JS for about 2 months.
@IvanRandomDude
@IvanRandomDude 4 жыл бұрын
Looks like a Task in C#
@WesDoyle
@WesDoyle 4 жыл бұрын
They are related constructs! Check out TaskCompletionSource in C#
@vijay_pachaiyappan
@vijay_pachaiyappan 4 жыл бұрын
hai bro
@WesDoyle
@WesDoyle 4 жыл бұрын
Hello!
@prathamrajgor
@prathamrajgor 2 жыл бұрын
Your Theme is creating PROBELM. Cannot see brackets and other stuff clearly which makes the whole tutorial shit despite being good in terms of teaching.
@SkullSkill912
@SkullSkill912 3 жыл бұрын
Mine says this: Promise {} [[Prototype]]: Promise [[PromiseState]]: "fulfilled" [[PromiseResult]]: undefined Is it still pending?
Dealing with Burnout as a Software Developer
10:18
Wes Doyle
Рет қаралды 7 М.
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
The JavaScript Survival Guide
14:47
Fireship
Рет қаралды 739 М.
Async JavaScript - Callbacks, Promises, Async/Await
25:10
codeSTACKr
Рет қаралды 63 М.
16.11: Promises Part 1 - Topics of JavaScript/ES6
24:53
The Coding Train
Рет қаралды 337 М.
Callbacks, Promises, Async Await | JavaScript Fetch API Explained
1:05:05
JavaScript OOP Crash Course (ES5 & ES6)
40:21
Traversy Media
Рет қаралды 595 М.
5 JavaScript Concepts You HAVE TO KNOW
9:38
James Q Quick
Рет қаралды 1,4 МЛН
Learn DOM Manipulation In 18 Minutes
18:37
Web Dev Simplified
Рет қаралды 1 МЛН
The Async Await Episode I Promised
12:04
Fireship
Рет қаралды 1,1 МЛН