<div id="container"></div>
// ES6
const Hello = ({name}) => <h1>Hello {name + ' - ' + (new Date()).toLocaleString()}!!!</h1>;

ReactDOM.render(
  <Hello name="World" />,
  document.getElementById('container')
);
View Compiled
Rerun