Replies: 2 comments
-
I already ran into 3 library that would insert element in the body event just include/import the library. which break the hydration. I guess If we can just hydrate on a specify element, then we can prevent this problem. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I've got a solution for the hydration issues entirely in userland. |
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
-
some libraries will change the document, for example utteranc. And that will break the hydration.
I can fix this by include the library after hydration - do it inside
useEffect
hook.But in StrictMode, the hook will execute twice.
Can I change the hydrate node?
Beta Was this translation helpful? Give feedback.
All reactions