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

Ampers: Nora Peters & Monalisa Chatterjee #7

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

Conversation

npeters5
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-C9/VideoStoreConsumer-API#5
For each person in your pair, describe something you learned from your partner during this project Monalisa: implementing the StatusBar component. Nora: Monalisa showed me how to successfully implement the React Router!
What was one area of React you gained more clarity on during this assignment? React Router. Also, how to build interactions with a larger number of parent and child components.
Describe how you solved the problem of having lists of movies that look mostly the same but have different content For both the SearchResults and the RentalLibrary, we reused the Movie component.
Describe how you handled rentals with React We used VideoStore component to store the state for selectedMovie and selectedCustomer. And we just wrote a function called checkoutSelection to make the axios post request for the new rental. We decided not to implement a separate Rental component.
Describe a DOM event your application handled We handled onClick events for the buttons that selected a movie and customer, as well as reset and checkout. We passed in callback methods as props to use these events to update state in parent component.
Did you use any functional stateless components? What for? Yes - Movie, Customer, and Selections components are functional stateless components.
Did you use any container components? What for? Yes - our VideoStore component acted as the main container component, and we also implemented RentalLibrary and CustomerList to store the API response data.
Do you have any recommendations on how we could improve this project for the next cohort? Nope!

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