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: Error Handling
Loading, Waiting, Failing: How lazy, Suspense and Error Boundaries Fit
Understand how React.lazy, Suspense and Error Boundaries split code, show fallbacks and contain crashes, and where to place each boundary for a better UX.
9 min readRemoving try/catch Boilerplate from Express Routes with asyncHandler
Learn how error middleware, an asyncHandler wrapper and a custom AppError class move Express error responses out of every route and into one consistent place.
5 min readDesigning for Failed Requests in Angular: States, Interceptors and Retries
Learn how to classify HTTP failures in Angular, clean up loading state, centralize handling in interceptors, retry safely and show messages users can act on.
9 min readDesigning React Screens for Loading, Empty, Error and Retry States
Learn to model every state a React screen and form can be in, from skeletons and refetches to empty results, useful errors and double-submit protection.
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 readBackend Anti-Patterns: 7 Costly Mistakes and Their Practical Fixes
Learn how to spot and fix seven common backend engineering mistakes, from bloated controllers to unhandled errors, before they cause production issues.
9 min readWhy `catch ()` Throws a SyntaxError in JavaScript
Learn why an empty catch parameter list breaks JavaScript parsing entirely, and see the two grammar-correct ways to write a parameterless catch block.
8 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 readBuilding Production-Grade Error Handling in Node.js Apps
Learn how to classify Node.js errors, design a custom error hierarchy, centralize async error handling, and safeguard stack traces for production resilience.
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.