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

Render Emotion CSS statically #258

Merged
merged 3 commits into from
Sep 14, 2018
Merged

Render Emotion CSS statically #258

merged 3 commits into from
Sep 14, 2018

Conversation

shawnbot
Copy link
Contributor

We removed the styled-components static CSS rendering in #253, so I thought it might be good to instead render the Emotion styles and get rid of the more jarring parts of our Flash of Unstyled Content.

After installing emotion-server, I upgraded a couple of our other emotion packages to the same version (9.2.8) from 9.2.6 just to be sure that we don't hit any cross-package compatibility issues. (Note that [email protected] wasn't available, so I left it at 9.2.6.)

@vercel
Copy link

vercel bot commented Sep 14, 2018

This pull request is automatically deployed with Now.
To access deployments, click Details below or on the icon next to each push.

@shawnbot shawnbot changed the base branch from master to q3-scrambled-eggs September 14, 2018 17:14
@shawnbot
Copy link
Contributor Author

Sorry, lemme fix the merge conflicts here.

Copy link

@emplums emplums left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yay! thanks for doing this! let's merge it!

@shawnbot shawnbot merged commit b5e5ca5 into q3-scrambled-eggs Sep 14, 2018
@shawnbot shawnbot deleted the emotion-static branch September 14, 2018 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants