eslint-plugin-react-native icon indicating copy to clipboard operation
eslint-plugin-react-native copied to clipboard

[Feature Request] FlatList Warnings

Open Staceadam opened this issue 4 years ago • 1 comments

Add rules for FlatList

  1. Warning for when a FlatList is put as a child inside of a Scrollable component.
  2. Suggest memoizing function props for items within a FlatList component.

Staceadam avatar Aug 15 '20 13:08 Staceadam

I wonder if this could be generalized to all VirtualizedLists (e.g., FlatList, SectionList, VirtualizedList)?

esthor avatar Feb 10 '21 16:02 esthor