The Appcontains a MoviesList and a search field. Implement filtering using a useState hook.
Here is the working version
- On every change save the input value into the
query; - create a
visibleMoviesvariable containing filtered movies; - check if
movie.titleormovie.descriptioncontainsquery; - ignore leading and trailing spaces;
- search should be case insensitive (
Inceptioncan be found by enteringincorIncor eveniNC).
- 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 testto ensure your solution is correct. - Replace
<your_account>with your Github username in the DEMO LINK and add it to the PR description.