You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for this report! It looks very similar to #319 - the cause of which was capricorn86/happy-dom#1392. If you have the time and ability, it would be super helpful if you could use the Svelte source code as a guide to narrow this reproduction down to a specific vanilla JS interaction that causes this exception in happy-dom.
They're super responsive to bugs over at happy-dom, so if we can figure out the specific interaction - without Svelte itself actually involved - I'm sure we can get it fixed quickly.
Thank you for the quick reply and the encouragement to dig deeper. I dug so far that I found out it that the bug is directly in happy-dom and not at all here, so I created a new issue over there. Thank you!
It seems like I ran into a very specific edge case. I can't render a component that
if
blockFor example, this does not render. (Yes, it even happens with these "static dynamic" values.)
I'm getting this error:
I have created a full reproduction here: https://github.com/danieldiekmeier/happy-dom-svelte5-repro
It even contains additional cases where you can see that if
if
block, it worksdiv
instead of a table, it worksThe text was updated successfully, but these errors were encountered: