Articles for people who
ship the stack
Rewrites on React, Node.js, TypeScript and AI. A translated body is shown when it exists. If it does not, you see the English text and a note that says so.
Tagged: Promises
JavaScript 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.
3 min readAwait Sees Only One Promise: Designing Async/Await APIs That Own Their Work
What JavaScript async/await actually observes, why detached work, callbacks, streams and Promise.all slip past it, and how to design Promises that mean done.
13 min readHidden Request Waterfalls: Matching Async Code to the Real Dependency Graph
Learn to spot sequential awaits that invent fake dependencies, fix them with Promise.all, and restructure a React dashboard so each component fetches only what it needs.
5 min readParallel Fetching in React: Suspense with Promise.all and allSettled
Learn how to remove request waterfalls with Promise.all, keep optional data from breaking pages with Promise.allSettled, and show loading states with Suspense.
6 min readSix Async Timing Mistakes That Surface as React Rendering Bugs
Learn to spot six async JavaScript patterns, from stale captured values to missing Promise returns, that make React components show wrong or impossible state.
6 min readRefactoring Promise Chains to Async/Await Without Changing Behavior
How to turn .then() chains into readable async/await code, what await really pauses, when to run steps in parallel, and how try/catch replaces .catch().
7 min readWhat async/await Really Guarantees, and What It Leaves to You
Understand what await actually suspends, how to avoid serialized requests, and why errors, cancellation, ordering and retries need designs beyond async/await.
14 min readAsync/Await vs Promises: What Actually Differs Under the Hood
What actually differs between async/await and Promises in JavaScript: execution order, memory, stack traces, and when raw Promise APIs still win in Node.js.
10 min readFixing Async/Await Error Handling Bugs in Node.js Production Code
Five async/await error-handling mistakes in Node.js that cause silent failures and race conditions in production JavaScript, and the concrete fix for each.
8 min read
About these articles
Request a 24h estimate
Need the same stack in a production operator layer? Send the brief — estimate within 24 hours.