4 ms·
You should use React.memo more!
- JMTQp8lwXL 6y agoPlease 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.