Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 556 Bytes

reading-notes-303.md

File metadata and controls

15 lines (11 loc) · 556 Bytes

Reading Notes Class 303

  • What does .map() return?

  • If I want to loop through an array and display each value in JSX, how do I do that in React?

  • Each list item needs a unique ____.

  • What is the purpose of a key?

  • What is the spread operator?

  • List 4 things that the spread operator can do.

  • Give an example of using the spread operator to combine two arrays.

  • Give an example of using the spread operator to add a new item to an array.

  • Give an example of using the spread operator to combine two objects into one.

Additional Information