Components flicker during server side render for nextjs
The create-react-app version works without issues.
What's the hash commit you are relying on? The issue should have been fixed in #7977
I confirm I have just tried on 177a6f56388a43948ab365dd5c1d0ba6131adf9a. It's all good.
I am experiencing the same issue, with latest nextjs, how is it solve, sorry is not so clear for me.
Hi,
go to: https://github.com/mui-org/material-ui/tree/master/examples/nextjs
copy the code from:
/pages/_app.js
/pages/_document.js
/src/getPageContext.js
and make it work with your structure.
That worked with me. Good luck.
This behavior still persists only on windows, with the example of nextjs
Most helpful comment
Hi,
go to: https://github.com/mui-org/material-ui/tree/master/examples/nextjs
copy the code from:
/pages/_app.js
/pages/_document.js
/src/getPageContext.js
and make it work with your structure.
That worked with me. Good luck.