Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sockets - Cyndi & Karla #7

Open
wants to merge 40 commits into
base: master
Choose a base branch
from
Open

Sockets - Cyndi & Karla #7

wants to merge 40 commits into from

Conversation

kguadron
Copy link

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