10 min read
Senior Frontend Interview Prep, Part 3: The Event Loop, Scheduling and Paint Timing
Fifteen questions on what actually runs next: microtasks against macrotasks, the rendering opportunity, libuv's phases, the nextTick ordering rule that has an exception nobody mentions, and how to break up a long task without hurting INP.