I\'m new to react.js and I am trying to get this code to replace one line in an html file inside an electron app with whatever is in return inside the MainInterface variable >
export default class App extends React.Component{ render() { return( its works ); } };
this works for me, checkout this ReactJs CreateClass is not a function thus its by exports React.component instead of using React.createClass