Last active
November 10, 2021 09:51
-
-
Save layik/d5e5bb7132cc3b06f5ec5446be02c23f to your computer and use it in GitHub Desktop.
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
<!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