Skip to content

Conversation

@roberto-wl
Copy link
Owner

No description provided.

Copy link

@dianasaurio dianasaurio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me 👍 just missing the tests

}
// Make sure the client is loaded before calling this method.
function execute(search) {
return gapi.client.youtube.search

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What if gapi is not loaded yet by the time your components needs to use it? You might want to use youtube API inside a hook in react.


return (
<Container key={id}>
<Button onClick={() => history.push(`/viewer/${id}`)}>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can use Link from react router

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants