Last active
November 24, 2020 15:08
-
-
Save sadamiak/89129a927e72cc8c0e445581bdb921d6 to your computer and use it in GitHub Desktop.
Standard HTML file with React, ReactDOM and Babel
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 lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Document</title> | |
</head> | |
<!-- React --> | |
<script src="https://unpkg.com/react@17/umd/react.development.js" crossorigin></script> | |
<!-- ReactDOM --> | |
<script src="https://unpkg.com/react-dom@17/umd/react-dom.development.js" crossorigin></script> | |
<!-- Babel (only needed for JSX support) --> | |
<script src="https://unpkg.com/babel-standalone@6/babel.min.js"></script> | |
<body> | |
<div id="react"></div> | |
<script src="component.js" type="text/babel"></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment