Skip to content

Instantly share code, notes, and snippets.

@weslleyaraujo
Last active January 14, 2020 21:16
Show Gist options
  • Save weslleyaraujo/68da06afd29586b0fdeff65e3ec5e789 to your computer and use it in GitHub Desktop.
Save weslleyaraujo/68da06afd29586b0fdeff65e3ec5e789 to your computer and use it in GitHub Desktop.
React w/TypeScript
<div id="app"></div>
{
"scripts": [
"react",
"react-dom"
],
"styles": []
}
function App() {
return (
<div>
Hello
</div>
)
}
ReactDOM.render(<App />, document.getElementById("app"));
body {
background-color: rgb(69, 170, 204);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment