Skip to content
This repository was archived by the owner on Sep 7, 2022. It is now read-only.
This repository was archived by the owner on Sep 7, 2022. It is now read-only.

Event handlers are duplicated. #22

@treshugart

Description

@treshugart

If you render:

<Component onClick={handler} />

The handler will get rebound for every render because removeEventListener() isn't removing the handler. This is probably because of the case-sensitivity of event names. We should be using eventNameLc for all references to the event internally.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions