classAppextendsComponent{render(){returnReact.createElement('div',{className: 'App-header'},"this is div",React.createElement('h1',null,"this is the nested h1 element"));}}
The above is replaced by the JSX syntatic sugar
class keyword for html elements must be replaced by className due the use of class object