mrected / assignments

SDG Assignments
0 stars 0 forks source link

Week 04 - Day 1 - Reactified Octocats #13

Closed gstark closed 5 years ago

gstark commented 5 years ago

Your Octodex is amazing. It has revolutionized the Github Octodex experience and more people are viewing Octocats on their mobile devices than ever.

However, the code is repetitive and isn't yet setup to work with an API.

Your task now is to refactor the static Octodex into a static (non-API) version in React.

You'll identify the main Components on the page and create React components for each, breaking down those Components into smaller ones as needed.

Objectives

Stretch Objectives

Explorer Mode

Adventure Mode

Epic Mode

Additional Resources

mrected commented 5 years ago

https://github.com/mrected/reactified-octocats

gstark commented 5 years ago

Your Herd component isn't needed since it just renders a single Catbox (you need one or the other, but not both)

And Catbox should really use another component called Cat since the code inside your map is large enough to warrant making that a specific component.

gstark commented 5 years ago

Your homework was marked: Meets Expectations

Well done!

“Well done!” — via Gavin Stark