Skip to content
This repository has been archived by the owner on May 8, 2021. It is now read-only.

An entire global style against Next's default CSS-in-JS #120

Open
paperfella-ceo opened this issue Mar 27, 2021 · 0 comments
Open

An entire global style against Next's default CSS-in-JS #120

paperfella-ceo opened this issue Mar 27, 2021 · 0 comments

Comments

@paperfella-ceo
Copy link

By making all the styles pages/_app.js available globally, the browser then must download and cache the entire file the first time. Is it different from the Next's default CSS-in-JS where a component has it's own CSS and it only loads when the component it's mounted.

How the difference between them would be? Is it worth?

@paperfella-ceo paperfella-ceo changed the title An entire global style against Next's default CSS-inJS An entire global style against Next's default CSS-in-JS Mar 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant