Skip to content

Conversation

@SelamawitA
Copy link

Video Store Consumer

Congratulations! You're submitting your assignment!

Comprehension Questions

Question Answer
Paste a link to the PR for your API

For each person in your pair, describe something you learned from your partner during this project |
Selam - my partner did most of the research on dynamic routing and passed that knowledge on to me. With her work on the library and rental functionality she helped me understand the connection between the rails backend and front end as well.
Angela - Working with Selam was so great! She helped me stay calm and helped me get a better understanding of some CSS and making connection between components as well as getting the dates for rental checkouts.
What was one area of React you gained more clarity on during this assignment? | How to connect with a Rails backend!
Describe how you solved the problem of having lists of movies that look mostly the same but have different content | We put the movies into a flexbox and organized the more detailed content to be in a scrolling box.
Describe how you handled rentals with React | Each movie and customer has their own button who's necessary information is passed up as an object through their parent class to the App where the customer object is passed down as state to a Rental component. This part of the code really solidified that sibling communication is not a thing in React and a parent component is necessary to pass information.
Describe a DOM event your application handled | Our add a movie to the rental library button was an onClick event that triggered an axios post request.
Did you use any functional stateless components? What for? | We have a home page that has no state changes and returns the same thing consistently.
Did you use any container components? What for? | We created a container component to make a call to the API for a list of movies from the database and render movie components.
Do you have any recommendations on how we could improve this project for the next cohort? | I REALLY liked this project and very much appreciate getting to see how to connect front and back ends. Almost wish we could do this sooner if there was time.

AngelaPoland and others added 30 commits June 18, 2018 16:12
…nt styles a customers name and the amount of rentals. CustomerList makes call to Rails Api and populates a list of Customer components.
…dding movie from DB to library - not working yet
…ers. Future feature would be to implement a searching feature for movies/customer. Until then, this is more obvious to the user in how to use the site. Also, form will clear after a user submits a rental.
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