AMAhmed Mahmoudinengahmed.hashnode.dev·7h ago · 11 min readWeb Workers in the Next.js App Router: Field Notes on import.meta.url, DataCloneError, and What a Worker Cannot Fix 67fdb8Headline: A Web Worker is a background JavaScript thread with no DOM access, and it only improves responsiveness when the bottleneck is your own CPU-bound code — not React rendering. I moved three fea00
AMAhmed Mahmoudinengahmed.hashnode.dev·1d ago · 10 min readTurborepo in a Real Monorepo: Field Notes on Cache Misses, NEXT_PUBLIC Poisoning, and the tasks Key That Replaced pipeline 1835a9Headline: Turborepo is a task runner that hashes each script's inputs, caches its outputs, and replays them instead of re-running the work. The cache is only as correct as the inputs, outputs, and env00
AMAhmed Mahmoudinengahmed.hashnode.dev·3d ago · 9 min readTemporal in Production: Field Notes on Replacing JavaScript Date, the Same-Day Bug, and What Doesn't Cross the RSC Boundary 6fa0e4Headline: Temporal is the TC39 API that replaces JavaScript's Date object with immutable, time-zone-aware types. The migration is mechanical almost everywhere, except at two boundaries: a Temporal obj00
AMAhmed Mahmoudinengahmed.hashnode.dev·4d ago · 8 min readParallel Routes and Intercepting Routes in the Next.js App Router: Field Notes on the Photo-Modal Pattern bc3e3fHeadline: Parallel routes let a Next.js App Router layout render more than one page at the same URL through named @slot folders, and intercepting routes — the (.), (..), (..)(..), and (...) folder con00
AMAhmed Mahmoudinengahmed.hashnode.dev·5d ago · 9 min readObservability in the Next.js App Router: Field Notes on instrumentation.ts, onRequestError, and the Trace That Leaked Across Requests d7bf86Headline: Next.js's instrumentation.ts file and its onRequestError hook give the App Router real distributed tracing and centralized error reporting, but Vercel Fluid Compute reusing one warm instance00