Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

Error: Missing "key" prop for element in iterator

const peopleCard = this.state.people.map(person => (
  <Col key={person.id} sm="4">
    <PeopleCard person={person} />
  </Col>
));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Missing #prop #element #iterator
ADD COMMENT
Topic
Name
1+2 =