-
-
Notifications
You must be signed in to change notification settings - Fork 826
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
Client-side error only in release mode on 0.6.0-alpha.2: Uncaught TypeError: root is undefined / Cannot read properties of undefined (reading 'appendChild') #2926
Comments
I'm having some trouble producing a minimal reproducible example, so I think there's more playing a role here, but it seems to be related to |
Welp, this is odd. Adding:
To my I notice that that does delay the final part:
Getting delivered and thus hydration starting. |
I got the same error on the latest git version, and the |
I've created a minimum repro. https://github.com/ryo33/dioxus-repros/blob/646c6791482d1227eb69f48ac6cb0faad5d34e21/src/main.rs#L19-L40 It's just a server function that waits a milli-second. It reproduces regardless of whether |
It still happens on the latest "[email protected]" |
Problem
Client-side panic when hydrating a release (not debug) fullstack build on 0.6.0-alpha.2:
Chrome:
Steps To Reproduce
Unsure; it doesn't happen in a new project. Will try to narrow down what's causing it in mine.
Expected behavior
No panic.
Environment:
The text was updated successfully, but these errors were encountered: