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

Throw error if dependency array is undefined #78

Open
hypeJunction opened this issue Dec 6, 2021 · 1 comment
Open

Throw error if dependency array is undefined #78

hypeJunction opened this issue Dec 6, 2021 · 1 comment

Comments

@hypeJunction
Copy link

We just managed to DDOS our entire site, because we were missing an empty dependency array in the useAsync(), which resulted in endless refresh loop with microseconds between refreshes. I think it would be appropriate to throw an error if the value for denendecies in undefined

@pig800509
Copy link

see my another answer

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

2 participants