bvaughn / react-window

React components for efficiently rendering large lists and tabular data
https://react-window.now.sh/
MIT License
15.54k stars 779 forks source link

Issue with set state in a row #716

Open ofirrifo opened 1 year ago

ofirrifo commented 1 year ago

I created example here:https://codesandbox.io/s/bvaughn-react-window-fixed-size-list-vertical-forked-jq7vt4

on row clicked I'm updated a state in Example component and also in InnerRow component. My issue that is InnerRow component not save the new state. I think the issue related to the re-render of Example component.

Is there any option to set the state of the InnerRow component without losing it ?