Async JS Crash Course - Callbacks, Promises, Async Await

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 มิ.ย. 2018
  • In this crash course we will look at asynchronous JavaScript and cover callbacks, promises including promise.all as well as the async / await syntax.
    FULL JS COURSE (Just 10 Bucks!!!!):
    www.udemy.com/modern-javascri...
    CODE:
    plnkr.co/4Pv2HhiWV4kiPHY9VrUw
    💖 Become a Patron: Show support & get perks!
    / traversymedia
    Follow Traversy Media:
    / traversymedia
    / traversymedia
    / traversymedia
  • วิทยาศาสตร์และเทคโนโลยี

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

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

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

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

      yes -- repitition is key

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

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

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

      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 5 ปีที่แล้ว +56

      Yes. Thats how it is.

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

      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 =)

  • @sonnyps413
    @sonnyps413 4 ปีที่แล้ว +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))

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

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

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

    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!

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

    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 ปีที่แล้ว +14

    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 5 ปีที่แล้ว +81

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

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

    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.

  • @jayc.9234
    @jayc.9234 5 ปีที่แล้ว +33

    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 6 หลายเดือนก่อน

      Thats exactly what i thought as well

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

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

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

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

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

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

  • @erichepperle7085
    @erichepperle7085 5 ปีที่แล้ว +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.

  • @lilyshih7614
    @lilyshih7614 4 ปีที่แล้ว +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. ^^

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

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

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

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

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

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

  • @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.

  • @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

  • @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 !!

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

    Nice I love your javascript tutorials

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

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

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

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

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

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

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

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

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

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

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

      Await a minute, I see what you did there

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

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

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

      @@PP-xj7vg reCallBack

    • @user-yd7db3wd7w
      @user-yd7db3wd7w 4 ปีที่แล้ว +1

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

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

    Absolutely love your content. If I need to learn something I always come to this channel first cuz the descriptions and examples are always so good and complete.

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

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

  • @umvlogdiferente
    @umvlogdiferente 4 ปีที่แล้ว +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!

  • @jamesprivett1257
    @jamesprivett1257 5 ปีที่แล้ว +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!

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

    Man I'm a huge fan. I discovered you on udemy and after taking your React, NodeJS and MERN Stack courses I found this channel and it's nothing but pure gold.

  • @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 :)

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

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

  • @cybersyn-nh8du
    @cybersyn-nh8du 4 ปีที่แล้ว

    This video actually makes a lot more sense than the majority of the other videos I've watched about the topic. Great course :)

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

    One of the best learning video I have watched, compare all of them together and explained very clearly. Nice work

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

    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

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

      baw-dy pah-suh wicked hahhd.

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

      It's like having Bill Burr teach you JS

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

    this is pretty awesome, thanks man.

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

      You're very welcome

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

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

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

      Yes good

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

      Agree, thanks for all the simple examples and good explanation

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

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

  • @MrSidMan
    @MrSidMan 5 ปีที่แล้ว +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!

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

    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.

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

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

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

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

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

    Brilliant tutorial: to the point, short and concise but containing everything. Also I like the slow pace of your class and it is easy for me to follow. Thanks a million 😄

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

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

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

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

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

      yeah even me too

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

      Me three :)

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

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

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

      We plenty 🙆

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

    Thanks traversy media

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

    The best explanation and compilation that I've seen. First time that I can wrap my head around those things. Is true: there's few material that actually explains it thoroughly. Cheers. 🙂

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

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

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

    this was great, really clear, yet interesting : )

  • @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

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

    By far the best available tutorial on Callbacks, Promises and Async Await. Thanks Brad :)

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

    This was so helpful. The best explanation on the internet on promises, and await on the internet period. Thank you so much.

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

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

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

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

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

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

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

    Been struggling with async js, this video was exactly what I needed! Appreciate your content so much!!!!

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

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

  • @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 3 ปีที่แล้ว +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 3 ปีที่แล้ว

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

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

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

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

      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.

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

    As always, your examples/explanations are the best to address these concepts/terms.
    Thanks for doing this!

  • @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!

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

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

  • @pinch-of-salt
    @pinch-of-salt 5 ปีที่แล้ว +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 5 ปีที่แล้ว +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.

    • @Theelderscrollsftw94
      @Theelderscrollsftw94 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

      @@Theelderscrollsftw94 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.

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

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

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

    Thank you for the video. Finally I've wrapped my head around async/await.
    Keep up the good work!

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

    This is one of the most useful videos, I've watched on this topic. Thank you for making this

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

    Promises, and they still feel oh so wasted on myself

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

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

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

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

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

      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.

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

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

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

    Than you yet again brother! The basics are so crucial, and this basic crash course finally helped me to puzzle together the logic of how async/await and promises work. I cannot express enough how much I enjoy your content, keep it up! I believe I speak for the collective when I say, we need it! :)

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

    "So how do I do the .catch in the async await stuff?" I could see someone asking. try{ all your stuff that awaits } catch{ } ! Just like how you'd do it elsewhere =)

  • @chickenballs-balls
    @chickenballs-balls 5 ปีที่แล้ว +13

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

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

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

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

    after so long fiddling with the concept finally learned it thank u so much

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

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

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

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

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

      I have the same doubt

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

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

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

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

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

      Samantha Tricia it’s a crash course

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

    Walaah, first to comment.
    From Tanzania

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

      wow!

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

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

  • @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

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

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

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

    I have been struggling with understanding and differentiating all of these. Thanks for this video. It clears things up so much!

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

    Such a clear video. Finally an explanation I can wrap my head around. Thank you so much!

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

    Thanks for this Brad, this is the second time I have been through this video. It has finally clicked :)! Thanks for all the hard work.

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

    Great content Brad. I always come to your videos first when I need to learn something new. Cheers from Argentina :D

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

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

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

    Calm, no bs, and easy to follow.
    A+

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

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

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

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

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

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

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

    you don't understand how much of help you do with this videos your amazing !

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

    I can't stop watching your videos... keep up with the good work!

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

    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

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

    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  5 ปีที่แล้ว +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 :)

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

    Thank you so much, you have made clear in 24 minutes, what would have taken me days to understand and wrap my head around.

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

    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

  • @RichardLopez-lr4el
    @RichardLopez-lr4el 2 ปีที่แล้ว

    Incredible tutorial! This helps so much! I was confused by the chrome API and this clarified everything!

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

    I watching your videos not only for gaining insight into the subjects but also to get inspired, keep up the great work

  • @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!

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

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

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

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

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

    Great video. Thanks. You simplified some of the complex looking stuffs in JS.

  • @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.

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

    Traversy Media always explains things and concepts so clearly. I am your die-hard fan.

  • @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.