I have a problem with my React Native Component.
sayHi = (s) => { console.log(\'hey\' + s) } renderListItem(item, i) { return (
Just for reference, the bind solution mentioned in the comments by Andrew Li can be accomplished by changing this line
bind
{list.map(this.renderListItem)}
to this
{list.map(this.renderListItem.bind(this))}