Articles for people who
ship the stack
Original rewrites on React, Node.js, TypeScript and AI — practical notes from the same engineering practice behind our operator software. Article bodies are in English.
Tagged: async
Inside libuv: The C Engine Behind Node.js Async IO
How the event loop, thread pool, and handle types make non-blocking IO possible under Node.js.
1352 wordsRead articleJavaScript event loop: microtasks, macrotasks, and the call stack
Trace how promises, timers, and fetch callbacks move through microtask and task queues so async logs stop looking random in interviews and production bugs.
620 wordsRead articleSerialize async work in JavaScript with a promise mutex
Use an AsyncLock promise chain so overlapping client requests run FIFO and UI state stays ordered without native thread locks.
775 wordsRead articleSnapshot or Live Value? Deciding What Delayed JavaScript Callbacks See
Learn why closures keep access to bindings rather than copies, and how to choose between snapshot and live data in timers, React effects, listeners and async code.
3735 wordsRead articleWhy Concurrent 401s Log Users Out, and the Single-Flight Refresh Fix
How parallel requests and refresh-token rotation race each other into surprise logouts, and how one shared refresh promise in an Axios interceptor prevents it.
1409 wordsRead articleUnderstanding JavaScript Closures and the Event Loop
Learn how closures retain outer variables and how the event loop orders the call stack, microtasks, and macrotasks with practical code examples.
3570 wordsRead article
About these articles
Request a 24h estimate
Need the same stack in a production operator layer? Send the brief — estimate within 24 hours.