Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
componentDidMount: function() {
this.laddaButton = require('ladda/dist/ladda.min')
.create(findDOMNode(this));
},
componentDidMount() {
this.laddaButton = laddaButton.create(this.node);
}