Created
April 5, 2017 10:30
-
-
Save grantsheppard/804e0aed65b0b3502ba2df4b27c47f9a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//////////////////////////////////////////////////////////////////////////////// | |
// Exercise: | |
// | |
// - change the contents of the render function and save the file | |
// - see the updates automatically in your browser without refreshing! | |
//////////////////////////////////////////////////////////////////////////////// | |
import React from 'react' | |
import ReactDOM from 'react-dom' | |
function App() { | |
return <div>Hello World!</div> | |
} | |
ReactDOM.render(<App/>, document.getElementById('app')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment