React.createElement()
function, giving us expressiveness of JavaScript along with HTML like template syntax.<h1>
tag is returned as JavaScript function to the render function.class App extends React.Component {
render() {
return(
<div>
<h1>{'Welcome to React world!'}</h1>
</div>
)
}
}