Hello! Thank you for submitting the first homework for CoderSchool React Class 🎉! The main focus of this assignment was to introduce you to working with an API, rendering items in a collection, and dealing with state and props.
Great ✨
Good job using the bloomer library to make your app look beautiful! Using CSS libraries is a great way to win time during a project without compromising on the look.
Good job fetching the data in App.js in componentDidMount. The official Facebook React Native example does this as well. (React and React Native have the same convention here.)
Not so great yet 🚩
The filtering does not quite work since you are filtering on a list of movies that has already been filtered! In my suggestions I show you how to keep all the movies in the state and then filtering only on those movies in the filterMovies function.
Defining the MovieList.propTypes = .. helps see at a glance which props your component is supposed to receive. For example:
Do not forget to start the assignment early so that if you are ever blocked you can get help before the deadline :) It was a holiday this time so I understand.
Hello! Thank you for submitting the first homework for CoderSchool React Class🎉 ! The main focus of this assignment was to introduce you to working with an API, rendering items in a collection, and dealing with
state
andprops
.Great✨
bloomer
library to make your app look beautiful! Using CSS libraries is a great way to win time during a project without compromising on the look.App.js
incomponentDidMount
. The official Facebook React Native example does this as well. (React and React Native have the same convention here.)Not so great yet 🚩
state
and then filtering only on those movies in thefilterMovies
function.MovieList.propTypes = ..
helps see at a glance whichprops
your component is supposed to receive. For example:Do not forget to start the assignment early so that if you are ever blocked you can get help before the deadline :) It was a holiday this time so I understand.