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

React Hook useEffect has a missing dependency: #27

Open
OWAIS14325 opened this issue Jul 31, 2021 · 0 comments
Open

React Hook useEffect has a missing dependency: #27

OWAIS14325 opened this issue Jul 31, 2021 · 0 comments

Comments

@OWAIS14325
Copy link

OWAIS14325 commented Jul 31, 2021

React Hook useEffect has a missing dependency: 'store'. Either include it or remove the dependency array. You can also do a functional update 'setStore(s => ...)' if you only need 'store' in the 'setStore' call react-hooks/exhaustive-deps

I am getting this warning. how to fix please help
Screenshot 2021-07-31 at 12 39 16 PM

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

1 participant