News for hackers. Stuff that matters.

cheeew

Re:We memo all the things (2020) 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.

Re:Ask HN: What is your favorite motto? on Friday September 11, 2020 @12:53PM (#24444671)
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."

Ask HN: What makes a great personal website?

I'm getting ready to make a new personal site and wanted to grab some opinions from the HN community as to what makes a great personal website.What's the one or two things you look for when exploring a new personal site? Feel free to mention your own personal website or portfolio site as well as other personal sites you find noteworthy.

( Read More... | 12 comments | 18 points | on HN )
Re:Carving out a niche as a small artist on Spotify on Friday June 26, 2020 @12:21PM (#23653723)
@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.