reactjs learning
2018-06-30 reactjs learning notes.
Download or Loading React
React.createElement
JSX
ReactDOM.render
ReactDOM.render( <h1>Hello, world!</h1>, document.getElementById('root') );
problems
how to compile jsx using typescript.
const React = require("react"); const ReactDOM = require("react-dom"); // test const root81360 = React.createElement('div', {x:4},3); console.log ( root81360 );