styled-components / styled-components-website

The styled-components website and documentation
https://styled-components.com
MIT License
611 stars 437 forks source link

docs: add section for FOUC bug in next js 13 #971

Open Cyanhead opened 2 weeks ago

Cyanhead commented 2 weeks ago

Changes

Adds a FAQ solving the flash of unstyled components bug in next js 13

Issue

Closes #927 and #922

image

vercel[bot] commented 2 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
styled-components ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 11, 2024 8:21pm
Cyanhead commented 2 weeks ago

@quantizor please review

Cyanhead commented 6 days ago

Hi @quantizor, a moment to review this?

quantizor commented 6 days ago

Maybe we could update the SSR section that already has next.js instructions? https://styled-components.com/docs/advanced#app-directory

Cyanhead commented 5 days ago

I think it sits better in the FAQs, instead of the advanced section in https://styled-components.com/docs/advanced#app-directory, as both sets of information don't seem to be directly related.

However, having them in the same area is the best for easy access, and I can do that. Do I go ahead?

Cyanhead commented 3 days ago

@quantizor I'll go and put them in the same section.