Skip to content

How to use server-side rendering and custom themes at the same time? #469

Answered by unix
Lifeni asked this question in Q&A
Discussion options

You must be logged in to vote

This should be related to the styles that can only be collected by server-side rendering, which I'm investigating, but there's no particularly good solution yet.
This issue(#258 ) should help you, using <Page render="effect">{children}</Page> to keep the theme from rendering until after loading can avoid this problem, but it's not the best practice, if anyone has a better improvement, feel free to leave a comment.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Lifeni
Comment options

Answer selected by Lifeni
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