#Why does my styles flash for a second?

1 messages · Page 1 of 1 (latest)

marble light
#

When the page loads i can see an unstyled version before a second.

mortal briarBOT
#

Hi @marble light. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

Hmm, I don't know enough to give you a confident answer yet. However, you can refer to the Next.js documentation for more information on how to handle styling and rendering: https://nextjs.org/docs

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:

Get started with Next.js in the official documentation, and learn more about all our features!

#

@marble light kapa.ai is still learning and improving, please let us how it did by reacting below

mint sage
#

I am getting this issue as well. It's especially clear with images that don't get resized until a split second later @marble light

#

Are you still getting this issue?

marble light
#

Hello

#

The issue was gone as soon as i moved the styles provider on top of the app

mint sage
#

@marble light Do you mean the you wrapped the root layout in the style registry?