NextJS: Is there a way to invoke something only on serverside, only on a fresh page load?

前端 未结 0 1394
长情又很酷
长情又很酷 2020-11-22 07:57

Our team initially created an _app.tsx with getInitialProps, and included something along the lines of

if (!req) return {};
<         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题