mui-datatables
mui-datatables copied to clipboard
Performance issue when select one row in a large table.
Expected Behavior
When select one row by clicking the checkbox, finish rendering quickly.
Current Behavior
It's too slow.
Steps to Reproduce (for bugs)
- Modify the file of component/index.js in examples by adding 1000 rows of new data, and disable pagination.
- Then start the devServer
npm run dev - click the checkbox, the lagging is very noticeable. It would take 4s to finish the rendering.
I created sandbox here: https://codesandbox.io/s/confident-wilbur-d6pvg?file=/src/App.js
From the profiler, it seems whenever I click one checkbox, it's trying to re-render the whole table.
I have same experience. Are there any updates on this?