Why does npm run build use only server-side render?
no static generation?
3 Replies
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
what react version lol
Found the culprit
next-translate
It uses getInitialProps internally
so when I did ...nextTranslate() in next.config.js, it adds getInitialProps to every page
And therefore all the pages are ssr...smh