Skip to content

Question about ReactDOMServer.renderToStaticMarkup #168

Closed Locked Answered by igordanchenko
ashiq-prospero asked this question in Q&A
Discussion options

You must be logged in to vote

Well, the documentation is pretty clear about it.

To enable server-side rendering, be sure to specify defaultContainerWidth prop. Otherwise, React Photo Album produces empty markup on the server and renders on the client only after hydration.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ashiq-prospero
Comment options

@igordanchenko
Comment options

Answer selected by igordanchenko
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants