Created
August 6, 2019 00:58
-
-
Save muddokon/3ef049e8ce274b832872aa44b49d4c38 to your computer and use it in GitHub Desktop.
React Boilerplate V2
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>Hello World</title> | |
<script src="https://unpkg.com/react@16/umd/react.development.js"></script> | |
<script src="https://unpkg.com/react-dom@16/umd/react-dom.development.js"></script> | |
<!-- Don't use this in production: --> | |
<script src="https://unpkg.com/babel-standalone@6.15.0/babel.min.js"></script> | |
</head> | |
<body> | |
<div id="main"> | |
<!--Nótese que comenté esto--> | |
<!--script src="bundle.js" type=”text/javascript”></script--> | |
<script type="text/babel"> | |
ReactDOM.render( | |
<div>HELLO</div>, | |
document.getElementById('main') | |
) | |
</script> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment