Dominic Gannaway

Results 317 comments of Dominic Gannaway

After speaking to @Rich-Harris about this, we feel the correct fix for this is to make it so the `@html` block can handle comments inside the content without hydration breaking....

I think this can probably wait for 5.x, as it's not a blocker?

> The problem was that, after correcting the behaviour, it used the $effect internally anyway. It didn't. It used a derived. We wanted to not ship something that we regretted...

@7nik The effect wasn't the fix, it was just a bug in the initial implementation.

I really don't understand the Svelte 4 example, as that too runs on component init just like Svelte 5. As per the suggestions above, there are plenty of ways to...

The second issue about `NaN` comes from the fact we clone a template using `cloneNode`. Solid and other frameworks that use this strategy also run into this issue too. https://playground.solidjs.com/anonymous/ffdcc57c-5ef1-4dea-b426-dd0311d2d22f....

@michelheusschen I couldn't see any code in Svelte 4 that filters it out? Am I missing something here?