Skip to content

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

Open
Aurea-Li wants to merge 18 commits into
Ada-C10:masterfrom
Aurea-Li:master
Open

Aurea-Barb, Edges, video-store-consumer#5
Aurea-Li wants to merge 18 commits into
Ada-C10:masterfrom
Aurea-Li:master

Conversation

@Aurea-Li

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-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