Skip to content

Conversation

@lex-villa
Copy link

No description provided.

Copy link
Owner

@erickwize erickwize left a comment

Choose a reason for hiding this comment

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

Comments

Good work Gio!
Please create the PR into your own branch, that way we can only give feedback on the added code, not the whole project.
I encourage you to do testing, so we can give you the Bootcamp certification.

Acceptance Criteria

  • The search term is stored and retrieved from the Global Context correctly.
  • The appearance theme is stored on the Global Context and applied correctly to the App UI.
  • useReducer hook is implemented correctly to manage the Global State.

Bonus Points

  • Testing coverage is above 70%. (Please include a screenshot of the code coverage report in your PR description).

@@ -0,0 +1,3 @@
REACT_APP_GOOGLE_API_KEY=AIzaSyDN0P1UB4W39-XdmmA9wniCAlXA0f3WprU
Copy link
Owner

Choose a reason for hiding this comment

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

I recommend removing this file, you should never upload these types of files

useLayoutEffect(() => {
const { body } = document;
const App = () => {
const state = useContext(Context)[0];
Copy link
Owner

Choose a reason for hiding this comment

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

I recommend using:
const [state] = useContext(Context)

Comment on lines +6 to +7
console.log('lista en video sugges');
console.log(videosSuggested);
Copy link
Owner

Choose a reason for hiding this comment

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

I suggested removing console.log from the code base


const SearchInput = () => {
const [inputValue, setInputValue] = useState('');
const dispatch = useContext(Context)[1];
Copy link
Owner

Choose a reason for hiding this comment

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

I recommend using: const [, dispatch] = useContext(Context)

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.

2 participants