Warning: Failed child context type: Invalid child context ‘virtualizedCell.cellKey’ of type ‘number’ supplied to ‘CellRenderer’, expected ‘string’

React Native Flat List or ActionSheet requires id to be string-type. Therefore you need to change integer type to string type:


keyExtractor={item => item.id}


keyExtractor={item => item.id.toString()}

Don’t follow me. I wrote junks here. Follow me on Twitter instead.