Dominic Gannaway

Results 324 comments of Dominic Gannaway

So the reasoning for `current_dependencies_index` is to avoid allocations of new arrays, and thus remove the GC pause that tends to really hurt signal based implementations because of all the...

It's hard to debug without any examples or links. If you have some, please share :)

Would be good to have a perf recording from Firefox dev tools then. I've tried a lot to try and break it in FF and nothing for me. Maybe some...

The bane of my life these days is Firefox. It's so inconsistent with other browsers and lags behind in spec compliance.

> I also wonder if an error is appropriate. In one app I converted to Svelte 5, I hit an error immediately because a contained another The browser might try...

I think we need this in addition to the formatter as for many people that use Chrome, the experience of using the formatter will exceed the experience of anything else....

It would be good to know if the update loop is synchronous each time. In which case we can use a counter like we already do for infinite loop detection...

Things like `$this` and `getCurrentComponent` are complicated to implement in Svelte 5. That's because components aren't instances and are instead functions, so when you reference them, you're actually just taking...

@paoloricciuti Maybe, but it gets complicated around components that have accessors enabled as they're added as getters/setters.

@Freeskier `bind:this` uses to the object that is returned from the component function. If you look on the playground at the compiled output, it should make more sense. That's how...