Skip to content

Refactor event logic to detach outdated listeners #5

@maxpowa

Description

@maxpowa

Currently, the old listeners are not properly cleaned up. When the UI re-renders, the old listeners are still attached and cause duplicate UI updates.

These events can probably be refactored to take advantage of the hook system and useEffect cleanup behavior. Likely also depends on the core refactoring task, since hooks are part of the core functionality and will only work with function components at the moment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions