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: 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.
620 wordsRead articleAwait Sees Only One Promise: Designing Async APIs That Own Their Work
Learn exactly what JavaScript await observes, why detached work, callbacks, streams and Promise.all escape it, and how to design Promises that represent real completion.
3042 wordsRead articleHidden 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.
1238 wordsRead articleParallel 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.
1327 wordsRead articleSix 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.
1485 wordsRead articleRefactoring 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().
1597 wordsRead articleWhat 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.
3113 wordsRead articleAsync/Await vs Promises: What Actually Differs Under the Hood
Explains the real execution, memory, and stack-trace differences between async/await and Promises, and when to still reach for raw Promise APIs.
2366 wordsRead articleFixing Async/Await Error Handling Bugs in Node.js Production Code
Learn five common async/await error-handling mistakes in JavaScript and Node.js that cause silent failures and race conditions, plus concrete fixes.
1907 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.