scrimba
Learn React for free
Mapping Components Practice
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

Mapping Components Practice
AboutCommentsNotes
Mapping Components Practice
Expand for more info
App.js
run
preview
console
/* 
Given a list of products (as an array of objects, as seen in productsData.js)
render a <Product /> component (which you'll also need to create) for each
product in the list.

Make sure to use the array's `.map()` method to create these components, and
don't forget to pass a `key` prop to it to avoid the warning.
*/

import React from "react"
import productsData from "./vschoolProducts"

function App() {
return (
<div>

</div>
)
}

export default App
Console
index.html
-6:25