Closed Schnorschel closed 4 years ago
Octodex is a fun way to celebrate a powerful tool we use for development. In that same spirit, recreate this site
You'll identify the main Components on the page and create React components for each, breaking down those Components into smaller ones as needed.
Component
app-app
<App>
index.css
array
map
octocats.json
import
fetch
https://github.com/Schnorschel/octodex https://octodex-schorschi.netlify.com
Tried to implement loading from local JSON file, but couldn't figure it out.
React-ify Octocats
Octodex is a fun way to celebrate a powerful tool we use for development. In that same spirit, recreate this site
You'll identify the main
Component
s on the page and create React components for each, breaking down thoseComponent
s into smaller ones as needed.Objectives
Component
sapp-app
(GAMMA stack) to build a React projectStretch Objectives
Explorer Mode
<App>
component.index.css
Adventure Mode
array
of objects and usemap
to generate the Octocat componentsEpic Mode
array
of Octocats in aoctocats.json
file andimport
that into your app.fetch
api to retrieve the list of Octocats from this api insteadAdditional Resources