debounce should support multi instances
Shemesh opened this issue · comments
Shemesh commented
hi,
the debounce decorator does not support multi instances.
plz read this article - https://engineering.datorama.com/be-aware-of-the-debounce-decorator-6fb24a6d8d5
and here is the solution -https://github.com/NetanelBasal/helpful-decorators/blob/master/src/debounce.ts
Vlad Ioffe commented
@Shemesh would you mind submitting a PR?
Vlad Ioffe commented
The issue reproduced on stackblitz:
https://angular-3bpkw9.stackblitz.io
Vlad Ioffe commented
Will be available in 2.0.5
fixed in #146