import React from 'react'
import ReactDOM from 'react-dom'

/* Create a simple component without JSX
	<div>
		React Tutorial
	</div> 
*/
const App = function() {
	// return React.createElement('div', null, 'React Tutorial');
	return <div>React Tutorial</div>;
}

ReactDOM.render(<App />, document.getElementById('app'))
import React from 'react'
import ReactDOM from 'react-dom'

/* Create a simple component without JSX
	<div>
		React Tutorial
	</div> 
*/
const App = function() {
	return React.createElement('div', null, 'React Tutorial');
}

ReactDOM.render(<App />, document.getElementById('app'))
--- 
+++ 
@@ -7,7 +7,8 @@
 	</div> 
 */
 const App = function() {
-	return React.createElement('div', null, 'React Tutorial');
+	// return React.createElement('div', null, 'React Tutorial');
+	return <div>React Tutorial</div>;
 }
 
 ReactDOM.render(<App />, document.getElementById('app'))
Create a simple component with JSX
