-
-
Notifications
You must be signed in to change notification settings - Fork 440
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
Homepage has a lot of styles #36
Comments
@mxstbr it is because we're not actually wrapping around the app. There's an open issue for this on next.js :) |
This is resolved for now as I've added a vendored version of next with the fix mentioned above Edit: I created an issue to remind myself to get rid of the vendor tarball: #94 |
Looks good! I notice styled-components.com has a lot fewer styles now, so that's great. it still appears to be injecting every rule twice though? |
@threepointone Wow! It indeed is. Wtf? Edit: In this case I shall reopen this issue |
This is fixed, right? |
For some reason the homepage ships a lot of styles (a few thousand lines) even though it should only serve the ones needed to render the homepage. Something's wrong, /cc @styled-components/core 🤔
Maybe that's due to Next.js and how it renders?
h/t @threepointone @AndrewIngram
The text was updated successfully, but these errors were encountered: