Our React App showing popular quotes from poems such as Jabberwocky- a refactoring exercise created by @getfutureproof.
-
create 'components', 'pages' and 'layout' folders with index.js files - what is meant to go in pages?
-
move FaveButton and its tests to own folder in 'components'
-
create a
News
component in 'pages' folder which has local state and renders: -
A
Greeting
component which has local state -
A
ReaderCount
component which has local state -created -
A
FeaturedArticle
component that receiveschosenArticle
as a prop -created -
A
Headlines
component that receivesarticles
andhandleArticleSelect
as props - created -
adjust App to render only
Header
,News
andFooter
- create a basic
Header
layout component - created - create a basic
Footer
layout component - created