Relative Content

Tag Archive for next.jsstatic-site-generation

when does console.log() in next.js prints it on server side?

export default function HomePage(){ console.log(“hell is not real”); return (<div>hello</div> ); } I have imported this component Homepage in index.js file at root level. why does this log on client side and not the server side even when by default page rendering is static site regeneration in next.js? next.js static-site-generation

when does console.log() in next.js prints it on server side?

export default function HomePage(){ console.log(“hell is not real”); return (<div>hello</div> ); } I have imported this component Homepage in index.js file at root level. why does this log on client side and not the server side even when by default page rendering is static site regeneration in next.js? next.js static-site-generation

when does console.log() in next.js prints it on server side?

export default function HomePage(){ console.log(“hell is not real”); return (<div>hello</div> ); } I have imported this component Homepage in index.js file at root level. why does this log on client side and not the server side even when by default page rendering is static site regeneration in next.js? next.js static-site-generation