Тёмный

Javascript Promises Tutorial with Examples 

Wes Doyle
Подписаться 40 тыс.
Просмотров 23 тыс.
50% 1

Опубликовано:

 

4 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 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 3 года назад
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 3 года назад
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!
@ccaspanello
@ccaspanello 3 года назад
Great tutorial! Not only did you explain how it works you go over pitfalls . . . the same pitfall I ran into. Thank you!
@WesDoyle
@WesDoyle 3 года назад
thanks Chris! glad to hear it
@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.
@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
@vin2629
@vin2629 2 года назад
I loved the way you compared a promise in real life to the promise in javascript.! :D
@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 2 года назад
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?
@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
@The825178
@The825178 2 года назад
Very nice and clean explaned!
@WesDoyle
@WesDoyle 2 года назад
thanks Maja
@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!
@danielgabay8816
@danielgabay8816 2 года назад
ty, you helped my understand better the promises
@ondrejmarek9752
@ondrejmarek9752 2 года назад
Thank you so much for this tutorial.
@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
@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
@jaffarsharieff8528
@jaffarsharieff8528 3 года назад
Really a good explanation.
@mocococo2877
@mocococo2877 Год назад
Thank you and greetings from Bulgaria. Please explain how can p3=1000 be a promise ? Thank you
@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
@sgamer1770
@sgamer1770 3 года назад
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.
@21Dimen
@21Dimen Год назад
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.
@yofi2614
@yofi2614 2 года назад
Hey, thanks for the tutorial, can you please explain what the data in the parenthesis stands for? 09:09
@Coderverse.Technology
@Coderverse.Technology Год назад
Great video
@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. 😉
@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 RU-vid 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 RU-vid video (asking for a friend)?
@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 :)
@viridianite
@viridianite Год назад
Nice video! What program are using to emulate Vim inside VS Code?
@christianmarquez6365
@christianmarquez6365 3 года назад
Awesome video!
@WesDoyle
@WesDoyle 3 года назад
Glad you enjoyed it
@arunavamukherjee7549
@arunavamukherjee7549 3 года назад
Great video. When do we use setTimeOut()? Thank you in advance : )
@kartiksaini5847
@kartiksaini5847 2 года назад
subscribed good work
@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
@vishseenarain
@vishseenarain 3 года назад
What vscode theme is that ?! 😲👌🏼
@IvanRandomDude
@IvanRandomDude 4 года назад
Looks like a Task in C#
@WesDoyle
@WesDoyle 4 года назад
They are related constructs! Check out TaskCompletionSource in C#
@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.
@vijay_pachaiyappan
@vijay_pachaiyappan 4 года назад
hai bro
@WesDoyle
@WesDoyle 4 года назад
Hello!
@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
Просмотров 6 тыс.
JavaScript Promises  -- Tutorial for Beginners
37:05
Просмотров 125 тыс.
Promises - Javascript In Depth
52:03
Просмотров 5 тыс.
Async JavaScript - Callbacks, Promises, Async/Await
25:10
Javascript Nuggets -  Promises Example
13:19
Просмотров 18 тыс.
Tips For Using Async/Await in JavaScript
16:26
Просмотров 396 тыс.
16.11: Promises Part 1 - Topics of JavaScript/ES6
24:53
What are JavaScript PROMISES? 🤞
12:37
Просмотров 66 тыс.
JavaScript Promises In 10 Minutes
11:31
Просмотров 1,7 млн