Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(fn/debounce): work without #clearTimeout #7

Merged
merged 1 commit into from
Jan 10, 2019
Merged

Commits on Jan 10, 2019

  1. chore(fn/debounce): work without #clearTimeout

    Adding many different listeners and clearing them can
    be a performance concern.
    
    This commit ensures that only one listener is used to implement
    debounce. This makes #clearTimeout unnecessary.
    
    It adds additional test coverage that verifies the debounced fn is
    called with last (this, ...args), too.
    nikku committed Jan 10, 2019
    Configuration menu
    Copy the full SHA
    a2c3fc3 View commit details
    Browse the repository at this point in the history