Opened this issue 2 years ago · 0 comments
TableHead without Reat.memo
TableHead
Reat.memo
TableHead with React.memo
React.memo
I think TableHead component should only run one times,but if TableHead without React.memo, it rerender more than 800 times.
I don't know what cause it rerender, and i think React.memo should wrapper it.