Skip to content
Permalink
Browse files

Added React component

  • Loading branch information
drm10001 committed Apr 13, 2020
1 parent 5356967 commit 98ad3ea919cb3c3678083f04ccf7c477120e1af5
Showing with 26 additions and 0 deletions.
  1. +26 −0 index.html
@@ -0,0 +1,26 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />

<title>Dan's React Site</title>

<script src="https://unpkg.com/react@^16/umd/react.production.min.js"></script>
<script src="https://unpkg.com/react-dom@16.13.0/umd/react-dom.production.min.js"></script>
<script src="https://unpkg.com/babel-standalone@6.26.0/babel.js"></script>
</head>

<body>
<div id="root"></div>

<script type="text/babel">
class App extends React.Component {
render() {
return <h1>Rendered with React! Something new!</h1>
}
}

ReactDOM.render(<App />, document.getElementById('root'))
</script>
</body>
</html>

0 comments on commit 98ad3ea

Please sign in to comment.
You can’t perform that action at this time.