
If setTimeout, promises, and async and await have ever behaved in ways you could not explain, this book settles it for good.
The Event Loop, Made Simple builds the event loop from the ground up, one clear idea at a time, in plain language and with code you can run as you read. There are no rules to memorise, you get a real mental model built piece by piece, until by the last page you can look at any mix of code, timers, and promises and predict the exact order it runs, on your own.
It is written for beginner to mid level developers working with JavaScript, React, or Node, for anyone who has fought async bugs like stale data or a frozen screen, and for those getting ready for a technical interview.
If async JavaScript has always felt like there was a piece everyone else was handed and you were not, this is that piece.