When TypeScript Type Errors Aren't Caught During Build
Solving issues where TypeScript type errors show during development but are ignored during build.

Writing about development and technology.
Solving issues where TypeScript type errors show during development but are ignored during build.

How to solve CORS errors during development using proxy configuration and important considerations.

Digging into the CommonJS vs ES Modules conflict that causes "Named export not found". A complete guide from package.json exports to transpilePackages.

Troubleshooting absolute path import configuration issues in TypeScript/JavaScript projects. Exploring the 'Map vs Taxi Driver' analogy, CommonJS vs ESM history, and Monorepo setup.

Do you know what the Circle (○) and Lambda (λ) symbols mean in Next.js build logs? Ensure you aren't accidentally making every page dynamic.

ISR works perfectly on Vercel, but fails on AWS/Docker. Let's dig into the file system cache trap and how to solve it.

I tried to save money by deploying to AWS S3 instead of Vercel, but ended up with a broken site. I share the three nightmares of Static Export (Image Optimization, API Routes, Dynamic Routing) and how to fix them.

I share how I created a maintenance nightmare by passing props down 5 levels. Learn why Prop Drilling kills productivity and how to escape using Context API, Component Composition, and Zustand.

Imagine a user clicking 'Checkout', logging in, and then landing on the Home page instead of the Checkout page. They will leave. I share how detailed redirect logic recovered sales, and how to prevent Open Redirect vulnerabilities during implementation.

A complete guide to accessing DOM directly in React using useRef, avoiding common pitfalls, and mastering advanced patterns like forwardRef and useImperativeHandle.

A deep dive into why environment variables return undefined in Vite and how to fix it. Covering bundler mechanics, security models, dynamic injection in Docker/CI, and Monorepo setups.

React generally favors unidirectional data flow, but sometimes parents need to command children. Learn how to expose specific methods using useImperativeHandle while maintaining encapsulation.

Understanding stacking context to fix z-index issues.

Fixing the memory leak warning caused by calling setState after a component has been removed.

Fixing the crash caused by props coming through as undefined from the parent component.

Postmortem purpose and writing method

Users rage-quit my shopping app because hitting 'Back' reset their scroll position. Here's how I fixed Scroll Restoration in Next.js SPA.

How closures referencing outdated values caused bugs in my React app, and how I fixed them.

Running a service means failures will happen. Reading Google's SRE book made me realize that operations is a high-level engineering problem, not just toil. I walk through how the concepts of SLI, SLO, and Error Budget shift your mindset from firefighter to architect.

My experience getting stuck in an infinite loop due to useEffect dependency arrays, and how I escaped.
