My table includes an onCellClick method which, when triggered, opens a modal in the UI which shows the cell details. The problem here is that when I close the modal, the table reverts back to its initial state and I have to build it again.
Currently I am solving this by wrapping the Pivot element in a wrapper with the shouldComponentUpdate class returning false, making sure the Pivot element does not re-render. However I think it is preferable to make the component only reset when it receives different props, or to introduce an onChange prop that gets a representation of the state and a way to pass this state back in again as a prop. This would also allow developers to store previous configurations.