With this one I try to push myself a bit more. Not just doing an app for the challenge but something who in the real life I would use.
I’m a movie lover, but my problem is I never know which movie to watch. So why not built an app who can help me find one.
The first thing I need to find an idea about how to make this quickly. So I decided to jump on the Tinder flow for choosing which kind of movie you like and with this
array of results I render which kind of movie you like.
I choose to use The Movie DB who have an awesome documentation.
I learn this week than I can use
async await with the React lifeCycle. And yes I loved it.
Don’t look good? :)
For the swiping action, I choose to use react-native-tinder-swipe-cards who is really easy to use.
The library gives the handleYup and handleNope but I want more. Like a click etc so I create this function by just following the index of the item in the
But I got a problem with the library. When I change the state I got some weird error. Like the poster don’t change always stay in the index.
This simple change in the library makes my code working perfectly.
Nothing too crazy again in this app. Just a good standard app but I think after this challenge I would come back to this one and add bigger features. I think that can be my first own app in the store.
Hope you enjoy to read me again. If you have any question don’t hesitate to add comments below.