My component needs to know if it needs to be hydrated #13472
Unanswered
sakura-yinfeichen
asked this question in
Help/Questions
Replies: 1 comment
-
As far as I'm aware, there isn't currently a function you can use for this. #1723 and #2016 discuss adding support for this in the Options API. In this comment, #2016 (comment), Evan suggests adding In my opinion, this would be a really useful feature, and the addition of lazy hydration strategies in 3.5 made it even more tricky to workaround the problem effectively. |
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.
-
SSR application: hydration mismatch, because isClient has different values on the server and client
Getting the value in the mounted lifecycle hook seems a bit strange
My component needs to know if it needs to be hydrated
Beta Was this translation helpful? Give feedback.
All reactions