Skip to content

Instantly share code, notes, and snippets.

@layik
Last active November 10, 2021 09:51
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 layik/d5e5bb7132cc3b06f5ec5446be02c23f to your computer and use it in GitHub Desktop.
Save layik/d5e5bb7132cc3b06f5ec5446be02c23f to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Geoplumber exported React app</title>
</head>
<body>
<!-- We will put our React component inside this div. -->
<div id="geoplumber"></div>
<!-- Load React. -->
<!-- Note: when deploying, replace "development.js" with "production.min.js". -->
<script src="https://unpkg.com/react@16/umd/react.production.min.js"></script>
<script src="https://unpkg.com/react-dom@16/umd/react-dom.production.min.js"></script>
<script src="https://unpkg.com/babel-standalone@6.26.0/babel.js"></script>
<!-- Load React. -->
<script type="text/babel">
ReactDOM.render(
<h1>Hello, JSX!</h1>,
document.getElementById('geoplumber')
);
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment