I'm using Formsy (https://github.com/christianalfoni/formsy-react) for a React form and validation. It's got this @mixin (Formsy.mixin)
piece that I don't quite understand. Just hoping to find someone who can explain what the behavior is behind the scenes here:
@mixin (Formsy.Mixin)
class LabeledTextField extends React.Component {
render() {
return (
//stuff here
)
}
If I had to guess, it seems to be importing Formsy methods into the scope of the component for use within the component. Just hoping to grok this from someone who knows.
Thanks!