JSX mode // Code snippets from http://facebook.github.io/react/docs/jsx-in-depth.html // Rendering HTML tags var myDivElement = ; ReactDOM.render(myDivElement, document.getElementById('example')); // Rendering React components var MyComponent = React.createClass({/*...*/}); var myElement = ; ReactDOM.render(myElement, document.getElementById('example')); // Namespaced components var Form = MyFormComponent; var App = ( ); // Attribute JavaScript expressions var person = ; // Boolean attributes ; ; // Child JavaScript expressions var content = {window.isLoggedIn ? : }; // Comments var content = ( {/* child comment, put {} around */} ); JSX Mode for React's JavaScript syntax extension. MIME types defined: text/jsx, text/typescript-jsx.