-
-
Save JacobKnaack/a7bf3c8306c6355ccd7351c1db3512b0 to your computer and use it in GitHub Desktop.
Cosmic Messenger INITIAL React App entry file
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 from 'react'; | |
import { hydrate } from 'react-dom'; | |
class App extends React.Component { | |
render() { | |
return ( | |
<div className="app-container"> | |
Hello World | |
</div> | |
); | |
} | |
} | |
hydrate( | |
<App />, | |
document.getElementById('app') | |
); | |
module.hot.accept(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment