Skip to content

Instantly share code, notes, and snippets.

@ArjunHariharan
Last active October 30, 2016 17:31
Show Gist options
  • Save ArjunHariharan/c6d9b8127534bf03425c056d2b0b8ed2 to your computer and use it in GitHub Desktop.
Save ArjunHariharan/c6d9b8127534bf03425c056d2b0b8ed2 to your computer and use it in GitHub Desktop.
import React, {Component} from 'react';
import {render} from 'react-dom';
let rootElement = document.getElementById('root');
class App extends Component {
render() {
return (
<h1> Hello World </h1>
)
}
}
render(<App />, rootElement);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment