reading-notes
My reading notes
Project maintained by brandomoki
Hosted on GitHub Pages — Theme by mattgraham
Passing Functions as Props
React Docs - lists and keys
- 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?
- use the map function and return an jsx element
- Each list item needs a unique __.
- What is the purpose of a key?
- helps react identify which items have changed, are added, or are removed