Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSR + Slot inside TransitionGroup results in hydration mismatch #9933

Closed
logotip4ik opened this issue Dec 27, 2023 · 2 comments · Fixed by #9937 or #9961
Closed

SSR + Slot inside TransitionGroup results in hydration mismatch #9933

logotip4ik opened this issue Dec 27, 2023 · 2 comments · Fixed by #9937 or #9961
Labels

Comments

@logotip4ik
Copy link

Vue version

3.2.43+ 3.3.0+ 3.4.0+

Link to minimal reproduction

https://play.vuejs.org/#__SSR__eNqNU8FOwzAM/RWTC5dtFeIGBQkQQnAABJO45FJ1Xhtokyhxt6Fp/46TbnQb3cSpjd+z34v7uhQ31o5mDYoLkfrcKUvgkRp7LbWqrXEEHy6zFh1MnanhdJSsz6Hp9LJjKSofnGns2GXaK1JGdx1/sU13mrSiLMcHwtpWGSGfANKT4TA8x6XyUH5PHAMe5jwLauXrjPIS/QBwhhqoNE1RgiKYG/flYao0AjugEiGvFGoKk4bDdnCPnwgwZK91VuNZmoQF8LnPe/Ta+fsoVYWsxC478Van3dTh2Vt49JYmWxsQA0E+N3qqitGnN5q/0DIwpchNbVnTvdhgx0txAREJWFZVZv4Ua+QaHGzqvKz8q6f+6RehJsWrQ49uhlL8YpS5AqmF79+fccHvv2BtJk3F7CPgG3pTNcFjS7tt9IRtb/Gi28eYIKWLsb9fEPKW15cKRgNzFflScGbujly9s3s+Oo99Uq94iwfidzjxS+iYsRFW6yz/I7X7rZQVV1JM1EyKTRB8ZQiSdQj2+D0p2PrhguddOR7cO7at745a/QCPg1Wp

Steps to reproduce

Toggle SSR on and off to see hydration mismatch message

What is expected?

Not to contain hydration mismatch

What is actually happening?

HTML rendered on the server returns component(s) wrapped in comment rather then actual wrapper component. This is why hydration contains mismatches

System Info

No response

Any additional comments?

No response

@edison1105
Copy link
Member

I will take a closer look later.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
2 participants