Native case studies on safdarali.in — also on DEV and Medium.
Showing 1–5 of 59
Nov 2026
On safdarali.inStop Fetching Data in useEffect
Stop using useEffect to fetch data in Next.js — waterfalls, race conditions, and the server fetch that replaces them.
safdarali.in · Guide
Read article →Nov 2026
On safdarali.inNext.js Caching — What Gets Stored and How I Bust It
Next.js caching explained — fetch cache, router cache, revalidatePath, and the stale page each one causes.
safdarali.in · Guide
Read article →Nov 2026
On safdarali.inJavaScript Closures — The Explanation I Use in Interviews
JavaScript closures — a clear example, the classic loop trap, and stale state in React.
safdarali.in · Guide
Read article →Nov 2026
On safdarali.inThe JavaScript Event Loop — What Actually Runs Next
JavaScript event loop explained — call stack, microtasks, and the setTimeout versus Promise ordering people miss.
safdarali.in · Guide
Read article →Nov 2026
On safdarali.inuseEffect Mistakes I Still See in React Code Review
Common useEffect mistakes in React — data fetching, dependency arrays, and logic that belongs in an event handler.
safdarali.in · Guide
Read article →
Also on DEV profile. See projects for shipped work.