bvaughn / react-window

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

On each change, whole grid is getting re-rendered ! #769

Open shravani0011 opened 1 week ago

shravani0011 commented 1 week ago

We have table structure , where each row is component and we have state in parent component , whenever I am editing it, it re-renders the entire table even though we have already used useMemo() to prevent unnecessary re renders . While it gets re rendered , it is getting automatically change to initial state. I want solution to prevent this multiple re renders on each edit.

P.s: We can't shift state from parent to child as it is complex.

Screenshot 2024-06-26 173242