The best way to experience a new technology, language, framework or library is to build something for yourself. So after reading a couple of tutorials I decided to try to build something.
I keep a list of the movies I watch, just because, you know, maybe someday will be interesting to analize the data. Anyway, I’ve tried to use reactjs to show the posters of those movies. Who knows, maybe I could use it in the future to show the movies I watch in this blog.
In order to get the posters I’m using the Rotten Tomatoes API. The code just uses an array of movie titles, make an API request for each one and returns it’s image.
It was necessary to throttle the AJAX requests as the API only allows you to make 5 req/s.
Here is the code in case you are interested: react-movies in github