Hacker News new | ask | show | jobs
by pacala 2238 days ago
Memoization is getting me too. I end up memoizing everything, which is more verbose than I'd like. Perhaps we're missing some obvious pattern?
1 comments

Though note that React.memo(Component) gives you the same behavior as React.PureComponent which is what people were tending to default to anyways.