Created
January 5, 2018 02:58
-
-
Save chrisabrams/293a08cfb98b6d8f0bb5aff4464f5874 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// start.js | |
import React from 'react' | |
import ReactDOM from 'react-dom' | |
import { hot } from 'react-hot-loader' | |
const App = () => <div>Hello World!! 4</div> | |
const HotApp = hot(module)(App) | |
ReactDOM.render(<HotApp />, document.getElementById('root')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment