I have a component that will load a table with almost 300 rows and each row will have action items like verified / unverified, when we click on any action I'm updating the respective status and updating the state to re-render the component but each action it is taking at least couple of seconds to re-render the component, but I need some efficient way to manage this because actions should not be delayed (users are not liking the way its taking time.)
Example code :
@Reinier68
const copyTableData= [...props.tableData] // Copy tabledata
copyTableData[index].status= "Verified" // Updating status
props.settableData(copyTableData); // Seeting state again
enter code here