Skip to content

Sockets - Cyndi & Karla#7

Open
kguadron wants to merge 40 commits into
Ada-C11:masterfrom
kguadron:master
Open

Sockets - Cyndi & Karla#7
kguadron wants to merge 40 commits into
Ada-C11:masterfrom
kguadron:master

Conversation

@kguadron

Copy link
Copy Markdown

Video Store Consumer

Congratulations! You're submitting your assignment!

Comprehension Questions

Question Answer
Paste a link to the PR for your API Ada-C11/VideoStoreConsumer-API#4
For each person in your pair, describe something you learned from your partner during this project Karla- Learned about displaying errors from Cyndi, Cyndi- learned how to return JSX from an axios response
What was one area of React you gained more clarity on during this assignment? When to use classical over functional components and when to use componentDidMount
Describe how you solved the problem of having a list of movies that look mostly the same but have different content We created a Movie component that displays information specific to each individual movie in the list of movies
Describe how you handled rentals with React When a movie and customer is selected, it updates the state in App. Then the user is given the option to checkout, which sends a post request to the rentals endpoint.
Describe a DOM event your application handled When a user types into the search box, the state of Search component is updated through an onChange. When they click submit an onClick triggers a get request to be sent to the database
Did you use any functional stateless components? What for? Movie, Customer, and Header because they didn't need to keep track of their own state and instead were passed in props from their parents
Did you use any container components? What for? App, Library ,and Customers are container components, to generate a collection of components that represent individual items in that collection.
Do you have any recommendations on how we could improve this project for the next cohort? Ask students to complete more baseline functionality

cyndilopez and others added 30 commits June 24, 2019 15:41
…ovie and cutomer in order to create a checkout
…also added callback function that chains through app and updates the state in app
…plays based on whether both a customer and movie have been clicked on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants