Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent hook use #20

Open
zakkariyaa opened this issue Jun 14, 2023 · 0 comments
Open

Inconsistent hook use #20

zakkariyaa opened this issue Jun 14, 2023 · 0 comments
Assignees

Comments

@zakkariyaa
Copy link

minor thing but the useRef hook is initialized with a null argument and nothing in two different components. It is good practice to always initialize your hooks with a 'value'

@zakkariyaa zakkariyaa changed the title Inconsistent Hook Use Inconsistent hook use Jun 14, 2023
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

No branches or pull requests

3 participants