Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions public/html/single-file-example.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head>
<meta charset="UTF-8" />
Expand All @@ -11,13 +11,9 @@
</head>
<body>
<div id="root"></div>
<button>submit</button>
<script type="text/babel">

ReactDOM.render(
<h1>Hello, world!</h1>,
document.getElementById('root')
);

ReactDOM.render(<h1>Hello, world!</h1>, document.getElementById('root'));
</script>
<!--
Note: this page is a great way to try React but it's not suitable for production.
Expand Down
Loading