The Server Action That Ran Twice, but Only on localhostWhy a Next.js Server Action called from useEffect runs twice in development: React Strict Mode mounts every component twice. What that reveals, and where the call belongs.Nov 3, 20264 min read