jayphelps / core-decorators

Library of stage-0 JavaScript decorators (aka ES2016/ES7 decorators but not accurate) inspired by languages that come with built-ins like @​override, @​deprecate, @​autobind, @​mixin and more. Popular with React/Angular, but is framework agnostic.
MIT License
4.52k stars 263 forks source link

Why is debounce & throttle deprecated? #115

Closed isuvorov closed 7 years ago

isuvorov commented 7 years ago

Surprised and upset

@debounce 🚫 DEPRECATED @throttle 🚫 DEPRECATED

jayphelps commented 7 years ago

See here: https://github.com/jayphelps/core-decorators.js/blob/master/README.md#need-lodash-utilities-as-decorators

They duplicate the effort of lodash-decorators and aren't as robust and tested as lodash is. Sorry that you're upset, I think this is very much for the best.