Skip to content

Earth - Emily & Lina#17

Open
lina5147 wants to merge 51 commits intoAda-C14:masterfrom
lina5147:master
Open

Earth - Emily & Lina#17
lina5147 wants to merge 51 commits intoAda-C14:masterfrom
lina5147:master

Conversation

@lina5147
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-C14/video-store-consumer-api#11
For each person in your pair, describe something you learned from your partner during this project We were collaborative through the whole process and learned together how to make the front end and backend communicate.
What was one area of React you gained more clarity on during this assignment? Api calls using axios
Describe how you solved the problem of having lists of movies that look mostly the same but have different content We populated every movie with that search term and added an add to library button to all of the movie results.
Describe how you handled rentals with React We checked to make sure we had a selected movie and selected customer which is stored using useState. This will populate a create rental button where when it is clicked, post api request get triggered and adds a new rental to the api database.
Describe a DOM event your application handled We have a submit button for the search bar. When the button is clicked, it calls a callback function that communicates to the app. From the app, we have a post request for the search term and it populates all of the movies for the term.
Did you use any functional stateless components? What for? Almost all of our components except for App and SearchBar were stateless. Everything was passed into the nested components as props.
Did you use any container components? What for? We used library, customers, search, rentals components as containers. They were used for better organization and to nest the other components.
Do you have any recommendations on how we could improve this project for the next cohort? More time to work on the project. It is a good project overall and we learned a lot but it would be nice to have more time to absorb what we learned.

lina5147 and others added 30 commits January 19, 2021 14:30
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