scrimba
Advanced React
React Router
Challenge: Vans Page - Part 2
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

Challenge: Vans Page - Part 2
AboutCommentsNotes
Challenge: Vans Page - Part 2
Expand for more info
pages
Vans.jsx
run
preview
console
import React from "react"

/**
* Challenge: Fetch and map over the data to display it on
* the vans page. For an extra challenge, spend time styling
* it to look like the Figma design.
*
* Hints:
* 1. Use `fetch(/api/vans)` to kick off the request to get the
* data from our fake Mirage JS server
* 2. What React hook would you use to fetch data as soon as the
* Vans page loads, and only fetch it the one time?
* 3. You may get an error saying "console.groupCollapsed is not
* a function". You can ignore it for now.
*/


export default function Vans() {
return (
<h1>Vans page goes here 🚐</h1>
)
}
Console
/vans
-9:06