Replies: 1 comment
-
I am also lost on this, I can't suss out how to use hydration from the docs. I'd like to put my stale prefetched state from getStaticProps (using ISR) onto my page and refetch once the page has loaded. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
How do we actually use hydration? I've been trying to make it work in my project, but no chance. Are there any examples for this?
I dehydrate the state like this
But then I'm lost on hydration as it takes in the dehydrated state. I tried below, but it doesn't work:
Beta Was this translation helpful? Give feedback.
All reactions