Open
Description
Describe the problem
As written in the svelte doc, variable declared with $derived
are not converted to deeply reactive proxies:
https://svelte.dev/docs/svelte/$derived#Deriveds-and-reactivity
The only way there currently seems to be is using $state
to create the derived variable and $effect
to reflect the changes.
related discussion: #16187
Describe the proposed solution
I want something that allows me to natively do that.
maybe something like
const thisIsDeeplyReactive = $derived($state(source));
Importance
nice to have
Metadata
Metadata
Assignees
Labels
No labels