Lize du Plessis
Lize du Plessis

Lize du Plessis

Use the map() function in React to display items in DOM

Jun 15, 20221 min read

We have an array of objects called cats. We want to display the cats' names as an unordered list in the DOM. import React from "react"; function...