Hacker Newsnew | past | comments | ask | show | jobs | submit | cheeew's commentslogin

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.


From Patrick Collison's advice page (https://patrickcollison.com/advice):

"More broadly, nobody is going to teach you to think for yourself. A large fraction of what people around you believe is mistaken. Internalize this and practice coming up with your own worldview. The correlation between it and those around you shouldn't be too strong unless you think you were especially lucky in your initial conditions."


@kleer001, click on the options button (the three dots) for any video you’re uninterested in on YouTube and select “not interested.” This should help your generated feed.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: