Table renders multiple times if data changes while plugins are used
When using plugins, the table is rendered multiple times if the data changes. More plugins = more renders.
I forked the basic example and added some plugins, a button which triggers a data change and a simple console.log to log table renders: https://codesandbox.io/s/affectionate-agnesi-7ydi9?file=/src/App.js
Steps to reproduce the behavior:
- open the codesandbox, you should see a single "render table" in the console
- clear the console
- click the change data button, you should see "render table" thrice
- if you remove some or all plugins, the number of render reduces all the way to a single render if no plugin is used
Expected behavior: The table should only be rendered once when the data changes.
This issue is being marked as stale (no activity in the last 14 days)
This issue has been detected as stale and automatically closed. It's very likely that your issue has remained here this long because it would require breaking changes to v7. React Table v8 is currently in alpha (soon beta!) and already contains bug fixes, performance improvements and architectural changes that likely address this issue.
- If your v7 issue has been previously labeled as requiring breaking changes, please try the new v8 alpha/beta releases
- If your v7 issue has not already been labeled as a breaking change, open a new issue.
- If this was a v8 issue and was closed by mistake, please reopen or leave a comment below.