🚀 Breaking news from the world of JavaScript! #Svelte developers are rejoicing because they can now #overwrite $derived 🍰—because nothing says progress like making things less immutable. 🎉 #GitHub PR 15570: rewriting the future, one bug at a time. 🐞
https://github.com/sveltejs/svelte/pull/15570 #JavaScript #Derived #PR15570 #WebDevelopment #HackerNews #ngated
feat: make deriveds writable by Rich-Harris · Pull Request #15570 · sveltejs/svelte

See sveltejs/cli#487 (comment) for an example of why this is useful. Docs: https://svelte.dev/docs/svelte/$derived#Overriding-derived-values Before submitting the PR, please make sure you do the fo...

GitHub