Skip to content

Instantly share code, notes, and snippets.

@JacobKnaack JacobKnaack/app.js Secret
Last active Jun 13, 2019

Embed
What would you like to do?
Cosmic Messenger INITIAL React App entry file
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
You can’t perform that action at this time.