mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
050a5a3797
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/41381 Noticed that when scrolling VirtualizedList's CellRenderer was re-rendering due to `onCellFocusCapture` not having a stable identify. Change the interface to CellRenderer to pass in the `cellKey` in the callback to save on creating new callbacks. Changelog: [Internal] Reviewed By: sammy-SC Differential Revision: D51112928 fbshipit-source-id: 3fcb974d9b5585403895746fbc45f2cf5a9fa6b1