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

[jss] Fix SSR rendering #1064

Merged
merged 5 commits into from
Mar 17, 2019
Merged

[jss] Fix SSR rendering #1064

merged 5 commits into from
Mar 17, 2019

Conversation

HenriBeck
Copy link
Member

What would you like to add/fix?
This fixes generating the styles when no Renderer is present.

Corresponding issue (if exists): #1062

@HenriBeck HenriBeck requested a review from kof March 16, 2019 23:20
@HenriBeck
Copy link
Member Author

@kof After this fix, some tests inside the priority test suite are failing. Not sure why though.

attached flag needs to be set after attachment, otherwise the sheet will be already considered when finding the right position in DomRenderer to attach the sheet after
@kof
Copy link
Member

kof commented Mar 17, 2019

fixed

@kof kof merged commit 26c9bb8 into master Mar 17, 2019
bhupinderbola pushed a commit to bhupinderbola/jss that referenced this pull request Sep 17, 2019
* Add failing test

* Fix tests

* Fix tests

* fix order

attached flag needs to be set after attachment, otherwise the sheet will be already considered when finding the right position in DomRenderer to attach the sheet after
@iamstarkov iamstarkov deleted the bugfix/fix-ssr-rendering branch October 4, 2019 09:42
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