Skip to content

Next JS SSR Hydration Issue #78

@doptster

Description

@doptster

Is your feature request related to a problem? Please describe.

Hi, may I know is there a way I can fix the layout shift during the hydration for Next JS application? It looks obvious on network throttling.

Describe the solution you'd like

Prevent layout shift for SSR application.

Describe alternatives you've considered

No response

Additional context

<PhotoAlbum
        layout="rows"
        photos={photos}
        spacing={2}
        padding={2}
        targetRowHeight={200}
/>

or validate via
https://react-photo-album.com/examples/rows

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions