Last active
February 4, 2017 20:08
-
-
Save 15Dkatz/05a342c61471be06b4c066ddad2de8ec to your computer and use it in GitHub Desktop.
React boilerplate
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
import React, { Component } from 'react'; | |
import ReactDOM from 'react-dom'; | |
class App extends Component { | |
render() { | |
return ( | |
<div>Hello, world from React and Webpack!</div> | |
) | |
} | |
} | |
ReactDOM.render( | |
<App />, document.getElementById('root') | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment