Walk me through how the event loop works in the browser and where frame rendering fits into it. How has this knowledge helped you in practice?
~4 min by voice
How to approach it
This checks whether the candidate understands the precise event loop model: one macrotask, then the microtask queue drained completely, and where rAF and rendering sit in that loop. Just as important: whether they can turn that model into practice by diagnosing long tasks, improving INP, and breaking up heavy work.
The interviewer will ask this question and listen. Think out loud and ask for a hint if you need one. When you're done, pause or tap “That's my answer”. In about a minute, your score and the points you covered show up here.