David Mitjana Castro

Feb 3, 2021

3 min read

Fixing styled-components server-side-rendering issues in Gatsby

How to fix styled-components ssr issues in Gatsby production build

Gif showing the ssr issue with styled-components in Gatsby

My Problem ⚠️

My initial approach 👎

Solutions ✅

Conclusions

References