Skip to content

useEffectAsync doesn't support cleanup function. #1

@platoonic

Description

@platoonic

Hey.
Nice work with the library! Though useEffect is supposed to return a function as an equivalent to componentDidUnmount, this doesn't seem to be the case with useEffectAsync since the API you've provided doesn't allow passing a function for cleanup.

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