79776626

Date: 2025-09-27 08:51:35
Score: 1
Natty:
Report link

This isn’t a bug in your code. In React, Strict Mode mounts components twice in development to help catching bugs. That’s why your useEffect runs twice while developing, but don't worry it will run only once in production.
https://react.dev/reference/react/StrictMode

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Pawan Saini