Unexpected Ballmer peak
30.07.2025 21:40 β π 431 π 31 π¬ 18 π 0@adamrackis.bsky.social
Senior Web Engineer at Spotify. Prev, Riot. Next, React, Svelte, C++ when I'm feeling nasty. Beer, whiskey, coffee snob. Book lover. Jr Developer for life.
Unexpected Ballmer peak
30.07.2025 21:40 β π 431 π 31 π¬ 18 π 0How has this not leaked by now
22.07.2025 17:24 β π 4 π 0 π¬ 0 π 0Zustand is one of those wonderfully simple, fun tools you get hooked on pretty quick.
I can't believe it took me this long to discover, but I wrote up a quick intro on it. Better late than never π¬
frontendmasters.com/blog/introdu...
WHO DOESN'T :D
20.07.2025 21:26 β π 1 π 0 π¬ 0 π 0Sorry to be dumb but what does AI have to do with this?
20.07.2025 20:42 β π 3 π 0 π¬ 2 π 0AI is evolving at a terrifying rate
19.07.2025 02:32 β π 16 π 1 π¬ 2 π 0stay mad π
07.07.2025 16:30 β π 0 π 0 π¬ 0 π 0hahahahahaha
07.07.2025 16:30 β π 0 π 0 π¬ 1 π 0I just had my first angry reply-guy in my mentions!
Bluesky is maturing!
Congrats y'all π
Oh no a useless reply guy doesnβt like me what will I do π¬
07.07.2025 16:19 β π 0 π 0 π¬ 1 π 0no u
07.07.2025 16:10 β π 0 π 0 π¬ 1 π 0Holy shit you're pressed we don't run into re-render perf issues lmaoooooo
07.07.2025 16:03 β π 0 π 0 π¬ 1 π 0I don't use Zustand at all at work. I just work with talented engineers so I never, ever deal with render perf problems. That's why I was wondering what I was wondering π€·ββοΈ
07.07.2025 15:57 β π 0 π 0 π¬ 1 π 0Idiotic comparison nicely done
07.07.2025 15:41 β π 0 π 0 π¬ 0 π 0Rerender perf has never ever been an issue for me, rerender issues are easily solved with tools like Zustand, so yeah I was curious whether Compiler was worth the effort. Sorry that makes you so mad lmfao
07.07.2025 15:41 β π 0 π 0 π¬ 1 π 0No I work with talented engineers. It just doesn't come up for me π€·ββοΈ
07.07.2025 15:21 β π 0 π 0 π¬ 2 π 0I work on an old React app at scale with zero Zustand. I never deal with rerender perf issues. Maybe you just have skill issues
07.07.2025 15:10 β π 0 π 0 π¬ 1 π 0No, because re-renter performance is never an issue for me
07.07.2025 15:02 β π 0 π 0 π¬ 1 π 0It wasnβt an issue. I was observing re-renders to compare vanilla react to Zustand and was surprised. Thatβs all π
07.07.2025 14:52 β π 0 π 0 π¬ 1 π 0damnnnn you're really worked up π
07.07.2025 14:10 β π 0 π 0 π¬ 1 π 1Hahaha stay mad weirdo
07.07.2025 14:00 β π 0 π 0 π¬ 1 π 0lol fuck off I didnβt call out anything I asked a question about re-renders. I didnβt know the answer because re-renders are something that never, ever comes up for me π
07.07.2025 12:50 β π 0 π 0 π¬ 1 π 0Hi π
Thanks a ton for confirming what @acemarke.dev surmised. It was a long time ago and yeah, now it all makes sense π
My god thank you so much!!!!!
06.07.2025 16:32 β π 1 π 0 π¬ 1 π 0Interesting, so this would only matter if this component had state _other than_ the memoized context data?
Then that other state changing would not affect the memoized context, and so context providers would NOT re-render when that other state changed?
Bam - thank you! More engagement on Twitter, but this zero'd in on it. Thank you so much!!!!
06.07.2025 16:10 β π 5 π 1 π¬ 1 π 0Does that advice presume that you'll have memoized components underneath the context provider, so that passing the memoized context value won't break those components' memoizations?
06.07.2025 15:26 β π 0 π 0 π¬ 1 π 0I have a question about, of all things, React
I'm 99% sure I remember a highly respected React core member (Sophie) advising that you memoize context values to help avoid re-renders.
BUT in my own testing it seems this component's *parent* re-rendering always re-renders this, and all its children
I know the folks who built it are smarter than I'll ever be but I can't help but think the React compiler was kind of a waste of resources
- Superfluous re-renders are very, very rarely an actual perf problem
- Tools like Zustand let you tame re-renders while *improving* dx