Open Jareechang opened 7 years ago
Would it be possible to use just @Decorator rather than @Decorator(MyInput) ?
@Decorator
@Decorator(MyInput)
The reference to the Component is already passed in if you are using the ES6/ES7decorator plugin.
@Decorator(MyInput) class MyInput extends React.Component { ... } VS @Decorator class MyInput extends React.Component { ... }
I believe this has been solved? Check out the new formsy organization with Formsy 1.0.1: https://github.com/formsy/formsy-react
formsy
1.0.1
Would it be possible to use just
@Decorator
rather than@Decorator(MyInput)
?The reference to the Component is already passed in if you are using the ES6/ES7decorator plugin.