Gatsby: refresh remove styles, Safari

Created on 23 Jan 2019  路  4Comments  路  Source: gatsbyjs/gatsby

I have some problem with
styles(used styled components) in my Gatsby project(Netlify link https://keen-nobel-557cbf.netlify.com/valeurs).All browers show all my styles normally , but Safari has first loading without styles and everytime when I refresh pages styles disappear.

Has anyone ever faced this issue?

needs reproduction

Most helpful comment

Thank you. It seems like some configuration is missing in your project, like including gatsby-plugin-styled-components babel-plugin-styled-components

Please try including styled-components as mentioned in the docs - https://www.gatsbyjs.org/docs/styled-components/

All 4 comments

Hello. Is it possible for you to provide more info using the template? Also, would like to see the source code, may be a stripped down version on github.

yes of course, here is the link

https://github.com/SamSaprykin/maskCSS

Thank you. It seems like some configuration is missing in your project, like including gatsby-plugin-styled-components babel-plugin-styled-components

Please try including styled-components as mentioned in the docs - https://www.gatsbyjs.org/docs/styled-components/

Ahahah, lol. Thanks a lot. Don't understand how I missed this :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

brandonmp picture brandonmp  路  3Comments

signalwerk picture signalwerk  路  3Comments

dustinhorton picture dustinhorton  路  3Comments

ferMartz picture ferMartz  路  3Comments

theduke picture theduke  路  3Comments