Closed rckortiz closed 5 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
Array.prototype.map
<App>
index.css
render
App
array
map
octocats.json
import
fetch
https://github.com/rckortiz/intro-to-react
Your homework week 04 - day 01 - octocats - intro to react was marked: Meets Expectations
“Well done!” — via Gavin Stark
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
Array.prototype.map
to render a collection of components in ReactExplorer Mode
<App>
component.index.css
render
method ofApp
and have it render your main components.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