Hydration errors style attribute since vue 3.4 #10335
Unanswered
nestle49
asked this question in
Help/Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Now (since vue 3.4) we have hydration errors with styles attribute
For example two elements - section and button from the right side
Section has paddingRight attribute that depends from size button. It means after mount button size changed and we have hydration error - different paddingRight on client and server side. I try change padding only if mounted component, but it's failed - hydration is not finished
How can I now change the dynamic parameters of the style without getting a hydration error?
Beta Was this translation helpful? Give feedback.
All reactions