DEV Community

Discussion on: Next.js + Styled Components The Really Simple Guide ▲ + 💅

Collapse
 
ahikmatf profile image
Asep Hikmat Fatahillah • Edited

I am using latest NextJS (8.0.3) and Styled-Components (4.1.3) and seems like it doesn't need to extend the <Document /> component anymore (step 6), because I don't see any error(?)

edit: Nope, my fault. Step 6 will make the page's style rendered before being served in the browser, so there will be no flash of unstyled content