Open gregorskii opened 5 years ago
A similar question has been asked, but I am getting flashes where the grid is temporarily unstyled at load in a Next application.
The site is styled with Styled Components for generic styling, and that works correctly at page load due to the configuration here https://github.com/zeit/next.js/blob/canary/examples/with-styled-components/pages/_document.js.
However the in our app are flashing unstyled at load.
Forgive me if this is just me misunderstanding how SSR works in this case. But I thought it should style when the containers are loaded from a page in Next.
Thanks in advance.
Can you validate whether this is still the case with the latest version (^6.4.0)? This version contains some improvements wrt. SSR.
I confirm this is still the case, even with de latest;
A similar question has been asked, but I am getting flashes where the grid is temporarily unstyled at load in a Next application.
The site is styled with Styled Components for generic styling, and that works correctly at page load due to the configuration here https://github.com/zeit/next.js/blob/canary/examples/with-styled-components/pages/_document.js.
However the in our app are flashing unstyled at load.
Forgive me if this is just me misunderstanding how SSR works in this case. But I thought it should style when the containers are loaded from a page in Next.
Thanks in advance.