One moment

Why does this React component re-render twice, and how would you stop it? | InterviewPilot