Planning the application - KatyaHorton/Udacity-MyReads-PROJECT GitHub Wiki
Plan the application:
1. plan Components
Book
componentBookShelf
component, 3 different props (Names)SearchList
component
2. plan the architecture of application
Structure of a components:
-
Imports
-
Component :
-
States
-
Functions
-
Render
- Exports
3. plan steps of application
-
Add ReactRouter to navigate though the page easily (depending on the 'to' we display pages)
-
Display component as an array from the state (1st move the state there, after that fetch )
-
Fetch components from API
-
Depending on states of Book component move Books to the folder accordingly (Bookshelves component has 3 div's, depending on Books component state it moves to different DIV)