Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Row selection causes the entire table to re-render #1281

Open
1 task done
LICF01 opened this issue Oct 26, 2024 · 1 comment
Open
1 task done

Row selection causes the entire table to re-render #1281

LICF01 opened this issue Oct 26, 2024 · 1 comment

Comments

@LICF01
Copy link
Contributor

LICF01 commented Oct 26, 2024

material-react-table version

2.12.1

react & react-dom versions

18.3.1

Describe the bug and the steps to reproduce it

Hi there!, thanks for the amazing work with the table. Is there a way to prevent the entire table from re-rendering on row selection?, I'm saving the row ID inside a zustand store if that detail is important, thought that my implementation was bad but noticed that the example, has the same behavior, is ok for a default table, but it starts to lag more and more depending on how much customizations are being done for the rows and cells.

Minimal, Reproducible Example - (Optional, but Recommended)

https://www.material-react-table.com/docs/guides/row-selection#manual-row-selection-without-checkboxes

Screenshots or Videos (Optional)

No response

Do you intend to try to help solve this bug with your own PR?

None

Terms

  • I understand that if my bug cannot be reliably reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.
@KevinVandy
Copy link
Owner

No

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants