material-react-table icon indicating copy to clipboard operation
material-react-table copied to clipboard

fix: rows and cells don't have a stable keys if the row is move to another index

Open Mathieu-COSYNS opened this issue 5 months ago • 3 comments

This PR fixes #1459

This code also include a another way of fixing https://github.com/KevinVandy/material-react-table/issues/808

Note: It might cause some issues for users who fail to provide a getRowId function that returns unique IDs.

Mathieu-COSYNS avatar Aug 28 '25 08:08 Mathieu-COSYNS

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
material-react-table Ready Ready Preview Comment Aug 28, 2025 8:55am
material-react-table-storybook Ready Ready Preview Comment Aug 28, 2025 8:55am

vercel[bot] avatar Aug 28 '25 08:08 vercel[bot]

I don't quite understand how removing info from the key is better?

KevinVandy avatar Sep 30 '25 22:09 KevinVandy

Hi @KevinVandy,

Thank you for your response. I added a additional explanation in the original issue https://github.com/KevinVandy/material-react-table/issues/1459.

Mathieu-COSYNS avatar Oct 01 '25 08:10 Mathieu-COSYNS