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

Deprecate decorators that overlap with lodash-decorators #110

Closed jayphelps closed 7 years ago

jayphelps commented 7 years ago

To be deprecated in favor of lodash-decorators:

Need lodash utilities as decorators?

core-decorators aims to provide decorators that are fundamental to JavaScript itself--mostly things you could do with normal Object.defineProperty but not as easily when using ES2015 classes. Things like debouncing, throttling, and other more opinionated decorators are being phased out in favor of lodash-decorators which wraps applicable lodash utilities as decorators. We don't want to duplicate the effort of lodash, which has years and years of robust testing and bugfixes.

jayphelps commented 7 years ago

Cc/ @steelsojka for heads up

steelsojka commented 7 years ago

@jayphelps Sounds good to me. I'm in the process of releasing v4 of lodash-decorators which has some improvements with stability and instance decoration. I'm removing decorators like enumerable and keeping the library strictly to lodash methods. I don't want to duplicate effort of core-decorators either. I'll put a note in the README and point it here for those types of decorators.

jayphelps commented 7 years ago

Released as 0.18.0