Noureldin Zein

Results 19 comments of Noureldin Zein

I might be wrong but I don't think theyre supposed to be used together in one file. What's stopping you from using a derived rune for the bottom example as...

Yeah but you should be able to synchronise stores with `$derived`

Yeah should prob be better documented but stores are fully compatible with the new runes stuff so you can use them in all runes including state, derived and effect. This...

Can't you do something like this: ```js import { untrack } from 'svelte'; $effect(() => { untrack(async () => { await fetch("/"); }) }); ``` I feel like when I'm...

One less import and its kind of annoying that its the last lifecycle function thats really left. I find it kind of jarring to have `$effect` next to `onMount` in...

Well if `onMount` was removed so would `onDestroy` no? I get that its not a good reason its just a personal preference, I'm not saying that some syntactic sugar _needs_...

It should be converting it to `let textarea: HTMLTextAreaElement | undefined = $state()` but this seems to have been skipped because before migration it already had a type.

Maybe have a quick note and link under the props rune to the more advanced use cases? Keeps the more advanced stuff neatly tucked elsewhere but also acts as a...

Had the same issue. Phone turned off because of low battery and it had an update queued up. I have "Require battery above warning level" and "Require device to be...