Skip to content

Throw error if dependency array is undefined #78

@hypeJunction

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

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