Open
Conversation
Co-authored-by: PacoMojica <pacomojica@hotmail.com>
Co-authored-by: PacoMojica <pacomojica@hotmail.com>
Co-authored-by: PacoMojica <pacomojica@hotmail.com>
Co-authored-by: PacoMojica <pacomojica@hotmail.com>
Co-authored-by: PacoMojica <pacomojica@hotmail.com>
PacoMojica
reviewed
Apr 11, 2021
PacoMojica
left a comment
There was a problem hiding this comment.
Hi Jesus, your challenge looks really good, great work!
Acceptance Criteria
- Videos in the Home View are fetched from the YouTube API and displayed correctly.
- Users can search for YouTube videos using the search field on the header.
- A video can be played from the Video Details View after clicking on it.
- The video information and related videos list are displayed correctly on the Video Details View.
- When a user clicks on a related video the video player, information and related videos list are updated.
Bonus Points
- Custom Hooks for API calls are implemented and tested correctly.
- Testing coverage is above 60%. (Please include a screenshot of the code coverage report in your PR description).
Comment on lines
+3
to
+7
| const Index = () => ( | ||
|
|
||
| <CardList/> | ||
|
|
||
| ) |
Comment on lines
+3
to
+11
| export default axios.create({ | ||
| baseURL: 'https://www.googleapis.com/youtube/v3/', | ||
| params: { | ||
| part: 'snippet', | ||
| maxResults: 15, | ||
| key: process.env.API_KEY, | ||
| type: 'video', | ||
| } | ||
| }) |
There was a problem hiding this comment.
This file is called useFetchData but it is not really a hook 🤔
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
this are my change from challenge3