from Hacker News

You should use React.memo more!

by cacozen on 1/13/21, 8:24 PM with 1 comments

  • by JMTQp8lwXL on 1/13/21, 8:50 PM

    Please only memo if you need to (e.g., "Wow! This component is noticeably faster when I use memo, there's customer value in that").

    Overly aggressive usage of React.memo, and premature optimization in general, tends to be more trouble than it's worth.