For some reason, when I write just ReactDOM.rener and prescribe tags there, for example h1, then react works, but not through components. I connected both the jsx compiler and babel and in the type I wrote them
var app = React.createClass({ render: function() { return ( < h2 > sdfdf < /h2> ) } }); ReactDOM.render( < app / > , document.getElementById('result')); <script src="https://cdnjs.cloudflare.com/ajax/libs/react/15.4.0/react.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/react/15.4.0/react-dom.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/babel-core/6.1.19/browser.min.js"></script> <script src="https://code.jquery.com/jquery-2.2.4.min.js" integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" crossorigin="anonymous"></script> <div id="result"></div>