🔎 Intro
This blog covers how to render collections in React, how to use the map
method to iterate over an array of objects and more related concepts.
đź’ˇ New concepts
- Map method:
The map() method creates a new array populated with the results of calling a provided function on every element in the calling array. More details - Refacoring Modules:
Refactoring is the process of restructuring existing computer code—changing the factoring—without changing its external behavior.
👨‍💻 Reviewed concepts
- [Destructuring assignment](https://dogecat0.github.io/2023/11/09/JavaScript Full Stack Series/02-JavaScript.html)
- [Event Handler](https://dogecat0.github.io/2023/11/12/JavaScript Full Stack Series/02-State-and-Event-Handlers.html)
đź“ť Course exercise
- Updates to part1 exercise courseinfo with refactorred modules and trying out JavaScript arrays methods like
map
. Link to the repo