opensas

Results 60 comments of opensas
trafficstars

BTW (and please let me know if you'd like me to report a new issue), if I run `npm run lint` (you can also try it on [gitpod](https://gitpod.io/#https://github.com/opensas/svelte-unused-exports-lint) I get...

Thanks a lot for your prompt reply. I thought that perhaps we could somehow use some of the afforementioned tools with the source compiled from svelte components, so that they...

Will this make conditionally forwarding named slots in svelte 4 possible? Right now I get this error if I try to conditionally forward (meaning, only forward it if it was...

> A variation of `$effect` with explicit dependencies could cover most of the use cases that `untrack` is used for — see #9248. > > Instead of making `untrack` a...

I think something like this would be pretty useful. Usually when I needed to manually control which variables triggered reactivity it was easier for me to think about which variables...

@eddiemcconkie that's a great example of a good opportunity to explicitly define dependencies we could also add an options parameter like this ```typescript $effect(() => saveState = 'dirty', { track:...

> @opensas would that still track dependencies based on what's referenced in the callback? I think the difference with the `$watch` proposal is that it wouldn't automatically track dependencies no,...

> > I want to reiterate that it's really easy to create this yourself: [#9248 (comment)](https://github.com/sveltejs/svelte/issues/9248#issuecomment-1732246774) Given that it's so easy I'm not convinced this warrants a new (sub) rune...

Is this pr ever going to be accepted? it's a rather annoying issue...

Thanks a lot for your reply @pngwn, I completely agree that we shouldn't support nor encourage invalid JavaScript syntax, you have a good point there. I think we should have...