🍪 Cookie-based Auth: More Than Meets the EyeJul 16, 2025 at 3:19 PMCookie authentication is deceptively complex. This article breaks down the three key layers—CORS, SameSite, and Cookie Domain—and explains how they overlap. Learn how to avoid frustrating edge cases and build more reliable, secure login flows.Kheang6 Likes0 Comments
🔁 Reusable API Calls in React — The Hook Pattern That ScalesJul 12, 2025 at 3:47 AMDitch scattered fetch logic. This article shows how to manage API calls in React using useEffect, AbortController, and a custom useApi hook—keeping code clean, type-safe, and memory-leak free.Kheang2 Likes0 Comments
Race Server Fetches with React Server Components + SuspenseJul 9, 2025 at 1:48 PMLearn how to enhance UX in React apps by racing server fetches against a timeout using Server Components and Suspense. This pattern ensures fast loads, shows fallback UI only when needed, and requires no extra client code—just clean, efficient RSCs.Kheang5 Likes0 Comments