JavaScript Event Loop -- Visualized!

  Рет қаралды 20,429

ColorCode

ColorCode

Күн бұрын

Пікірлер: 266
@ColorCode-io
@ColorCode-io 3 ай бұрын
Episode 18: Event Loop 🎩🎥💛➰🎉
@anjalii1102
@anjalii1102 3 ай бұрын
Tony Stark teaching JS ❤
@thecuriosity8774
@thecuriosity8774 13 күн бұрын
Yahoooooo!!!
@thecuriosity8774
@thecuriosity8774 13 күн бұрын
Sinaaaaaaaa!!!!!
@Sohailkhan2001
@Sohailkhan2001 18 күн бұрын
Out of the sea of thousands of js youtube channels, you channel will be the first one I'll recommend when some beginners asks for recommendations.....
@ColorCode-io
@ColorCode-io 14 күн бұрын
Thank you!
@thecuriosity8774
@thecuriosity8774 9 күн бұрын
​@@ColorCode-ioepisode:19?
@anshvj
@anshvj 3 ай бұрын
lowkey might be the best channel for every js developer
@ColorCode-io
@ColorCode-io 3 ай бұрын
@Bunnyfromhell92
@Bunnyfromhell92 Ай бұрын
The only video on the JS event loop that the internet needs!
@ColorCode-io
@ColorCode-io Ай бұрын
There are other good ones out there but thank you!
@JCAsdfghjkl
@JCAsdfghjkl 10 күн бұрын
i do not care if there are many ads in this video, this is top tier tutorial
@ColorCode-io
@ColorCode-io 7 күн бұрын
🙏
@hasithapriyasad
@hasithapriyasad 3 ай бұрын
I already know this concept, but your way of teaching is top notch. well-done man
@khedr433
@khedr433 3 ай бұрын
You deserve more views, this is such an underrated channel!
@sabukuna
@sabukuna 3 ай бұрын
siiinnaaaaaa!!! a video about deep copy and shallow copy would be noice.
@JeezySlots
@JeezySlots 3 ай бұрын
coming here after watching legendary "Wth is event loop?" video...I must say, that legendary video laid the foundation and you built the building on top. Top notch, thank you.
@ColorCode-io
@ColorCode-io 3 ай бұрын
Awesome to hear. And yes that video is pretty legendary!
@zunnoorainrafi5985
@zunnoorainrafi5985 3 ай бұрын
Seriously, now I understand event loop. Your explanation + animation = amazing😍
@khanhdo4545
@khanhdo4545 11 күн бұрын
Your explanation of the JavaScript Event Loop is incredibly clear and easy to understand! I've watched so many tutorials, but yours finally made it click for me. Thank you for breaking it down so well!
@ColorCode-io
@ColorCode-io 7 күн бұрын
Glad it helped!
@umarkhankhodjaev
@umarkhankhodjaev 7 күн бұрын
The best teacher I've ever seen. Thanks for the lesson.
@sanmarchen
@sanmarchen Ай бұрын
Какого хрена здесь так мало просмотров? Это же изумительно прекрасное визуальное объяснение!
@Salaralali
@Salaralali 3 ай бұрын
one of the best (if not the best) Videos on KZbin for the JS community. Masterpiece! 👏
@ColorCode-io
@ColorCode-io 3 ай бұрын
Appreciate it!!
@MohammedBouhaouche
@MohammedBouhaouche 2 ай бұрын
This is pure GOLD you rock, man ! how come I just stumbled on this channel, the content you have is crazy, please keep going 🙏🙏
@apoleyta9760
@apoleyta9760 29 күн бұрын
It's by far the best explanation related to this topic in youtube. I'm glad ı found this channel
@ColorCode-io
@ColorCode-io 7 күн бұрын
Happy to hear that!
@gamingcurse5217
@gamingcurse5217 3 ай бұрын
You are the role model, I will never thank you enough for the effort you do my 100 hats off for you sir
@abdallahazme4757
@abdallahazme4757 3 ай бұрын
Producing this level of quality is no easy task. It requires numerous other APIs and event queues to add tasks and manage the loop through the tasks after the call stacks and timing are right. Thanks a lot man. And I suggest to change this playlist to 50 things you didnt know about javascript 😂😂😂😂
@Neth-g9v
@Neth-g9v 3 ай бұрын
When the world needed him the most, he returned!!!
@ColorCode-io
@ColorCode-io 3 ай бұрын
✊♥
@shashankphiske3678
@shashankphiske3678 3 ай бұрын
Great Video, need an entire in-depth javascript playlist with this great level of teaching
@ptk2k
@ptk2k Ай бұрын
I just want to express my utmost respect to you, Sina! 🙌 I've watched all the videos in this series over the last couple of days, and man, this is by far the best content I’ve ever come across for explaining JavaScript concepts so clearly. I’ve had trouble understanding JS before, but after going through your videos, everything finally clicked! You’ve made it so much clearer for me. Keep up the amazing work, Great Wizard Sina - I salute you! 🧙‍♂✨
@ColorCode-io
@ColorCode-io Ай бұрын
Thank you!
@Євген-д7д
@Євген-д7д 3 ай бұрын
This channel is a hidden gem! I've heard a bit about event loop before, but the animation (and gags) made it look so simple. I'm definitely checking out other videos about JS
@ColorCode-io
@ColorCode-io 3 ай бұрын
Glad you enjoy it!
@jbond008
@jbond008 12 күн бұрын
Quality of content and production is top notch
@ColorCode-io
@ColorCode-io 7 күн бұрын
Thank you
@parsaaza767
@parsaaza767 2 ай бұрын
If you're looking for a great explanation of how the event loop works, this video will definitely deepen your understanding! Thank you Sina.❤
@lavendercode
@lavendercode 13 күн бұрын
Wow!!! The way you explain coding concepts is amazing. You know how to teach! 😃
@ColorCode-io
@ColorCode-io 7 күн бұрын
Thanks!
@georgii_v
@georgii_v 3 ай бұрын
OMG! Who are you? wizard? How do you do that? Unbelievable! This is the best EVER explanation on the Russian / English internet! Please DO NOT stop! Thanks! Thanks a lot! Can't even imagine how much time you spent on that video!
@ColorCode-io
@ColorCode-io 2 ай бұрын
Thanks!
@BrackProgrammerNOLA
@BrackProgrammerNOLA 3 ай бұрын
MISSED YOU BRO.....I've been developing via JS for about 17v months. I've come really far! You've been a big part of my developer education. APPRECIATE YOU!
@sam_safari
@sam_safari 5 күн бұрын
much love from Tanzania actually i cant lie am new to coding but at the beginning of the video i did not understand until i arranged 5 minute break on the video actually you are amazing also i welcome you all to enjoy nature like lion and other wild animal from TANZANIA am a tour operator as well the code leaner
@ivlis.w8630
@ivlis.w8630 Ай бұрын
Missed your videos, might have to rewatch them all again to get up to date again 😅
@seephor
@seephor 3 ай бұрын
Probably the best explanation of the topics on KZbin. Excellent job. This video is way underrated.
@ColorCode-io
@ColorCode-io 3 ай бұрын
🙏
@TheFuture36520
@TheFuture36520 3 ай бұрын
I love how you explained the concept visually and your ideas on how to implement the concept. I've struggled with understanding asynchronous function.
@ColorCode-io
@ColorCode-io 3 ай бұрын
🙏🙏🙏
@VloggerFJC
@VloggerFJC 3 ай бұрын
Thank you for this video. You are the first person who could explain this topic on a really easy to understand way. Thank you for your videos. They really helped me to understand JS better.
@ColorCode-io
@ColorCode-io 3 ай бұрын
Thank you!
@dariaiankovskaia980
@dariaiankovskaia980 3 ай бұрын
can't wait to watch this! Glad you are back! Thank you!
@harshp7328
@harshp7328 3 ай бұрын
Thank you SIr, this video is very helpful for me to crack my first ever interview ❤
@mirjalol49
@mirjalol49 3 ай бұрын
you and Lydia Hallie are doin best thing in the world
@ColorCode-io
@ColorCode-io 3 ай бұрын
Lydia is great
@jsonslim
@jsonslim Ай бұрын
This is my favorite explanation so far!
@ColorCode-io
@ColorCode-io Ай бұрын
Glad to hear it!
@KARTHIKEYANR-b1n
@KARTHIKEYANR-b1n 3 ай бұрын
🔥🔥One of the videos that makes me more interested about js.✨Amazing explanation and we see the animations and work that you have put to make this video.Thank you 👍
@ColorCode-io
@ColorCode-io 3 ай бұрын
Thanks!
@elyoaprogrammer
@elyoaprogrammer 3 ай бұрын
Excellent video about this key JS mechanism used by all the modern frameworks to perform the DOM update. One more reason why it’s important to know about it
@ColorCode-io
@ColorCode-io 3 ай бұрын
👌🏼
@cheekypigg
@cheekypigg 3 ай бұрын
He’s back 🙌
@Default_-ij5oc
@Default_-ij5oc 2 ай бұрын
you are a live saver my guy please never give up on the channel
@ColorCode-io
@ColorCode-io 2 ай бұрын
🙏🏼
@tuannguyenanh7466
@tuannguyenanh7466 25 күн бұрын
What a beautiful explanation video I have ever watched. Nice voice, the pace is slow enough to follow, and the visualization is so clear. Thank you so much.
@wisdompeters4521
@wisdompeters4521 Ай бұрын
You're truly the best... Say no more! Takes Sensei
@siya.abc123
@siya.abc123 3 ай бұрын
19:37 Bro! 😂 Today I solved an issue by using setTimeout of 0 and I didn't fully understand why it worked. Thank you for this! I'm subscribing
@ColorCode-io
@ColorCode-io 3 ай бұрын
Nice!
@bmehder
@bmehder 3 ай бұрын
This is how a video is done people. Looking forward to FP stuff.
@ColorCode-io
@ColorCode-io 3 ай бұрын
Thanks brother. As always!
@RaffayDoesTech
@RaffayDoesTech 3 ай бұрын
loved it man, youtube doesnt appreciate you enough, you are one of the best educators out there, dont forget me when you hit a milli
@ColorCode-io
@ColorCode-io 3 ай бұрын
Haha thanks!
@yaess7384
@yaess7384 3 ай бұрын
Discovered you a while ago. Back when I was learning JS fundamentals, and I can still learn a lot from you. Honestly, I would love to see a video that goes more in-depth of using devtools and debbuging the stuff, like you would do in real-life project. It's easy to understand it on simple examples but diving into new codebase that is maintained for a long time, it's a real challenge to understand what's happening. Cheers
@ColorCode-io
@ColorCode-io 3 ай бұрын
So glad to hear!
@sujitprasadkushwaha9031
@sujitprasadkushwaha9031 18 күн бұрын
This is so brilliant idea to represent a coding thing. I like it.
@ColorCode-io
@ColorCode-io 7 күн бұрын
Thank you!
@amirhosseinmajidy575
@amirhosseinmajidy575 2 ай бұрын
you are the best teacher of javascript. plz make a video about advance javascript module.
@ajiteshmishra0005
@ajiteshmishra0005 3 ай бұрын
After a long time You are uploading video Waiting eagerly
@Pluvo2for1
@Pluvo2for1 3 ай бұрын
You did this complicated topic really well. Thank you!
@ColorCode-io
@ColorCode-io 3 ай бұрын
♥️
@mahfoudh_arous
@mahfoudh_arous 3 ай бұрын
Can't thank you enough, Sina, for explaining such a complex and advance concept in a such clear and fun way 👏👏👏🎩🎩🎩🌹🌹🌹
@ColorCode-io
@ColorCode-io 3 ай бұрын
Thank you as always for your comments!
@Mohamed-x3o
@Mohamed-x3o 3 ай бұрын
KZbin alg could do a much better job of pushing this channel. Top tier explanation as always.
@jakobo5521
@jakobo5521 3 ай бұрын
The way that you have explained this is just amazing. I was struggling for some time to understand this concept but now I get it. Many thanks for sharing such knowledge with us. Take care :)
@mostafavii
@mostafavii 3 ай бұрын
And finally the episode I waited too long to here from you
@oleksandrfomin326
@oleksandrfomin326 2 ай бұрын
Extremely talented teacher
@ayxanmamedzade8106
@ayxanmamedzade8106 4 күн бұрын
I love your content and the uniqueness of your teaching method. I wish we could see episode 19 soon.
@marcosfabianchongmegchun7668
@marcosfabianchongmegchun7668 2 ай бұрын
Listen, your video is one of the best (if not the best) I have watched about the event loop concept, thank you so much, You earn a new subscriber!
@kopilkaiser8991
@kopilkaiser8991 28 күн бұрын
Hi! Your approach of teaching the logic is absolutely brilliant. I just love the approach you've taken and your editing is on the next level 😊 Carry on making such visually appealing video. Makes it much easier to understand as I'm a highly visual learner. 🤩 The best tutorial on learning JavaScript Event-Loop
@TechGlamazon
@TechGlamazon 3 ай бұрын
It's going to be the most watched Event Loop video. what an explanation, what an high quality content in all aspects + funny. what's better then that ?
@ColorCode-io
@ColorCode-io 3 ай бұрын
👊🙏
@mdyousufgazi4030
@mdyousufgazi4030 3 ай бұрын
welcome back. as always explanation is top notch
@ColorCode-io
@ColorCode-io 3 ай бұрын
Thanks!
@thewebdev8928
@thewebdev8928 3 ай бұрын
I love this series and your humor
@vaishnavipampatwar6569
@vaishnavipampatwar6569 Ай бұрын
Amazing..Please keep posting Videos..Thanks!
@madhavanand756
@madhavanand756 3 ай бұрын
Woohoo our JavaScript's John Sina is back 😉 How about design pattern in JavaScript series ?
@leftinashes
@leftinashes 3 ай бұрын
Bravo! This was my introduction to your channel and I thoroughly enjoyed it. I really appreciate your "Double Impact" intro! Your content is great and I'll be watching more for sure! Cheers...
@ColorCode-io
@ColorCode-io 3 ай бұрын
Awesome! Welcome aboard
@amirafshar9516
@amirafshar9516 3 ай бұрын
Duuuude that was greaaaat, thanks for enlightening me :D ❤
@abdelazizemad9708
@abdelazizemad9708 2 ай бұрын
Sir , I literally watched over 10 videos and researched several docs , plz keep making videos like this , if possible , can you do full scale (HTML + CSS + JAVASCRIPT ) projects , you are excellent
@tag243
@tag243 Ай бұрын
THIS IS BRILLIANT!
@kamrulislam3841
@kamrulislam3841 2 ай бұрын
Man your energy level 🔥 It always goosebumps me whenever you hit the core point❤️
@abahiduh3246
@abahiduh3246 3 ай бұрын
WONDERFUL WONDERFUL WONDERFUL..... now I know. Pls consider... 1.Design patterns of the gang of four for JavaScript 2. Data structures and Algorithms the design pattern u did previously ( factory function $ constructor function was SUPER qoli😂
@alanmurillo3966
@alanmurillo3966 3 ай бұрын
I was waiting for this one, amazing
@chloenewman758
@chloenewman758 Ай бұрын
Thank you sooooooo much for your super duper clearest explanation!!!
@ColorCode-io
@ColorCode-io Ай бұрын
You're very welcome!
@alexandraweather4156
@alexandraweather4156 28 күн бұрын
Fantastic video! Finnally got it and now I can check it all in the dev tools! You are mazing, thank you!
@cloudgreenhorn452
@cloudgreenhorn452 3 ай бұрын
Color me impressed. Great delivery of this topic.
@kunalsharma-kg6sk
@kunalsharma-kg6sk 3 ай бұрын
I'm little bit confuse that did event loop also handle the sync code in stack or just check the stack and queue continuously to execute the async code ? our content is truly inspiring! The way you break things down is impressive-I'm learning so much. Keep it up!
@giovannibertoncelli7355
@giovannibertoncelli7355 25 күн бұрын
Incredible video! I only imagine the stress on the animations! An indepth analysis about why and when the event loop gets blocked may be very usefuln
@ColorCode-io
@ColorCode-io 23 күн бұрын
Thanks!
@asanka.abewickrama
@asanka.abewickrama 3 ай бұрын
Thank you for video. Understood the concept.
@2difficult2do
@2difficult2do 3 ай бұрын
Thank you. I was waiting for this video because your way of teaching made evething clear ☝️😼👍.
@ColorCode-io
@ColorCode-io 3 ай бұрын
👍🤘
@mr.nobody4159
@mr.nobody4159 3 ай бұрын
Been waiting
@yutubl
@yutubl 3 ай бұрын
@callstack: I think it helps understanding, that "the callstack " is more likely a main callstack. In case of executing an async call to a timer() function with a delayed callback function, the original main callstack might be (copied/splitted), so that the timer() function after the timer counters run down still knows the context where to call back when running the callback function (so that the callback function has access to local variables).
@karimbouche3563
@karimbouche3563 3 ай бұрын
I just discover this channel ,and it was excellent explanatory video of a miss understood concept , so thanks bro ,and it is please to see your face 😊
@ColorCode-io
@ColorCode-io 3 ай бұрын
Awesome!
@t1germetal
@t1germetal 3 ай бұрын
Great delivery and tons of useful information. Thank you!
@ColorCode-io
@ColorCode-io 3 ай бұрын
🙏♥️
@conspirisi
@conspirisi 24 күн бұрын
Well done, one of your better explanations.
@ColorCode-io
@ColorCode-io 7 күн бұрын
Thank you
@thanos-b7j
@thanos-b7j 2 ай бұрын
Please make a playlist for beginners javascript.... U are a great teacher and want to learn more.. From u Thanku for this playlist
@juanjsepulveda
@juanjsepulveda 21 күн бұрын
Very high quality content!
@ColorCode-io
@ColorCode-io 7 күн бұрын
🙏
@junhuama68
@junhuama68 3 ай бұрын
This is so much fun to watch!
@tahahusnain654
@tahahusnain654 3 ай бұрын
The best man very well explained.
@ColorCode-io
@ColorCode-io 3 ай бұрын
👍
@mucatcode3468
@mucatcode3468 3 ай бұрын
Thank you very much sir .
@barneylaurance1865
@barneylaurance1865 3 ай бұрын
In the examples where the engine is running a JS script that calls some functions, there should also be an entry in the stack to represent that script as a whole. It acts like another function. I think showing this would have been helpful especially in example 7 at 18:52 to show why the console.log(2) can't be added to the task call stack right away. The event loop only adds something to the stack if the stack is empty, and in this case it isn't really empty because the script is still running.
@Jefy95
@Jefy95 3 ай бұрын
Thank you for video 😃 !!!!!!!!!!!!! The explanations were clear and very understandable.😁😁
@ColorCode-io
@ColorCode-io 3 ай бұрын
Glad it was helpful!
@junhuama68
@junhuama68 25 күн бұрын
hey Sina I know that you are probably busy. Just thought to let you know that when your react mastery course does come out, I will be waiting. Thank you again man. Can't wait to learn from you.
@__Gojo___
@__Gojo___ 17 күн бұрын
Your content actually outstanding
@karthiknataraj317
@karthiknataraj317 3 ай бұрын
Well done RDJ
@anilrpinto
@anilrpinto 2 ай бұрын
I just watched the video, enjoy the light hearted approach at teaching core and complex concepts. I do have a question about the part at Micro task queue (20:30~), You said the Promise.. then() would get executed in the call stack first, but what if the fetch actually took 5 seconds but the setTimeout() took just 1 sec?
@murshidahamed8317
@murshidahamed8317 12 күн бұрын
Next level explanation ❤
@ColorCode-io
@ColorCode-io 7 күн бұрын
🤘🏼
@joeangello2016
@joeangello2016 3 ай бұрын
Would it be better to watch this video before episode 11 of you video series, to be specific before the Asynchronous JavaScript, Promises, Async Await and Fetch videos?
@offYears
@offYears 3 ай бұрын
imo no, but the older vids are worth a rewatch once you've seen this if you didn't have the conceptual picture before
@chamodtharakaperera
@chamodtharakaperera 3 ай бұрын
You are the best! Thank you!
@ColorCode-io
@ColorCode-io 3 ай бұрын
🙏♥️
@kazemqanati7120
@kazemqanati7120 8 күн бұрын
تاحالا کسی رو ندیدم بتونه اینقدر خوب آموزش بده
@ColorCode-io
@ColorCode-io 7 күн бұрын
🤘🏼
@verdaderoken
@verdaderoken 3 ай бұрын
This is so entertaining. Thanks!!!!!
@ColorCode-io
@ColorCode-io 3 ай бұрын
♥️
@ndilionel
@ndilionel 3 ай бұрын
Clearly explained. Thanks
@MohamedFouad-j5i
@MohamedFouad-j5i 3 ай бұрын
Amazing playlist ❤
@ColorCode-io
@ColorCode-io 3 ай бұрын
Thanks ✌️
Async JavaScript & Callback Functions -- Tutorial for Beginners
24:21
Clean Code is SLOW But REQUIRED? | Prime Reacts
28:22
ThePrimeTime
Рет қаралды 323 М.
1, 2, 3, 4, 5, 6, 7, 8, 9 🙈⚽️
00:46
Celine Dept
Рет қаралды 114 МЛН
快乐总是短暂的!😂 #搞笑夫妻 #爱美食爱生活 #搞笑达人
00:14
朱大帅and依美姐
Рет қаралды 12 МЛН
JavaScript Closures Tutorial (Explained in depth)
19:03
ColorCode
Рет қаралды 75 М.
Please Stop Making These JavaScript Mistakes
14:04
Conner Ardman
Рет қаралды 24 М.
Async Await vs. Promises - JavaScript Tutorial for beginners
24:30
Coding Shorts 111: Was I Wrong About Blazor?
16:35
Shawn Wildermuth
Рет қаралды 20 М.
JavaScript Visualized - Event Loop, Web APIs, (Micro)task Queue
12:35
JavaScript Pure Functions - Tutorial for beginners
19:20
ColorCode
Рет қаралды 14 М.
DOM API - JavaScript Tutorial for beginners
42:17
ColorCode
Рет қаралды 38 М.
Highlighted code in slides
11:58
fasterthanlime
Рет қаралды 10 М.
1, 2, 3, 4, 5, 6, 7, 8, 9 🙈⚽️
00:46
Celine Dept
Рет қаралды 114 МЛН