Delay function calls until a set time elapses after the last invocation
by sindresorhusJavaScript
Hi! I've been a debounce fan since 1.0 ... it's absolutely best-in-class. Many of the interfaces I've added it to require vanilla JS (v2.2), and can't support the ESM-build (v3+). I imagine that's true for a fair % of its million users, and that's maybe tens of thousands of non-ESM devs who have to either jump through hoops transpiling it themselves ... or worse, drop debounce for cruddier alternatives. May I suggest offering and maintaining a simple file of v3 and beyond for a bit of backwards compatibility?
Repository: sindresorhus/debounce. Description: Delay function calls until a set time elapses after the last invocation Stars: 847, Forks: 74. Primary language: JavaScript. Open PRs: 0, open issues: 0. Last activity: 3mo ago. Top contributors: sindresorhus, matthewmueller, TooTallNate, selbekk, stephenmathieson, tj, vendethiel, aaronbeall, billymoon, juliangruber and others.