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

Allow RootElements to each have their own CSS #240

Open
doug-wade opened this issue May 31, 2016 · 1 comment
Open

Allow RootElements to each have their own CSS #240

doug-wade opened this issue May 31, 2016 · 1 comment
Labels
enhancement New functionality.

Comments

@doug-wade
Copy link
Collaborator

doug-wade commented May 31, 2016

This one is more of a research project in all honesty. It's based on this article by Jake Archibald about CSS link tags in the body, and how they can reduce the amount of time your page spends waiting for CSS before rendering. It's hard for me to see how this would be done with the current API of react-server and webpack.

Migrated from #50

@gigabo gigabo added the enhancement New functionality. label Jun 1, 2016
@doug-wade
Copy link
Collaborator Author

I added a styled-components example that demonstrates how to set styles for a single RootComponent -- does that resolve this issue @aickin @hzhu ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New functionality.
Projects
None yet
Development

No branches or pull requests

2 participants