-
Notifications
You must be signed in to change notification settings - Fork 830
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 with Remix #1618
Comments
Hey @imsteev, I'm not super well-versed in SSR either, but you shouldn't need to use the I'm assuming you've taken a look at our SSR example. Do you have a minimal reproduction repo for me to test out? |
@brandongregoryscott yeah I followed the concept of that example in a Remix app -- the code is here but you can see for yourself with these steps:
Did some more digging, and I think this problem is not specific to margins -- it's basically any dynamic value that can be provided (e.g, to a width prop) |
Yes, I haven't used Remix myself, but I'm guessing it's an issue with where that |
Hi, I'm using evergreen in a server side app. When I render something like this:
the first render of my page does not have the desired spacing. Further investigation led me to realize that the class ".ub-mt_32px" is not included in the
css
sheet that comes fromextractStyles()
. But upon the second load, this class is in the stylesheet.Why would this be happening and how/why would margin classes generate dynamically?
I may be missing something regarding SSR in general, this is the first app I've explored doing it with.
My workaround at the moment is to directly apply a
style
prop:The text was updated successfully, but these errors were encountered: