Skip to content

Infinite loop prevention #34

Open
@ghengeveld

Description

@ghengeveld

Hooks make it very easy to shoot yourself in the foot and create an infinite loop causing many HTTP requests in a short time. Perhaps React Async should offer an easy way to prevent this by throttling or debouncing the creation of new promises/requests.

We can offer this as an option (e.g. throttleMs or throttleFn), do it automatically out of the box (in dev mode), or both.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature requests

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions