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 () => {
...
There's some pretty bleak shit going on right now. I don't like to dwell on it — I'm 'protecting my peace' as gen Z says, and I don't think of myself as a particularly political person — but I'm also not going to ignore it. Not supporting X is the easiest test any of us will face in the coming years
the fact that you describe anti-capitalists as 'morons' is what makes you center-left (this is not a statement about anti-capitalists, it's a statement about how spectrums work)
0 reposts17 likes