React renders twice your component and hooks or useEffect
From : https://stackoverflow.com/questions/58603209/react-hooks-render-twice It's an intentional feature of the StrictMode. This only happens in development, and helps find accidental side effects put into the render phase. We only do this for components with Hooks...
Recent Comments