PSA for @svelte.dev users: we're planning to change how effect teardowns work to eliminate a common gotcha that affects signal-based frameworks. If the new behaviour would create problems for you, please let us know! github.com/sveltejs/sve...
Post
github.comfix: on teardown, use the last known value for the signal before the set by trueadm · Pull Request #15469 · sveltejs/sveltePSA: we are changing how effect teardowns work!
Today, if you read some state inside a teardown function, you get the latest state:
$effect(() => {
const prev = value;
return () => {
...
depends what you find interesting. the vast majority of the musicians/writers/reporters/foodies/scientists etc that made X interesting (to me) — in other words, the creatives — have very largely abandoned ship. if you only care about tech and don't mind being part of the fascism machine, X is fine
0 reposts59 likes