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 () => {
...
I've tended to notice that people in the tech industry tend to consider themselves 'apolitical' or straight up don't pay attention to what's happening outside their bubble. To be honest, I thought you were different — your personal brand is 'outraged centrist liberal feminist dad'.
1 repost69 likes
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