-
-
Notifications
You must be signed in to change notification settings - Fork 717
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
Hydration Error with elements containing mixture of text and other elements. #3384
Comments
Please include a minimal reproduction: i.e., a small, self-contained example that compiles as is, without requiring other code from your project, and reproduces the bug. |
I was able to reproduce 3385 easily. But this one is proving more elusive - even though I had to scour my app at work for all such instances to get rid of hydration errors. Guess I'll try some more tomorrow. |
I’m running into something similar and trying to track down a minimal reproduction. |
Yeah - I still haven't figured out what's causing it. Hopefully, I can get back at trying to reproduce the issue today. |
I think my issue is actually slightly different -- I can only reproduce it when using islands. I opened a separate issue with a minimal repro: #3419 |
I'm going to close this just to keep the issue tracker sane. Feel free to open a new issue with a reproduction in the future. |
Describe the bug
Hydration errors are being caused by elements containing a mix of text and other elements (perhaps only components? most testing may be needed).
Another example:
vs
Leptos Dependencies
To Reproduce
afaik - render
view!
s with aTransition|Suspense
as an ancestor that loads aResource
. I've only tried in a "real" app so far. I can try to get a small example to break later if needed.Expected behavior
Expected to be able to mix text and elements without hydration errors.
Additional context
If it's needed, let me know, and I'll try to throw together a small sample project.
The text was updated successfully, but these errors were encountered: