rosskevin/ifvisible

Apply debounce or throttle to browser events fired for performance reasons

Closed this issue · 0 comments

quantbhn93 commented on Sep 30, 2021

Currently, the event gets fired on every user interaction such as clicking multiple times, moving mouse or resizing window.
Debounce must be applied to prevent browser from getting bogged down quickly.