ReactJS could not update state when used with Tabs
问题 I have a react component with 3 tabs, and each tab contains a datatable which will be populated with the API call result on the basis of active tab. So everytime there will be a parameter which I pass with API call and display data accordingly. This is working great, I am getting data when I switch through tabs, but when I try to search from the datatable and then click on another tab I get the error as- Can't perform a React state update on an unmounted component. This is a no-op, but it