React · useEffect · Junior · Debugging
Why does an effect run twice in React Strict Mode (dev)??
Short Interview Answer
React mounts, unmounts, remounts to surface missing cleanup bugs.
Detailed Explanation
Write resilient effects with proper cleanup. Don't disable Strict Mode to 'fix' double fetch without understanding.