-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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