Next.js SSR example? #64
-
I think I have a sense of how this is likely to work, but could you provide some guidance on how to handle SSR rehydration on the client? Is it as simple as just making sure observable() is called on both sides and that the server sends down the POJO of the observed value somewhere (getInitialProps)? |
Beta Was this translation helpful? Give feedback.
Answered by
jmeistrich
Nov 5, 2022
Replies: 1 comment
-
Yes, it should not need to work any differently than any other kind of state. As long as the value in the observable matches on client and server, everything should work as expected. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jmeistrich
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, it should not need to work any differently than any other kind of state. As long as the value in the observable matches on client and server, everything should work as expected.