-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Error: Failed to execute 'insertBefore' on 'Node': #380
Comments
Similarly we are also seeing
Happens around
|
Hmm - this is very odd. That's a common pattern that's fairly widely used. One question though: you're passing two children to |
Container and ContainerItem are actually div's, its just the component names that renders, wanted to give an idea on the structure it returns like.
|
That makes sense. |
Hoping this is fixed in 7.1.0 (out very shortly) |
Hello @rajeshsegu can you confirm whether preact v7.x fixes this problem for you? |
Fixed in 8! |
We are using preact 6.4.0
The child element is trying to replace the parent with a new element. Any thoughts on what could trigger such a case ?
Example Scenario:
This is what is happening in renderComponent class....
<ContainerItem>.replaceChild(<Container>, <svg>);
Any pointers to debug / fix this is much appreciated.
The text was updated successfully, but these errors were encountered: