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

SSR Support #65

Open
brianjd opened this issue Mar 10, 2018 · 1 comment
Open

SSR Support #65

brianjd opened this issue Mar 10, 2018 · 1 comment

Comments

@brianjd
Copy link

brianjd commented Mar 10, 2018

Not exactly the same issue as #62 , so I created a new issue.

I am also having difficulty with getting SSR to work with styled-jss. Using createStyled, I create a new styled using an existing jss instance. Though the styles render client-side, they aren't making it into the registry, and therefore not getting injected into the critical CSS. Is the jss instance supposed to handle the insertion of styles into the registry? Or this is something styled-jss is supposed to handle that hasn't been implemented yet?

@kof
Copy link
Member

kof commented Mar 10, 2018

SheetsRegistry is provided by JSS, but adding to it is a task of the react integration.

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

No branches or pull requests

2 participants