Skip to content

Return something for React effect cleanup for autofill? #30

@Firehed

Description

@Firehed

I'm not sure if this is possible/easy, but in order to nicely clean up React effects (when the SDK is used in a React context), it would be beneficial to expose something that allows for cleanup. This could be a premade function, the abort controller, or something else.

The SDK does most of the important cleanup so this isn't a huge issue, but it would help keep consuming codebases tidier and less full of surprises.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions