Asynchronous JavaScript Crash Course

Поделиться
HTML-код
  • Опубликовано: 6 сен 2024

Комментарии • 206

  • @Codevolution
    @Codevolution  2 года назад +30

    Checkout my other crash courses!
    HTML Crash Course - ruclips.net/video/N8YMl4Ezp4g/видео.html
    CSS Crash Course - ruclips.net/video/Icf5D3fEKbM/видео.html
    CSS Flexbox Crash Course- ruclips.net/video/z62f2k38s64/видео.html
    CSS Grid Crash Course - ruclips.net/video/p4Ith5qRM1g/видео.html
    JavaScript Fundamentals Crash Course - ruclips.net/video/XIOLqoPHCJ4/видео.html
    Advanced JavaScript Crash Course - ruclips.net/video/R9I85RhI7Cg/видео.html

  • @samartajshaikh2601
    @samartajshaikh2601 2 года назад +53

    This is a must watch video for everyone who are thinking of brushing up their JS knowledge for interviews.

  • @kandukurisandesh6948
    @kandukurisandesh6948 2 года назад +10

    Man you are crazy, I almost search every topic first in your time line, your explaination kicks all my doubts out of the universe...

  • @qR7pK9sJ2t
    @qR7pK9sJ2t 8 месяцев назад +3

    This is the best lecture on this topic..
    Tutor is clearly giving MyCodeSchool teacher's vibe..
    And I think this is the biggest compliment !!

  • @mrentertainment8791
    @mrentertainment8791 Год назад +10

    This is the best explanation ever! You make these concepts look so simple

  • @derickasane8499
    @derickasane8499 3 месяца назад +1

    I don't even know what to say,very intuitive and clear. Thanks sir

  • @touseefghazanfar8487
    @touseefghazanfar8487 2 года назад +6

    I cannot thank you enough that how perfectly you explain such a complex concepts. 👍

  • @dotnetfullstack3217
    @dotnetfullstack3217 Год назад +3

    Dinner scenario example for promises 22:40 is lit💥💥💥💥💥💥💥💥💥

  • @iwswordpress
    @iwswordpress 2 года назад +17

    A great tutor. He really understands AsyncHRonous and explains it so well. Thanks!

  • @amarg26
    @amarg26 2 года назад +31

    Would love to see Map-WeekMap, a Generator function, proxy, etc. in future videos.

    • @codeaperture
      @codeaperture 2 года назад

      Sure!

    • @siyaram2855
      @siyaram2855 2 года назад

      Generator is no longer relevant after async await

    • @amarg26
      @amarg26 2 года назад +2

      @@siyaram2855 generators used in Redux saga

    • @siyaram2855
      @siyaram2855 2 года назад +1

      @@amarg26 who uses it?

  • @nullzero9224
    @nullzero9224 11 месяцев назад +2

    Thank you so much for this [very well structured] explanation for Promise and Async operations. This is a video where I found myself pushed to pause the video and hit like button in the middle of the lecture. Appreciate your work. 👍

  • @user-zp9iq1po5o
    @user-zp9iq1po5o Год назад +1

    Promises are a part of JS language, this is written at ECMAScript...

  • @alexfox2038
    @alexfox2038 2 года назад +9

    I have never written JavaScipt but still understand the concepts you are explaining. This just shows how nicely things are explained. Good Job!

    • @Adam-nw1vy
      @Adam-nw1vy Год назад

      But you must be a programmer though

  • @gsriram1830
    @gsriram1830 2 года назад +6

    Brilliant video! All these concepts are so well explained and are so easy to understand with these presentations.

  • @nabing07
    @nabing07 2 месяца назад

    I was struggling to grasp the concepts on this topic of Asynchronous javascript, after going thru multiple tutorials finally this video explained it all. The examples, scenarios helped visualize the concept and relate to the javascript quivalent. Most importantly the pacing of the narration is perfect so the learners can take time to absorb and grasp the concept.

  • @AnkitSharma-oq4wi
    @AnkitSharma-oq4wi Год назад +3

    before coming to this awesme content i'd read more than articles for event loop but couldn't understand them completely but after watching this now i am very confident in the event loop concept & can further proceed for more to the doc. Thank you sir, will recommend this to all my friends :)

  • @poojakamble3643
    @poojakamble3643 2 года назад +5

    so much clear explanation on event loop with great visualization, awesome content

  • @ishitafantasyworld3452
    @ishitafantasyworld3452 10 месяцев назад

    I can't believe this Viswas, The way you transition from one topic to another is like watching a TV Series for me. Love you brother...

  • @navinvijaykumar
    @navinvijaykumar 2 года назад +8

    Great video.. learnt a lot and you clearly explained a lot of topics in an easy to understand way. Keep going!

  • @bmiguelmf
    @bmiguelmf 6 месяцев назад

    Amazing video as usual, mate! I'd just like to point out a potentially misleading piece of information regarding promises. When we use the 'await' keyword, the execution doesn't actually stop; rather, 'await' is just syntactical sugar. What it does is wrap the following code in a nested promise, which will be called once the async function being 'awaited' completes. That's why the main thread keeps doing its thing. Cheers

  • @chandanindalkar
    @chandanindalkar 8 месяцев назад +1

    Amazing video, the method and examples of how you've covered asynchronous topics is excellent. Impressive how you explained recursive intervals.

  • @aysebasar8746
    @aysebasar8746 Год назад +1

    This is the best explanation I have ever seen. It has made such a complicated subject so much understandable for me in every detail.

  • @fernandosalas4885
    @fernandosalas4885 2 года назад +2

    The best Async JS course ever!!!

  • @sutuzion
    @sutuzion 2 года назад

    Wow. Now he chose dark background color for his presentation. He really listen to audience. Many thanks Vishwas

  • @Akronsus
    @Akronsus 2 года назад

    28:47 misspelling of the word "compared": on the slide it is written as "[...] comapred to callbacks"

  • @Shuyinz
    @Shuyinz 2 года назад +3

    Thank you for sharing! It has helped me to understand the async javascript much better behind the scene!

  • @GurovDmitriy
    @GurovDmitriy 5 месяцев назад

    It’s also better to say that first everything in the microTask queue will be executed, then 1 task from the MacroTask, so you can spawn microtasks and block the eventLoop...

  • @luyandamadonsela3951
    @luyandamadonsela3951 Год назад +1

    Great work on your explanations. It always seemed so complicated before. Bless you Sir!

  • @rajchauhan3311
    @rajchauhan3311 Год назад +2

    What an amazing explanation about Event loop!!

  • @kingsleysolomon2725
    @kingsleysolomon2725 2 года назад

    Confusing concepts explained very easily... I can't believe I would ever understand event loop... Thank you @Codevolution.

  • @manojes3210
    @manojes3210 18 часов назад

    Best lecture on Async JS

  • @wajudkareem7565
    @wajudkareem7565 2 года назад +2

    This is a great course with clear explanation.
    Thank you for sharing!

  • @user-fb3so7bo6h
    @user-fb3so7bo6h Год назад +1

    At 1:25:22, the console.log('second') is not already in the call stack, still callback functions are not executed. First the log statement got added to call stack, executed, popped then callback functions were executed.
    So, does the event loop wait until all statements in the program have executed?🤔 Please help here!

  • @amirirfan6613
    @amirirfan6613 Месяц назад

    Bro your knowledge is awesome..thanks for tutorial congrats to all those who found this channel............

  • @ApexModi6000
    @ApexModi6000 9 месяцев назад

    All your videos should go viral

  • @purvilnakrani9513
    @purvilnakrani9513 Год назад

    Greatest video i have watched on asynchronous JS so far, it just cleared all my doubts

  • @hwapyongedouard
    @hwapyongedouard 9 месяцев назад

    bro this video , must be watched i was lazy to study async but due to his well organised and clear explanation , am now into async

  • @hhw179
    @hhw179 Год назад

    The best ever event loop explaination, so simle but so important

  • @radu9150
    @radu9150 Год назад

    a very, very in-depth explenation of Async JS. It's a must see for every serious developer!

  • @satyam1543
    @satyam1543 6 месяцев назад

    i really liked the explanation of event loop

  • @Amcynthia
    @Amcynthia Год назад

    Best video ever on asynchronous. Thanks 4 meticulously explaining at every point. 👌👌👍👍💯

  • @ankit.mohapatra
    @ankit.mohapatra Год назад

    If you are or want to be a js developer and you work with a lot of restful apis and specifically on mern stack then this course is for you.

  • @pugalendi100
    @pugalendi100 10 месяцев назад

    This is one of the best video, complete understanding of JS and Async. 🥰

  • @saranguru6100
    @saranguru6100 2 года назад +12

    We need a crash course on React interview question Vishwa, Please do consider this as a request.

  • @harshsahay2709
    @harshsahay2709 2 года назад +3

    We need crash course on react (with hooks) and on node.js as well

  • @ApexModi6000
    @ApexModi6000 9 месяцев назад

    Please RUclips make this channel super viral

  • @szymondabrowa7943
    @szymondabrowa7943 Год назад

    THANK YOU! Finally someone well explained event loop and I got it

  • @eduardabramovich1216
    @eduardabramovich1216 Год назад

    I wish you had a crash course on NodeJS or Fastify. Also some full-stack projects with node from scratch

  • @mbmanagementagency3676
    @mbmanagementagency3676 Год назад +2

    perfect explanation

  • @GurovDmitriy
    @GurovDmitriy 5 месяцев назад

    Promise allSettled does not return exactly values, so you can confuse beginners, since different static methods are created for different situations, respectively, and the returned value is different, there must be objects - the results of promises from fields that have at least a status and value...

  • @ganeshkumar92877
    @ganeshkumar92877 2 года назад +1

    Your voice is Magical 💚

  • @softwareabbayiAPJ
    @softwareabbayiAPJ Год назад

    Bow down guruji. The way you explained Promises, Event Loop is Top Notch. None matches you.
    Your are Student Centeric.
    With these Why ? What ? How ? Questions you literally made me fall in Love with JS & React.
    Thanks 💕💕💕🧠

  • @igorr4682
    @igorr4682 2 года назад

    Awesome video man, I just want to say that your work is really appreciated

  • @iliyanpetrov5762
    @iliyanpetrov5762 Год назад

    By far, this video is the most clear explenation on youtube! //(for me:)

  • @egehanyildiz
    @egehanyildiz Год назад

    just wow man the explanation in event loop is sick!

  • @-SRAJYALAXMI
    @-SRAJYALAXMI 2 года назад

    Explain about destructuring that really helps us, and thank you for your all videos

  • @balaeinstein8710
    @balaeinstein8710 2 года назад +2

    this is great . can you please do a crash course on object oriented javascript?

  • @AmarSingh-uw1db
    @AmarSingh-uw1db 2 года назад +1

    Awaiting for this topic soo long .....👌👌

  • @LofiCoder
    @LofiCoder 2 года назад

    My favorite Web Dev learning channel. Big thank you. 💙💚❤️

  • @mdjasim3722
    @mdjasim3722 2 года назад +1

    This guy can read my mind
    Thanks vishwash!!❤

  • @swetharagunathan443
    @swetharagunathan443 Год назад

    What an explanation, Thanks a lot, It is very helpful and now I am very clear the concepts of async JS. Once again thank you so much

  • @GurovDmitriy
    @GurovDmitriy 5 месяцев назад

    Instead of running while 1 billion times, it is better to check the date value in it so as not to worry about the number of passes, but actually block the thread for a certain time..

  • @sagars6344
    @sagars6344 Год назад

    You are an absolute champ sir...Love the way u teach and the clarity of the course....your channel is my one stop channel for everything frontend😇🔥THANKYOU SIR(seriously thankyou sir)

  • @anitorosyan2209
    @anitorosyan2209 2 года назад

    Thanks a lot. I'm really happy i found your channel.

  • @irfanabbas807
    @irfanabbas807 2 года назад

    Thank you vishwas, was waiting for this crash course☺

  • @wahebbenzaid543
    @wahebbenzaid543 2 года назад

    this is a great video Vishwas, keep going on this way!

  • @fiantop8
    @fiantop8 7 месяцев назад

    Awesome explanation!

  • @sergeyplotnikov5031
    @sergeyplotnikov5031 2 года назад

    Thank you very much!! Now I'm understand micro tasks!!!

  • @alexanderdedenko6778
    @alexanderdedenko6778 2 года назад

    Simply majestic ! Thank you

  • @sanskaragarwal582
    @sanskaragarwal582 Год назад

    Your last example was fantastic

  • @codeaperture
    @codeaperture 2 года назад

    Loving your long videos. 💯

  • @jamalxd5647
    @jamalxd5647 Год назад

    49:52 thats how promise chaining(then or catch) vs async await different looks like

  • @manoj-k
    @manoj-k 2 года назад

    🔥🔥🔥 THIS IS PURE GOLD!

  • @mohiramansurovna4295
    @mohiramansurovna4295 4 месяца назад

    Thank you for the video course

  • @ShashankSingh-jg6ky
    @ShashankSingh-jg6ky Год назад

    sir your content is too good . the way you teaches us is awesome. PPT jo hai bhaiya wo sabse best hai.. agar ppt upload kahi kar dete toh bohot badhiya ho jaata bhaiya.. THank you

  • @rishabhmahajan409
    @rishabhmahajan409 2 года назад

    Promises part is THE BEST. Thank you Sir. I have an interview on 1st July for React JS developer entry level..

  • @danielbentum136
    @danielbentum136 Год назад

    Helped me alot. Thanks alot

  • @yunus5949
    @yunus5949 Год назад

    Really cool explanation, nice work!

  • @vicdosya
    @vicdosya 2 года назад

    Clearly explained. Thank you for the video. (also subscribed) :)

  • @user-bh6mc8pd8g
    @user-bh6mc8pd8g 2 года назад +1

    tnx, real good job mate !

  • @ganeshdarla9351
    @ganeshdarla9351 2 года назад +1

    Super ... Sir...And please make a session on event loop architecture

  • @santoshgurung179
    @santoshgurung179 2 года назад

    Very clear and concise. Thank you!

  • @phanivasabattula7460
    @phanivasabattula7460 Год назад

    nice explaination, short and straight to the point. 👌🙏

  • @tanyaharutyunyan6666
    @tanyaharutyunyan6666 2 года назад

    The best explanation ever!!!💯

  • @JasonLayton
    @JasonLayton Год назад

    Why is the microtask queue prioritized over the callback queue?

  • @mr.nirajpatil1633
    @mr.nirajpatil1633 2 года назад

    Great Explanation of all the topics !!!

  • @samarnagar9699
    @samarnagar9699 Год назад

    everything about the ui and ux goes to gnome which is a desktop envoirment and is available on all linux distros 100% of things tou say are not unique or limited to manjaro its on all distros

  • @khadijahbadmos9747
    @khadijahbadmos9747 Год назад

    your tutorial is a life saver. Thank you!!!

  • @KrishnaNCool
    @KrishnaNCool 2 года назад +1

    Small suggestion the code size is too small

  • @captainalpha4853
    @captainalpha4853 8 месяцев назад

    Great video! However, I didn't quite get the 'concurrentStart()' function. Since we await the 'hello' promise it will take us 2 seconds, then we will await 'world' which takes 1 second. So why it will log in 2 seconds and not 3s? I appreciate the explanation!

  • @mayuranchalia
    @mayuranchalia 3 месяца назад

    How does the task move from memory to micro task queue and who is maintaining the order as there could be multiple promises getting executed

  • @ssushovan
    @ssushovan Год назад +3

    This is a brilliant crash course I must say! 👏

  • @soumadip_skyy_banerjee
    @soumadip_skyy_banerjee 2 года назад +1

    Make a ReactNative course too, plz! I mean, in a series!

  • @compScientizt
    @compScientizt 11 месяцев назад

    Thank you so much Sir ❤ You are awesome 🎉

  • @yahiasadventures9784
    @yahiasadventures9784 10 месяцев назад

    thank you, that's very helpful

  • @akilanakilan477
    @akilanakilan477 2 года назад +1

    Make a video for redux toolkit pls

  • @virajpatel3495
    @virajpatel3495 Год назад

    can you explain how following code will be executed `console.log("1")
    setTimeout(console.log("2"),0)
    console.log("3")`

  • @vishalupadhayay6391
    @vishalupadhayay6391 Год назад

    This is gold! :D

  • @Megalight007
    @Megalight007 Год назад

    This is very informative, thanks for creating this. One question - javascript is single threaded, how is parallelism possible with async await -promise.all()?

  • @panomapet9441
    @panomapet9441 2 года назад

    Please may extensive details of every concept in JavaScript like this one of Asynchronous JavaScript