//调用react下面的createElement方法,传入第一个参数是tag
//第二个是属性,第三个是子元素集合

import React from 'react'


let JsxDemo =(
<div className='app'>
<h3>hello react</h3>
</div>
)

//Babel转换后
/*
var JsxDemo = React.createElement("div", {
className: "app"
}, React.createElement("h3", null, "hello react"));

*/


export default JsxDemo;