<main></main>
var App = (props) => {
return <p>Hello! {props.name}</p>
};
// Same As:
var AppEs5 = function(props) {
return <p>Hello! {props.name}</p>
}
ReactDOM.render(<App name="Eugine" />, document.querySelector('main'));
View Compiled
This Pen doesn't use any external CSS resources.