Skip to content

Instantly share code, notes, and snippets.

@15Dkatz
Last active February 4, 2017 20:08
Show Gist options
  • Save 15Dkatz/05a342c61471be06b4c066ddad2de8ec to your computer and use it in GitHub Desktop.
Save 15Dkatz/05a342c61471be06b4c066ddad2de8ec to your computer and use it in GitHub Desktop.
React boilerplate
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