-
Notifications
You must be signed in to change notification settings - Fork 818
Open
Labels
help-wantedAn issue that needs additional investigation or community feedback to resolveAn issue that needs additional investigation or community feedback to resolvequestionA question around API, functionality, etc.A question around API, functionality, etc.
Description
Hi, I'm using evergreen in a server side app. When I render something like this:
<Pane marginTop="32px" />
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 from extractStyles()
. 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:
<Pane style={{ marginTop: '32px' }} />
Metadata
Metadata
Assignees
Labels
help-wantedAn issue that needs additional investigation or community feedback to resolveAn issue that needs additional investigation or community feedback to resolvequestionA question around API, functionality, etc.A question around API, functionality, etc.