-
Notifications
You must be signed in to change notification settings - Fork 30.7k
Closed
Description
Hello,
I'm trying to include a css resource using the Head component (it's a large css file, so I don't want to use glamor)
<Head>
<meta charSet='utf-8'/>
<meta name='viewport' content='initial-scale=1.0, width=device-width'/>
<link rel="stylesheet" href="/static/css/application.css"/>
<script defer src="/static/js/application.js"></script>
</Head>Unfortunately by doing so, when I navigate to another page, the css gets unloaded and then loaded again causing the UI to kinda "flicker".
What's the NextJS way to deal with that use case?
Thank you.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels