LFZ Web Dev 08/22 Senior Side > react-rendering-lists > Flashcards
What Array method is commonly used to create a list of React elements?
array.prototype.map(arrow function)
transforms values of an array into li’s and returns an array of li’s
What is the best value to use as a “key” prop when rendering lists?
an ID