Skip to content

Hook returns newly created function on every call #2

@wialy

Description

@wialy

Currently the hook returns new function on every call, so using it in effect dependencies causes calling effect on every render. The result should be a react useCallback.

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