I have 10 Array of objects like this:
I tried to map ingedients and display the text:
<ul>
{this.props.data.ingredients.map(function(ingredient,i) {
return (<li key={i} item={ingredient}/>)
})}
</ul>
I get the result of ten bullets but the text is not being displayed. If I try ingredient.text , it says cannot display text of null.
Thanks in advance.
