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

Aurea-Barb, Edges, video-store-consumer #5

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

Conversation

Aurea-Li
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-C10/VideoStoreConsumer-API#4
For each person in your pair, describe something you learned from your partner during this project Barb--React Router Aurea-- the difference between image_url and poster_path and how the API handles them.
What was one area of React you gained more clarity on during this assignment? Barb--closures Aurea--react routers
Describe how you solved the problem of having lists of movies that look mostly the same but have different content We had a movie component that took in a movie object with keys title, release_date, image_url, overview. These were formatted within the movie component.
Describe how you handled rentals with React Within the App.js we have state for currentMovie and currentCustomerID which is fed into a rental() method. The rental() method creates an object with the currentCustomerID and due_date(date instance), then perform an Axios post using the object as an argument.
Describe a DOM event your application handled When you click the checkout button in App.js, it triggers the event handler rental which performs the steps in the previous answer.
Did you use any functional stateless components? What for? Customer.js and Movie.js are both functional stateless components. We did not use classical components for Customer.js and Movie.js since state was not needed for either.
Did you use any container components? What for? We did not use container components.
Do you have any recommendations on how we could improve this project for the next cohort? Projected presented on a Friday (for an extra weekend to work on the project)-Barb

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