Better HN
topnewbestaskshowjobs
Log inSign up

wikoj1021

1 karma · joined Sep 20, 2023 (3y ago) · 1 submissions

Submissions

comment 3y ago · link · parent

What about scoped reactivity? Sometimes you need to react on some of the states not all of them. Right now we are achieving this by passing function with arguments to react on to $: but with $derived and $effect it seems to be not possible because it takes variables from every function passed. Are there any plans how to resolve this? Also nested $effect instead of onMount looks awfull and to be honest is less readable.