gregnb / gregnb/mui-datatables
Performance issue when select one row in a large table.
- Dominant language
- JavaScript
- Stars
- 2.7k
- Forks
- 906
- PR merge metrics
- No merged PRs in 30d
Description
## Expected Behavior
When select one row by clicking the checkbox, finish rendering quickly.
## Current Behavior
It's too slow.
## Steps to Reproduce (for bugs)
1. Modify the file of component/index.js in examples by adding 1000 rows of new data, and disable pagination.
2. Then start the devServer `npm run dev`
3. 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.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.