Skip to content

Commit 2c4b2b1

Browse files
authored
Clarify what single-file HTML page is for
1 parent ae7286f commit 2c4b2b1

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Diff for: static/html/single-file-example.html

+12
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,17 @@ <h1>Hello, world!</h1>,
1717
);
1818

1919
</script>
20+
<!--
21+
Note: this page is a great way to try React but it's not suitable for production.
22+
It slowly compiles JSX with Babel in the browser and uses a large development build of React.
23+
24+
To set up a production-ready React build environment, follow these instructions:
25+
* https://reactjs.org/docs/add-react-to-a-new-app.html
26+
* https://reactjs.org/docs/add-react-to-an-existing-app.html
27+
28+
You can also use React without JSX, in which case you can remove Babel:
29+
* https://reactjs.org/docs/react-without-jsx.html
30+
* https://reactjs.org/docs/cdn-links.html
31+
-->
2032
</body>
2133
</html>

0 commit comments

Comments
 (0)