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

Server Side Render Issue #53

Closed
mattoni opened this issue Jan 15, 2018 · 2 comments

Comments

@mattoni
Copy link

@mattoni mattoni commented Jan 15, 2018

When rendering on the server side, there is no way to get the style sheet that is loaded by the font awesome component and send it over with the request.

this is causing my icons to "jump" in size as the styles are applied since the server renders them large, then they are rendered again when react kicks in and the new styles are applied.

Could you create a method to extract out the styles so they can be included by the servers HTML response?

@RustyDev

This comment has been minimized.

Copy link

@RustyDev RustyDev commented Jan 16, 2018

I'm having the same problem and was able to solve it by setting a width and height in my scss.

@robmadole

This comment has been minimized.

Copy link
Contributor

@robmadole robmadole commented Jan 16, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.