Closed
Description
This is calling breadCrumbEventHandler curried function with this
which is EventTarget/Node instead of Event. And it's calling it when the event listener is added, instead of when an event is fired.
(IDK why this
has been typed as any, but this is what happens when types are ignored.)
It's causing terrible rendering performance because it's debouncing with setTimeout/clearTimeout every single time addEventListener('click', ...) is called.
Metadata
Metadata
Assignees
Labels
No labels