Last active
June 29, 2022 08:00
-
-
Save monsterooo/5fb9a7bbe3623f3a0a62266b7ab21c05 to your computer and use it in GitHub Desktop.
hello-react
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
<html> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>Hello World</title> | |
<script src="https://unpkg.com/react@17.0.2/umd/react.production.min.js"></script> | |
<script src="https://unpkg.com/react-dom@17.0.2/umd/react-dom.production.min.js"></script> | |
<script src="https://unpkg.com/@babel/standalone@7.13.12/babel.min.js"></script> | |
</head> | |
<body> | |
<div id="root"></div> | |
<script type="text/jsx"> | |
ReactDOM.render( | |
<h1>Hello, React!</h1>, | |
document.getElementById('root') | |
); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment