Ivan bu
ivv.bsky.social
Ivan bu
@ivv.bsky.social
The Hedgehog, or there and back again
My bet is that with adoption of useEffectEvent it will become much less common (for good). useEffect is already complex on its own, even without the need to build a mental tree of dependencies of callbacks
October 3, 2025 at 1:41 PM
Yeah. I know how it works. But people just don’t write code like in your example because it is hard to track when function identity change
October 3, 2025 at 12:44 PM
I doubt “most effects” but I feel it was already discussed many times on internet. Really glad we have useEffectEvent now! Really useful for perf optimizations. The only thing left is granular context subscriptions
October 3, 2025 at 12:09 PM
Oh. Right. It is interesting that in real life I think I never seen an effect that was written to intentionally react to fn identity change. UseCallback with deps has a clean mental model but turned out not very practical
October 3, 2025 at 11:37 AM
What was the reasoning to make use Callback to have a dependency array instead of making essentially like useEffectEvent?
October 3, 2025 at 11:16 AM
Но кофе получается немного мутноватым и с осадочком. Воронка Clever - вот это идеал. Элементарно заваривать, вкусный кофе и не надо мыть, так как выкидываешь фильтр и все
July 4, 2025 at 6:43 PM
@phoenix.tapbots.com will save us all
May 25, 2025 at 4:48 PM
Зато храниться будет дольше
February 5, 2024 at 4:44 PM
Круто получилось
November 23, 2023 at 4:29 PM
Эласт Фандорин
October 26, 2023 at 4:42 PM
Interestingly, it’s kinda liberating when you see an external reasons for your mood or thoughts
October 1, 2023 at 4:00 PM