Skip to content

Throw error if dependency array is undefined #78

Description

@hypeJunction

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions