News for hackers. Stuff that matters.
Re:We memo all the things (2020) by cheeew on Monday October 25, 2021 @11:55AM (#28989273)
I've normally heeded to the advice from Dan Abramov (https://overreacted.io/before-you-memo/) and KCD (https://kentcdodds.com/blog/usememo-and-usecallback): mainly due to the fact that I figured performance would take a significant hit by using unnecessary React.memo / useMemo calls throughout the codebase.

One negative side-effect I could see as a result of this pattern is devs becoming too reliant on these optimizations and neglecting composition.

But I suppose if the performance gain is substantial enough and DX isn't negatively impacted too much, it could serve as worthwhile-- especially at the level of scale which Coinbase requires.

There are no comments on this comment yet.