-
-
Notifications
You must be signed in to change notification settings - Fork 625
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
[0.7] Panic at HtmlElement::hydrate #2953
Comments
Note also that Happy to investigate the difference of course. Functions that return views are handled slightly differently from views themselves for the purpose of suspense, for complicated reasons having to do with supporting both synchronous and async resource reads in Suspense. (This panic is just one of the ways that a hydration error manifests itself) |
I tried these (with line 120 commented):
I tried these (with line 120 uncommented):
I tough I'll experiment more on the full app and see if passing |
No, this is mistaken. Let's say
The part that's specific to the view macro is that |
Describe the bug
When trying to debug another bug, I stumbled upon a panic at
tachys/src/html/element/mod.rs:382:61
The bug manifests when I comment an unused variable in a component, don't know how could this be influencing. Tested on debug profile.
Leptos Dependencies
Git revision 4dea119
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Page loaded without panics
Error Backtrace
Additional context
When the line 120 is uncommented, it manifests the other bug I mentioned on discord, still trying to reduce the example and pinpoint something as the cause. Experiments on https://github.com/osmano807/hydration-bug
The text was updated successfully, but these errors were encountered: