score:0

Accepted answer
{this.props.dataFromApp.map(item => <li key={item.referralId}>{item.venue}</li>)}

score:0

this.setState({ venues: // the response from the third party API });

score:1

 <div className='code'>
            {this.props.dataFromApp.map((item,venue) => <li key={venue}>{item.venue}</li>)}
 </div>

Related Query

More Query from same tag