Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

SSR with Remix #1618

Open
Open
Labels
help-wantedAn issue that needs additional investigation or community feedback to resolvequestionA question around API, functionality, etc.
@imsteev

Description

@imsteev

Hi, I'm using evergreen in a server side app. When I render something like this:

<PanemarginTop="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 thecss 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 astyle prop:

<Pane style={{ marginTop: '32px' }} />

Metadata

Metadata

Assignees

No one assigned

    Labels

    help-wantedAn issue that needs additional investigation or community feedback to resolvequestionA question around API, functionality, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp