I have a project NextJS. I tried log a text at the component and relize that there are always 2 lines of my log. I am wondering that my component is render 2 times, it maybe affect the performance.
My component here:
const PostForm = () => {
console.log("my log");
return (<div>abc</div>);
}
export default PostForm;
Logs in my browser: