Why does React call your component function twice in development?
If you have added a console.log at the top of a component in a fresh Create React App or Next.js project, you have probably noticed it fires twice on the first render. Nothing is broken. This is Stric
101beardo.hashnode.dev3 min read