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

(vite) Flash of unstyled content occurring on dev environment #7906

Closed
1 task done
aAtila opened this issue Nov 4, 2023 · 3 comments
Closed
1 task done

(vite) Flash of unstyled content occurring on dev environment #7906

aAtila opened this issue Nov 4, 2023 · 3 comments

Comments

@aAtila
Copy link

aAtila commented Nov 4, 2023

What version of Remix are you using?

2.2.0

Are all your remix dependencies & dev-dependencies using the same version?

  • Yes

Steps to Reproduce

Expected Behavior

Styles should be applied seamlessly upon page load without any interim period of unstyled content.

Actual Behavior

I am experiencing a flash of unstyled content when pages are initially loaded on my development environment. This issue manifests as unstyled content displaying for a brief moment - typically a second or two - before the styles are applied.

Occurence

  • dev: This behavior is consistently reproducible in the development environment only.
  • build: The issue is not present when serving a build; the styles load as expected without any noticeable delay.
@rodolphoasb
Copy link

Possible duplicate of #7853 and #7870

@pcattori
Copy link
Contributor

pcattori commented Nov 4, 2023

Duplicate of #7878

@pcattori pcattori marked this as a duplicate of #7878 Nov 4, 2023
@pcattori pcattori closed this as completed Nov 4, 2023
@quantuminformation
Copy link

Im getting a flash of styled content then unstyled for infinity

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

No branches or pull requests

4 participants