Content pfp
Content
@
0 reply
0 recast
0 reaction

Darryl Yeo đŸ› ïž pfp
Darryl Yeo đŸ› ïž
@darrylyeo
Small but monumental update to Svelte 5: state variables defined with the `$derived()` rune can now be directly assigned to, just like variables from `$props()`. This makes optimistic updates and other situations involving ephemeral state much simpler to write! https://github.com/sveltejs/svelte/pull/15570
2 replies
2 recasts
13 reactions

Darryl Yeo đŸ› ïž pfp
Darryl Yeo đŸ› ïž
@darrylyeo
https://svelte.dev/docs/svelte/$derived#Overriding-derived-values
1 reply
0 recast
0 reaction

Darryl Yeo đŸ› ïž pfp
Darryl Yeo đŸ› ïž
@darrylyeo
https://github.com/sveltejs/cli/issues/487#issuecomment-2743253910
1 reply
0 recast
0 reaction