Async JS Crash Course - Callbacks, Promises, Async Await

แชร์
ฝัง

ความคิดเห็น • 1.4K

  • @sonnyps413
    @sonnyps413 5 ปีที่แล้ว +690

    Timestamps -
    --- Pre-callback ---- 2:40 - 9:00
    Pre-callback 2:40
    GetPosts( ) : finish at 7:00
    CreatPost( ) : finish at 8:00
    -----
    Actual callback 9:15 - 10:40
    -----
    Promise 11:05 - 15:00
    Promise.all 15:25 - 18:25 (If the longest promise takes 10 seconds, the Promise.all will take for 10 seconds then return all values/responses.)
    Fetch( ) 18:25 - 20:00
    -----
    Async/Await 20:30 (Function must be named async if you want to use await inside that function)
    Async with Fetch() 21:50 - 23:30 (Using async-await with fetch results in a much cleaner code than using multiple .then(s))

  • @onohsamuel6072
    @onohsamuel6072 8 หลายเดือนก่อน +8

    Today is 01/03/2024.
    you truly made this for beginners and advance.
    Thanks, Traversy Media
    You're a rare gem. ❤

  • @hannesder3te
    @hannesder3te 4 ปีที่แล้ว +53

    Struggling for years to get my head around promises. This has done it in 20 min. Thank you!

  • @kjguitarman
    @kjguitarman 5 ปีที่แล้ว +103

    You're one of the best software development teachers on TH-cam. You describe the main concepts clearly with simple and to the point examples. Too many instructors either dive too deep or shallow with their content. They do a poor job illustrating what they're coding. A handful of those top notch universities in the greater Boston area could use a teacher like you!

  • @jayc.9234
    @jayc.9234 6 ปีที่แล้ว +35

    With your setTimeout function at 10:00 it actually waits three seconds for the posts to show; it's important to note that once createPost runs, it waits two seconds, and then, once getPosts is called, it waits another second before the DOM is manipulated. Thanks for the content, it's very informative!

    • @TomasDavidcz
      @TomasDavidcz ปีที่แล้ว

      Thats exactly what i thought as well

    • @danielkndn
      @danielkndn 5 หลายเดือนก่อน

      haha I had the same thought. I was unsure so I manually stopped the time with my phone. Stopped after 3 secs ;-)

    • @CherryNerd27
      @CherryNerd27 5 หลายเดือนก่อน

      I was thinking the same thing.

  • @farhanprine
    @farhanprine 4 ปีที่แล้ว +26

    You have an innate skill of communicating problems in a clear, concise way. Thank you, you're the most effective teaching (JS) resource on TH-cam.

  • @ff-1971
    @ff-1971 2 ปีที่แล้ว +15

    I totally LOVE how this guy explains stuff!! It's like every doubt or question I have is being immediately addressed! Please don't stop teaching 🙏

  • @BrianGomesHeartsYou
    @BrianGomesHeartsYou 6 ปีที่แล้ว +83

    "Dom was painted.." Your understanding and explanation is on another level :)

  • @lardosian
    @lardosian 6 ปีที่แล้ว +2199

    Is it normal to sometimes have to watch these kind of videos a few times for it to sink in?!!

    • @trappedcat3615
      @trappedcat3615 6 ปีที่แล้ว +318

      yes -- repitition is key

    • @JBuchmann
      @JBuchmann 6 ปีที่แล้ว +453

      I like repetition from multiple instructors as they all explain it differently.

    • @JosephLuklukkyjoe
      @JosephLuklukkyjoe 6 ปีที่แล้ว +173

      very normal for me. sometimes there are concepts that don't even sink in for me after multiple watches; i need to supplement it with multiple uses/practices too.

    • @jackylt
      @jackylt 6 ปีที่แล้ว +57

      Yes. Thats how it is.

    • @GotLotsaFaith
      @GotLotsaFaith 6 ปีที่แล้ว +94

      100 percent!! Don't be bashful...
      Learning this stuff could loosely be compared to one's seeing any challenging movie or reading an intelligent book, and to that end, I would submit something along the lines of this: No human being on this earth could fully and completely grasp all the sub-plots going on in William Peter Blatty's, THE EXORCIST, after a single viewing--and this material, although logically more difficult, is right there in the OPEN; but either way, it is still not possible to take it all in at once.. (BTW, I have watched The Exorcist over 100 times and each time I do, I fine-tune my comprehension of all the layering and cross-dialog constantly going on in every direction, it seems) Same with any good book worth it's salt. For computer science stuff YES--repeat to your heart's content. It allows terminology to begin to really sink in, or the correct way of phrasing explanations, the physical set-ups and the architectural layers, etc.. "The more the merrier..." I repeated the Crash Course on NodeJS for about 6-7 hours one day and I'm sure I did not get all of it--but got a LOT more of it than I otherwise would have =)

  • @bovrar2nd861
    @bovrar2nd861 6 ปีที่แล้ว +62

    You had me explained in 30 seconds what I was floating 2 weeks to get. Well done sir! You have made my day! Thank you.

  • @andrewmukare3433
    @andrewmukare3433 5 ปีที่แล้ว +373

    I owe most of my understanding of JS to you. Thanks so much man

  • @mohamedmostafak
    @mohamedmostafak ปีที่แล้ว +2

    It has been 4 years, and still the best video regarding this topic yet.
    Your efforts are really appreciated.

  • @GooseGumlizzard
    @GooseGumlizzard 5 ปีที่แล้ว +5

    Great video. I just bought a Udemy course on async js, it was very confusing. In 20 minutes you explained it in an easy way with real life examples, a much better way for me to learn. Next udemy course I need I'll definitely look for yours.

  • @OperationsAndSmoothProductions
    @OperationsAndSmoothProductions 4 ปีที่แล้ว

    Brad Traversy is the KING of crash courses .......... He's had more crashes than evel knievel ! ! !

  • @shankerm3959
    @shankerm3959 5 ปีที่แล้ว +34

    On this topic, this is the BEST tutorial i have ever seen. I Promise. Thank You!

    • @davitchkheidze670
      @davitchkheidze670 5 ปีที่แล้ว +9

      Await a minute, I see what you did there

    • @PP-xj7vg
      @PP-xj7vg 5 ปีที่แล้ว +6

      @@davitchkheidze670 Didn't fetch the joke, mind explaining it?

    • @akshay__sood
      @akshay__sood 5 ปีที่แล้ว +1

      @@PP-xj7vg reCallBack

    • @1001-w5q
      @1001-w5q 4 ปีที่แล้ว +1

      "asynchronous programming is the best place for bad jokes" - Fireship

  • @ueye
    @ueye 6 ปีที่แล้ว +1

    Very nice, I like the fact that you never leave out the basics and you don’t wanna show off or something, you simply wanna teach the stuff. Keep it up.

    • @TraversyMedia
      @TraversyMedia  6 ปีที่แล้ว +1

      I could care less about showing off or looking smart. My goal is to teach in a practical manner so others can learn and so it sticks. Not to confuse them and have them think I am a genius. Unfortunately, many programmers are like that. They want to confuse you and then call you an idiot :)

  • @limitless9483
    @limitless9483 5 ปีที่แล้ว +18

    Man you don't even know me and you've helped me so much in life thank you!

  • @Adam-gp3ij
    @Adam-gp3ij 4 ปีที่แล้ว

    Trust me, I watched almost 10 videos on TH-cam, and they were not making sense to me about sync/async. But, I got the entire idea, after I watched this video. You are amazing. God bless you

  • @lilyshih7614
    @lilyshih7614 5 ปีที่แล้ว +10

    How did you manage to explain these concepts so clearly and make it so easy to be understood?! I couldn't stop myself from watching more tutorials of yours! I wish I knew them earlier, haha. These videos are really awesome and engaging! Thanks, man. ^^

  • @michaelwalsh6802
    @michaelwalsh6802 2 ปีที่แล้ว

    The ability to describe complex things so clearly, succinctly and simply is truly it's own kind of genius.
    Cheers.

  • @tarandeepmatharu3488
    @tarandeepmatharu3488 5 ปีที่แล้ว +3

    thanks man ,
    i was very frustrated reading alot of content online and didn't learned async await love your channel

  • @rushabhpatel4291
    @rushabhpatel4291 6 ปีที่แล้ว

    This is so so good. People don't explain this stuff. We learn old JS version and suddenly we are thrown in react or node.js world wondering where does this stuff come from. So thank you very much for this.

  • @Guitarpersonthing22
    @Guitarpersonthing22 2 ปีที่แล้ว +3

    Very simple, clear, and concise. Excellent tutorial and refresher. Thank you so much for the awesome video!

  • @themenon
    @themenon 4 ปีที่แล้ว

    The third video I am watching to understand callbacks , promises and async, and finally, I understood the concepts, thanks to your clear, 'non-jargony', explanation.

  • @erichepperle7085
    @erichepperle7085 6 ปีที่แล้ว +8

    Can't wait to watch this brother! You make some of the best and most easy to understand programming tutorials out that. Thank you for your efforts to help the rest of us.

  • @BobbyBundlez
    @BobbyBundlez 4 ปีที่แล้ว +1

    holy crap only 10 minutes in and already finally understand more about callbacks than i EVER HAVE from ANY other tutorial. you are definitely right about the fact that there is simply not enough video formatted lessons. all i have found is complex articles trying to explain this stuff. thanks man! i may have to sign up and pay for your udemy course. get at me on here if you are cool with answering some questiojns about it

  • @tony-k
    @tony-k 5 ปีที่แล้ว +4

    Thanks a lot! Funny thing - I think in this video Brad explained async / await logic way more better than in his mentioned Udemy JS course :)

  • @zahraf3256
    @zahraf3256 ปีที่แล้ว

    I learned php from you many years ago when you had a crash course with stuff like chat, blog,... Now I'm still learning from you after so many years!
    Thank you Brad Traversy!

  • @umvlogdiferente
    @umvlogdiferente 5 ปีที่แล้ว +4

    Hey Brad I love your tutorials, every time I get stuck doing js I go to youtube and search it up and you're always one of the top results and 9/10 times you have the exact solution for my problem. The other 1/10 times is cause I gotta watch another video you made, so basically you always help. Keep up the amazing work!

  • @marthineangelfabico8646
    @marthineangelfabico8646 2 ปีที่แล้ว

    This video is saving me rn. My lecturer simply was writing code in his lecture and didn't elaborate when he used async / await / fetch for the first time

  • @kps2642
    @kps2642 6 ปีที่แล้ว +115

    this is pretty awesome, thanks man.

    • @TraversyMedia
      @TraversyMedia  6 ปีที่แล้ว +8

      You're very welcome

    • @Bhagavanbhakt
      @Bhagavanbhakt 6 ปีที่แล้ว

      th-cam.com/video/WDvJ94H-Ppc/w-d-xo.html

    • @Bhagavanbhakt
      @Bhagavanbhakt 6 ปีที่แล้ว

      Yes good

    • @gavinjboyd1
      @gavinjboyd1 5 ปีที่แล้ว

      Agree, thanks for all the simple examples and good explanation

    • @ScottL888
      @ScottL888 5 ปีที่แล้ว

      @@TraversyMedia Do you have an updated fiddle/jsbin for the course? Looks like the linked one expired. As always thanks for the great tutorials!!!!!!!

  • @jaroslavhuss7813
    @jaroslavhuss7813 4 ปีที่แล้ว

    Meh, I just finished a TH-cam tutorial from unnamed TH-cam Javascript author from Germany and... Brad, thank god we have you! You are so much better at explaining things! I believe I bought all of your Udemy courses and regret nothing! It was worth it absolutely!

  • @jamesprivett1257
    @jamesprivett1257 6 ปีที่แล้ว +5

    Hey Brad, this is excellent thank you. I have been meaning to learn more modern js concepts without using jQuery and so have signed up for your Udemy course. Looking forward to it, you do a very good job of explaining all this stuff so thanks again and keep up the hard work. :)

  • @filipequincas1485
    @filipequincas1485 ปีที่แล้ว +1

    Beautiful. Your example in 8:30 was just what I needed to understand this concept of Async/callbacks. I have been watching many classes on youtube about this stuff and yours was the only one I could understand seamlessly, thanks!

  • @chablay1
    @chablay1 5 ปีที่แล้ว +10

    Thanks for teaching us with this valuable suff, you are true A teacher, god bless u always, love from INDIA.

    • @code_siksha
      @code_siksha 5 ปีที่แล้ว

      To understand es6 basics in hindi watch
      th-cam.com/play/PLZjjdd9-SJS2NwSWDZhueyoGzCJkeg6RV.html

  • @wryguy
    @wryguy 3 ปีที่แล้ว

    I've spent hours reading docs and tutorials. Your video finally made it click. Thank you.

  • @dariussturge7479
    @dariussturge7479 5 ปีที่แล้ว +49

    6:22 has me laughing out loud ...Boston accent and all you keep it real!!! Live for your content broski keep it coming.

    • @dolanbright3733
      @dolanbright3733 4 ปีที่แล้ว

      this reminds me of star wars card trader guy

    • @moderncloth
      @moderncloth 3 ปีที่แล้ว +1

      baw-dy pah-suh wicked hahhd.

    • @tmattoneill
      @tmattoneill 3 ปีที่แล้ว +4

      It's like having Bill Burr teach you JS

  • @joel-rg8xm
    @joel-rg8xm 3 ปีที่แล้ว

    So, I was watching many confusing videos about Async Javascript stuff, just to find this tutorial from over three years ago to finally get the whole point of it.
    No doubt that simple minimalist examples get always the job done when teaching-learning :) THX

  • @abrahamemmanuel4906
    @abrahamemmanuel4906 6 ปีที่แล้ว +38

    Love from Lagos NG...
    Congrats on 400k subs

    • @sodiqoyedotun3185
      @sodiqoyedotun3185 6 ปีที่แล้ว +2

      Abraham, howdy? So I have a broda that likes Brad Traversy Tutorials from Lagos.

    • @osasiria2728
      @osasiria2728 6 ปีที่แล้ว +1

      yeah even me too

    • @nnaemekaish007
      @nnaemekaish007 6 ปีที่แล้ว +1

      Me three :)

    • @IsaacAsante17
      @IsaacAsante17 6 ปีที่แล้ว +1

      Me four :)... Oops, I'm not from Lagos. Oh well, cheers brothers.

    • @angelrocky5852
      @angelrocky5852 6 ปีที่แล้ว

      We plenty 🙆

  • @mohsenmaghrebi6935
    @mohsenmaghrebi6935 3 ปีที่แล้ว

    thank you very useful, every time i am assigned a front end web project i revise and recap my knowledge. Specially because i switch around many programming languages, i can easily remind myself the basic concepts by watching videos like this. Kudos and great video.

  • @robinl6137
    @robinl6137 5 ปีที่แล้ว +43

    I think it's 3 seconds? cause the callback will wait for 1 second.

    • @thinkingaloud7925
      @thinkingaloud7925 5 ปีที่แล้ว +17

      So satisfying that i found someone who found this out. I almost thought i was wrong...

    • @luisfvperes
      @luisfvperes 4 ปีที่แล้ว

      I have the same doubt

    • @maspoetry1
      @maspoetry1 4 ปีที่แล้ว +1

      yes, because time out is really saying 'time to start executing' not the execution time.

    • @samanthatricia318
      @samanthatricia318 4 ปีที่แล้ว +3

      This thing should have been explained in more detail. I am also confused, and disappointed cos its should have been explained

    • @javierzapien314
      @javierzapien314 4 ปีที่แล้ว +1

      Samantha Tricia it’s a crash course

  • @sukanyachakraborty3359
    @sukanyachakraborty3359 5 ปีที่แล้ว +2

    I am new to JS and I never understood these terms clearly. Thank you so much Brad for making it so crystal clear.

  • @carrillocarlosce
    @carrillocarlosce 6 ปีที่แล้ว +40

    Nice I love your javascript tutorials

  • @Peywan
    @Peywan 5 หลายเดือนก่อน

    Without you, my life is incomplete in programming bro thank you so much for your advice and way of explaining. Appreciated

  • @sagarghare9829
    @sagarghare9829 5 ปีที่แล้ว +3

    Thanks brad for this tutorial. you are good teacher . love from india

  • @jasonclydechua994
    @jasonclydechua994 2 ปีที่แล้ว

    Before watching this video, I had so much trouble trying to understand these three topics: callbacks, promises, and async/await.
    Thank you so much! Your video helped a lot!

  • @davidredmond5094
    @davidredmond5094 6 ปีที่แล้ว +12

    "Ah Shitttttt...." Brad, you are amazing :) Thanks for the content!

  • @Melvin420x12
    @Melvin420x12 6 ปีที่แล้ว

    Sometimes, when you expect it the least. Things start to click. And this video made all the video's I watched about es6 really click. From old functions to the arrow functions. Instead of for loops using forEach. So weird but now, now it really clicks. Out of nowhere. Thanks Traversy Media.

  • @siyedyoussef3202
    @siyedyoussef3202 6 ปีที่แล้ว +4

    Congratulation Brad for 400K subscribres ..... And we are weating for you're amazing video about Docker Crash Course

  • @roxis8488
    @roxis8488 4 ปีที่แล้ว

    two udemy course, a lot of example, but nothing, 25 minutes of brad opened my mind, you are hero man

  • @muhammadhamzaasif2128
    @muhammadhamzaasif2128 6 ปีที่แล้ว +19

    Hey Brad
    Plaese make a crash course or TH-cam series for MEAN stack beginner developer

  • @yatin1370
    @yatin1370 11 หลายเดือนก่อน

    This has definitely increased my comfort level with these topics by a good magnitude, thanks for that.. 👍

  • @masquereseau5635
    @masquereseau5635 5 ปีที่แล้ว +8

    Promises, and they still feel oh so wasted on myself

  • @microman99
    @microman99 2 ปีที่แล้ว +1

    I was super confused with this stuff. I watched few of your tutorials, and found you a great teacher in making things clear in an easy way. Thank you so much !!

  • @aaronestes3282
    @aaronestes3282 5 ปีที่แล้ว +42

    "I can't spell that's what went wrong." lmao

  • @Wangaruro
    @Wangaruro 3 ปีที่แล้ว

    There is a way that Brad Explains things that makes it easy to grasp! God Bless man!

    • @tocu9808
      @tocu9808 3 ปีที่แล้ว +1

      His narrative is clear, concise, to the point + pleasant voice to listen to.

  • @rominagomez789
    @rominagomez789 5 ปีที่แล้ว +11

    "Yeah, I can't spell, that's what went wrong" lol

  • @abdurrahmanrobin4915
    @abdurrahmanrobin4915 5 ปีที่แล้ว +1

    I was struggling solve an issue last couple of hours, and after watching this - problem is solved. Thanks, Now things are clear :)

  • @chiboreache
    @chiboreache 5 ปีที่แล้ว +13

    _const fetch = require("node-fetch")_
    js... js nevah change....
    btw, thanks for the tut! I *catch* it, finally ~_~

  • @ChillAutos
    @ChillAutos 2 ปีที่แล้ว

    This is the best video I've seen on the topic. It's also the first that explains callbacks first. I think that's where I was going wrong, it's very hard to understand exactly what is happening with promises without understand callbacks first.

  • @jamalabdullahi8155
    @jamalabdullahi8155 6 ปีที่แล้ว +9

    Thanks traversy media

  • @ChiNguyen-br1wy
    @ChiNguyen-br1wy 4 ปีที่แล้ว

    This makes so much sense. I like how you can simplify the problem and create an example that's so easy to comprehend

  • @MrMarkgyuro
    @MrMarkgyuro 5 ปีที่แล้ว +4

    this was great, really clear, yet interesting : )

  • @darkhorsemusicco.5156
    @darkhorsemusicco.5156 4 ปีที่แล้ว

    async await is so much cleaner but it melts my brain seeing it at first when I'm used to .then() with fetch. Great video!

  • @braker37
    @braker37 4 ปีที่แล้ว +8

    Is it necessary to use await in this code:
    const data = await res.json();
    As far as I understand, await is used when fetching data, while in this case, you are just parsing it, which happens synchronously (supposedly). Please tell me if I'm wrong and where :)

    • @tonygriffin944
      @tonygriffin944 4 ปีที่แล้ว +6

      Great question. I recently watched a tutorial where the teacher had done as you described, omitted the second await on parsing the data. When inspecting the data in the console it was not in json format. The teacher immediately knew it was because he forgot to await the response from parsing the data. He said it does actually take some time (milliseconds), especially when dealing with larger data sets. So best to put an await in-front of the json parse method if you want to ensure you get the data in the json format. Hope that's helpful.

    • @sayedpritom
      @sayedpritom 4 ปีที่แล้ว

      @@tonygriffin944 Thanks for sharing the lesson. It was helpful 👍

    • @nukeware9444
      @nukeware9444 3 ปีที่แล้ว

      it actually takes some time (milliseconds) to parse JSON.

    • @tenpointcorner
      @tenpointcorner 2 ปีที่แล้ว

      After the initial fetch() call, only the headers have been read. So, to parse the body as JSON, first the body data has to be read from the incoming stream. And, since reading from the TCP stream is asynchronous, the .json() operation ends up asynchronous.
      Note: the actual parsing of the JSON itself is not asynchronous. It's just the retrieving of the data from the incoming stream that is asynchronous.

  • @aacismaharjan
    @aacismaharjan 4 ปีที่แล้ว

    I have been stuck in API async await... it took me 1 days and this video to figure it out... Thank you Brad Sir!

  • @pinch-of-salt
    @pinch-of-salt 6 ปีที่แล้ว +3

    I love your videos! I am new to JavaScript and this helped me a lot. What do you think is the best language as an all-rounder? Python,JS,Java,C,etc.? I am really good in Java but I do realize that Java is old in it's approach, development is time consuming and at times non-productive. I loved groovy too but not a lot of jobs available for pure groovy development.

    • @rohanshenoy8353
      @rohanshenoy8353 6 ปีที่แล้ว +1

      Hi bro, well i don't think there is any one best language. If you are comfortable in Java then don't worry, I don't think java is going anywhere soon. If you want to learn a new language I suggest JavaScript. Many may suggest otherwise, my main reason is you can do a lot using JavaScript may that be web, android, IOS, desktop and even machine learning. So that's just my suggestion.
      Cheers.

    • @CyberTronXXX
      @CyberTronXXX 5 ปีที่แล้ว

      @@rohanshenoy8353 Seriously? You can code machine learning with JS? IM SO GLAD I'M BECOMING A FRONT-END DEVELOPER! To what degree would you say you are using machine learning?

    • @rohanshenoy8353
      @rohanshenoy8353 5 ปีที่แล้ว

      The Panda King Python definitely has more libraries to offer than JavaScript (as of now). Still it's quite developed and growing. Many developers are showing interest in machine learning so I'm sure ML in js will catch up pretty quick too. U can check some course on udemy too. I think there are few in js.

    • @F4ILCON
      @F4ILCON 5 ปีที่แล้ว +1

      @@CyberTronXXX Just quick add to knowledge, not sure its clear, but JS is front-end and back-end, there are some big difference between them, so ML would be back-end development for JS, there specifics back-end JS library for ML, just like you have for front-end like React and Vue for example.

    • @CyberTronXXX
      @CyberTronXXX 5 ปีที่แล้ว

      @@F4ILCON Ah cool, I didn't know that...

  • @pawanmishra9342
    @pawanmishra9342 3 ปีที่แล้ว

    The best thing about this channel is you get EXACLTY what you want, no bullshit.

  • @raymondmichael4987
    @raymondmichael4987 6 ปีที่แล้ว +9

    Walaah, first to comment.
    From Tanzania

    • @MrGlujaN
      @MrGlujaN 6 ปีที่แล้ว

      wow!

  • @abenjamin13
    @abenjamin13 4 ปีที่แล้ว +1

    I greatly appreciate these refresher course you provide Brad. I"m gearing up for new job and needed a refresher on callbacks, promises, and async operations. Thank you

  • @bhaaratsharma6023
    @bhaaratsharma6023 5 ปีที่แล้ว +3

    at 23:48 isn't the 'await' before res.json() redundant since await fetch is already there ?

    • @saisagarsharma
      @saisagarsharma 4 ปีที่แล้ว

      Did u test it. Fetch returns a promise. Might need await

    • @tenpointcorner
      @tenpointcorner 2 ปีที่แล้ว

      After the initial fetch() call, only the headers have been read. So, to parse the body as JSON, first the body data has to be read from the incoming stream. And, since reading from the TCP stream is asynchronous, the .json() operation ends up asynchronous.
      Note: the actual parsing of the JSON itself is not asynchronous. It's just the retrieving of the data from the incoming stream that is asynchronous.

  • @clunkeys
    @clunkeys ปีที่แล้ว

    Loved it. I'm glad you went from ground up because this has been an issue living inside my head rent free.

  • @elevatedtech
    @elevatedtech 4 ปีที่แล้ว +6

    are you going to CALLBACK the person that called you? Sorry lol

  • @VickTechPro
    @VickTechPro 8 หลายเดือนก่อน

    TraversyMedia, your Async JS tutorial was a game-changer for understanding Promises, thank you for making complex concepts accessible! You are the best.

  • @mmbower1
    @mmbower1 5 ปีที่แล้ว

    Traversy is my favorite code instructor hands down. There are some others who are close but this guy takes the cake for sure.

  • @ensardogan4266
    @ensardogan4266 2 ปีที่แล้ว +1

    definitely more illustrative to choose functions that serve a specific goal instead of just logging into the console while explaining callbacks. Otherwise, it is not clear why we should use callbacks, promises. Thanks a lot :

  • @heidik1757
    @heidik1757 3 ปีที่แล้ว

    i LOVE how you start with the original method (callbacks) and work your way up to ES7. Excellent video. Cheers

  • @yettodecideahandle
    @yettodecideahandle 4 ปีที่แล้ว

    The best resource yet on the internet for Callbacks, Promises, Async Await.

  • @Ipadstands
    @Ipadstands 6 หลายเดือนก่อน +1

    I don't think you describe using async/await when the promise does not resolve. But overall the first video I have watched that has made things clearer for me. Thanks !!

  • @jimkueneman5489
    @jimkueneman5489 ปีที่แล้ว

    This is the best explanation of this concept on the web.... this along with the 5 part under the hood series has FINALLY put the pieces together on how to finally DESIGN a structure of my app (coming from C/Delphi this is a wild new world)

  • @plutonihoof1412
    @plutonihoof1412 3 ปีที่แล้ว

    I've watched > 10 videos so far and this Crash Course is the only one I'm able to comprehend Async JS. Big like (y)

  • @chun-lunlin7397
    @chun-lunlin7397 3 ปีที่แล้ว

    Oh man, thanks a lot, I've read and watch so many materials and don't understand until I met this one.

  • @JollyAZ
    @JollyAZ 2 ปีที่แล้ว

    Someone are just natural teachers, thank you

  • @daviskatana8723
    @daviskatana8723 2 ปีที่แล้ว

    Amazing teacher, without you I don't see myself understanding most coding concepts, keep on the great work

  • @sanghvian
    @sanghvian 4 ปีที่แล้ว

    Lotta videos watched on this but like everything in programming, it's never fully clear till Brad teaches it. Thanks a lot man !

  • @kalpeshispatil
    @kalpeshispatil 3 ปีที่แล้ว

    This guy has impressive voice plus impressive teacher inside.. shared video with my frenz to clear confusion on above topics

  • @MrSidMan
    @MrSidMan 6 ปีที่แล้ว +2

    I am a definite subscriber to Brads excellent tutorials. He's an excellent teacher, well explained, and well paced. I highly recommend further studies via the channels he mentions. I save time and money going with his suggestions of various online services he mentions on some of his lessons, and I just have to give a big thanks to Brad for his dedication to what this channel is all about. Thanks man!

  • @techgix
    @techgix 2 ปีที่แล้ว

    i love the way you go from beginner to intermediate in your videos

  • @ryanmoralesaz
    @ryanmoralesaz 2 ปีที่แล้ว

    Had to watch 3 times while coding with you. But you explained something that I couldn't understand after 6 weeks in a code bootcamp. Thank you]

  • @BernardoGuerreiro-d8m
    @BernardoGuerreiro-d8m ปีที่แล้ว

    Hands down the best video on async.
    Simple and effective.

  • @alseynidiop8650
    @alseynidiop8650 3 ปีที่แล้ว

    Thank you. It’s been 4 days trying to solve this problem on my website.
    You help me figure out the issue.

  • @Karinnederland
    @Karinnederland 3 ปีที่แล้ว +2

    Thankfully React does all this for us under the hook! But it is very useful to refresh concepts, great work Brad!

  • @aaronalmeida426
    @aaronalmeida426 3 ปีที่แล้ว +2

    14:30 'Yea I can't spell that's what went wrong' gave me a good chuckle

  • @gimpnerd8920
    @gimpnerd8920 5 ปีที่แล้ว

    "Something went wrong? Yeah I can't spell, that's what went wrong..." That made me chuckle.
    Awesome video and explanation. Thank you.

  • @drainbamage2542
    @drainbamage2542 3 ปีที่แล้ว

    when I will be able to do this, you will be one of the first people that I would love supporting, just because of your dedication and quality

  • @ianhutchinson1436
    @ianhutchinson1436 3 ปีที่แล้ว

    The best video tutorial on async JS I have come across. Thank you for putting it out.

  • @williambrune1452
    @williambrune1452 6 ปีที่แล้ว

    One of the clearest explanations on callbacks and promises I have seen. Thank you.

  • @chriswright1001
    @chriswright1001 4 ปีที่แล้ว

    this is the best explination of this prinicipals - it has FINALLY sunk in - thank you so much!

  • @stratr4694
    @stratr4694 5 ปีที่แล้ว +2

    I've been struggling a bit understanding these async functions. This was was a great way to explain them. Thanks!

  • @avichalchadha8747
    @avichalchadha8747 6 ปีที่แล้ว

    I had a bit of issues while understanding promises. I saw some of the videos and understood them but they were still not clear. Then I saw my your video, and here I am commenting under this video feeling happy as my issue is solved.