Closed jorjordandan closed 4 years ago
Further discussion here: https://github.com/facebook/react-native/issues/18291
Could you update the examples as well?
None of the examples use a number as a key prop - they use the key extractor function to get the item title, so they should be fine.
Ah of course.
Prevents warning -> "Warning: Failed child context type: Invalid child context
virtualizedCell.cellKey
of typenumber
supplied toCellRenderer
, expectedstring
. " from Flatlist data attribute. Avoids the warning for people copying code from the readme :)