Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting Flash of Unstyled Content (FOUC) #907

Closed
cadamsdev opened this issue Jan 1, 2021 · 1 comment
Closed

Getting Flash of Unstyled Content (FOUC) #907

cadamsdev opened this issue Jan 1, 2021 · 1 comment

Comments

@cadamsdev
Copy link

cadamsdev commented Jan 1, 2021

Problem

Upon refreshing the page I'm seeing unstyled content.

2020-12-31 19 59 07

I checked out previous commits to see when this started happening. This issue starts happening on this commit 0fab482. Seems to be an issue with migrating to tailwind 2.0

Steps to reproduce

  1. Cloned project
  2. Ran npm install
  3. Ran npm start
  4. Refreshed page (In Google Chrome clicked refresh button)
@lukebennett88
Copy link
Collaborator

This issue has been addressed in this PR: #908

The issue seems to be with Gatsby, not Tailwind. Both were updated at the same time.

The Gatsby team are aware of the issue:
gatsbyjs/gatsby#28805 (comment)

The changes mentioned in that thread have been merged, but I haven't tested if the latest version of Gatsby actually fixes this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants