ember-codemods / ember-native-class-codemod

A codemod-cli project for converting Ember objects to es6 native classes
68 stars 38 forks source link

Option for native decorators? #244

Open LucasHill opened 4 years ago

LucasHill commented 4 years ago

This codemod looks awesome, but we are not using ember-decorators, only the native decorators. Is there a reason the addon is only supported with ember-decorators? We've gotten away with just using the native ones in our newer code. I'm wary to add too many addons these days as maintaining our app with many many addons has given me a ton of issues.

pzuraq commented 4 years ago

Classic components are not fully supported without ember-decorators, primarily. It’s not recommended that you convert them, unless you have those additional decorators.

pzuraq commented 4 years ago

The second reason is if you are using observers or event listeners, but those are already less common and less recommended, so you may not encounter that.