Closed joseph1125 closed 5 years ago
I was working on a page written in React, when I use React Perf to monitor performance, I found that this component wastes quite a lot of time. I recommend adding shouldComponentUpdate to reduce the wasted time and make the re-render much faster.
@joseph1125 Thanks for the heads-up. Mind putting up a quick PR for this? :+1:
I was working on a page written in React, when I use React Perf to monitor performance, I found that this component wastes quite a lot of time. I recommend adding shouldComponentUpdate to reduce the wasted time and make the re-render much faster.