HomeShowcaseEventsSponsorsMembersChatroomAbout us

Kheang

Moderator

Frontend Developer at Wing

@kheang

10 Followers
0 Following
ProfileArticles

🍪 Cookie-based Auth: More Than Meets the Eye

Jul 16, 2025 at 3:19 PM

Cookie 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.

Kheang
0 Comments
🍪 Cookie-based Auth: More Than Meets the Eye

🔁 Reusable API Calls in React — The Hook Pattern That Scales

Jul 12, 2025 at 3:47 AM

Ditch 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.

Kheang
0 Comments
🔁 Reusable API Calls in React — The Hook Pattern That Scales

Race Server Fetches with React Server Components + Suspense

Jul 9, 2025 at 1:48 PM

Learn 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.

Kheang
0 Comments
Race Server Fetches with React Server Components + Suspense
Khmer Coders Logo

Khmer Coders has grown to become Cambodia's largest coding community. We bring together developers, designers, and tech enthusiasts to learn, share, and grow together.

Website

members

Telegram

members

Facebook

members

Discord

members

Our platform is open source. If you'd like to help us improve it, please submit a pull request or contribute directly to our repository on GitHub.

Github