Cool talk on js event loop and call stack

It’s junior-middle level, but animations are nice as well.

https://youtu.be/8aGhZQkoFbQ

Here’s an article about almost the same but in more details about difference between tasks’ queue (timeouts) and microtasks’ queue (promises and DOM modifications). The main idea is that there are several queues that have different priorities. And microtasks are more important than tasks.
https://jakearchibald.com/2015/tasks-microtasks-queues-and-schedules/

LEAVE A COMMENT