Skip to content

Commit 845c82a

Browse files
committed
React template.
1 parent 287921d commit 845c82a

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

React/000_template.html

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="UTF-8" />
5+
<title>thenewboston</title>
6+
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.13.3/react.js"></script>
7+
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.13.3/JSXTransformer.js"></script>
8+
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
9+
</head>
10+
<body>
11+
12+
<div id="content"></div>
13+
14+
<script type="text/jsx">
15+
16+
var BuckysComponent = React.createClass({
17+
render: function() {
18+
return (
19+
<h2>My name is Bucky</h2>
20+
);
21+
}
22+
});
23+
24+
React.render(<BuckysComponent />, document.getElementById('content'));
25+
26+
</script>
27+
28+
</body>
29+
</html>

0 commit comments

Comments
 (0)