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

useHttp hook uses exhaustive-deps #17

Open
StijnCoolen opened this issue Jul 1, 2020 · 0 comments
Open

useHttp hook uses exhaustive-deps #17

StijnCoolen opened this issue Jul 1, 2020 · 0 comments

Comments

@StijnCoolen
Copy link

The following warning is thrown:

./src/hooks/http.js
Line 25:8: React Hook useEffect was passed a dependency list that is not an array literal. This means we can't statically verify whether you've passed the correct dependencies react-hooks/exhaustive-deps

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