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

TransitionGroup causes hydration mismatch with tag fallthrough prop in SSR #12827

Open
L33Z22L11 opened this issue Feb 8, 2025 · 1 comment · May be fixed by #12829
Open

TransitionGroup causes hydration mismatch with tag fallthrough prop in SSR #12827

L33Z22L11 opened this issue Feb 8, 2025 · 1 comment · May be fixed by #12829
Labels
has workaround A workaround has been found to avoid the problem 🔩 p2-edge-case scope: ssr

Comments

@edison1105
Copy link
Member

edison1105 commented Feb 8, 2025

a workaround Playground

When the tag is not explicitly declared, TransitionGroup is rendered as a Fragment on the server side. However, on the client side, due to attr fallthrough, TransitionGroup is rendered as a div.

@edison1105 edison1105 added has workaround A workaround has been found to avoid the problem scope: ssr and removed scope:hydration labels Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
has workaround A workaround has been found to avoid the problem 🔩 p2-edge-case scope: ssr
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants