beeffb89fe
Summary: The main reason to use **VirtualizedList** is to set the `getItem` and `getItemCount` props, so having default values for these props makes things error prone. * In **VirtualizedList**, changed the `getItem` and `getItemCount` props from optional to required, and removed default values. * Ensured that implementing classes **FlatList** and **SectionVirtualizedList** are always passing these props. * Updated VirtualizedList-test.js accordingly. Reviewed By: sahrens Differential Revision: D4980236 fbshipit-source-id: ad1838931253bc61ff9068c40929f6e9c755b92c |
||
---|---|---|
.. | ||
__snapshots__ | ||
FillRateHelper-test.js | ||
FlatList-test.js | ||
SectionList-test.js | ||
ViewabilityHelper-test.js | ||
VirtualizeUtils-test.js | ||
VirtualizedList-test.js |