Samuel
@samuel.fm
I've noticed that the bsky app has a *lot* of useCallback hooks - makes me wonder about the impact that must have on performance (given that 90% won't really be doing anything)
1 7
P(aul) Frazee
this is my first big react project since after the hooks change and I only just became aware of the more nuanced aspects of when to useCallback. it might not be ideal right now
4 24
Samuel
Ah fair enough, yeah it’s a bit overboard atm haha. useCallback is useful but it’s overkill if you’re just making an onClick handler
3
Lordbeef
Hmm have you tried firing 2/3rds of people who coded it and publicly yelling at anyone who says that's a bad idea?
1 2 18
ObjectiveCosta
I still find it mind blowing that we can have these sorts of replies directly from who’s building it (and look at src code too). Amazing stuff, never thought I’d see this sort of thing! 🥳
5