Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
start: function(rootProps, container) {
var component = this.getComponentByName(rootProps.component),
content;
if (!component) {
return;
}
React.renderComponent(component(_.clone(rootProps)), container);
}
};