FOUC when using style tag with Gatsby Head API #39239
Labels
status: triage needed
Issue or pull request that need to be triaged and assigned to a reviewer
type: bug
An issue or pull request relating to a bug in Gatsby
Preliminary Checks
Description
When inserting the style tag via Gatsby Head there is a flash of unstyled content (content without style appears for a split second, after which styles are loaded). This effect occurs both when entering the site and when following internal links.
When using
react-helmet
there is no such effect.Reproduction Link
https://github.com/alexey0975/Gatsby-Head-API-with-style-tag
Steps to Reproduce
Expected Result
Opening the site and transitions between pages are smooth without style jumps
Actual Result
When opening the site and navigating through the pages there are flashes of unstyled content
Environment
Config Flags
No response
The text was updated successfully, but these errors were encountered: