Skip to content

Instantly share code, notes, and snippets.

@methodbox
Created June 23, 2019 16:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save methodbox/77d93217e4912ace4172968818b023ae to your computer and use it in GitHub Desktop.
Save methodbox/77d93217e4912ace4172968818b023ae to your computer and use it in GitHub Desktop.
Parcel Example - index.js
import * as React from "react";
import * as ReactDOM from "react-dom";
class App extends React.Component {
render() {
return (
<div>
<h1>Hello, World.</h1>
</div>
);
}
}
const mountApp = document.getElementById("app");
ReactDOM.render(<App />, mountApp);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment