DON'T use Typescirpt in this task
You are given movies loaded from the API and initial markup. Your task is to:
- Render movies from a given
moviesFromServer
array (for the simplicity, you can do it inside theApp
and split later). - Extract a
.movies
block to aMovieList
component. - The
App
should pass themoviesFromServer
to theMovieList
as amovies
prop. - Extract a
.card
block to aMovieCard
component. - The
MovieList
should pass amovie
to theMovieCard
. - Use
movie.imdbId
as a key. - Keep all
data-cy
attributes to pass the tests.
- Install Prettier Extention and use this VSCode settings to enable format on save.
- Implement a solution following the React task guideline.
- Open one more terminal and run tests with
npm test
to ensure your solution is correct. - Replace
<your_account>
with your Github username in the DEMO LINK and add it to the PR description.