From 00576226793b9209a3e30cc4978bc9b1abd264ff Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Thu, 28 Jun 2018 15:12:21 +0100 Subject: [PATCH] Update single-file-example.html --- static/html/single-file-example.html | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/static/html/single-file-example.html b/static/html/single-file-example.html index 0511d0f9..1b646be3 100644 --- a/static/html/single-file-example.html +++ b/static/html/single-file-example.html @@ -5,6 +5,8 @@ Hello World + + @@ -21,13 +23,14 @@ Note: this page is a great way to try React but it's not suitable for production. It slowly compiles JSX with Babel in the browser and uses a large development build of React. - To set up a production-ready React build environment, follow these instructions: - * https://reactjs.org/docs/add-react-to-a-new-app.html - * https://reactjs.org/docs/add-react-to-an-existing-app.html + Read this section for a production-ready setup with JSX: + http://reactjs.org/docs/add-react-to-a-website.html#add-jsx-to-a-project + + In a larger project, you can use an integrated toolchain that includes JSX instead: + http://reactjs.org/docs/create-a-new-react-app.html You can also use React without JSX, in which case you can remove Babel: - * https://reactjs.org/docs/react-without-jsx.html - * https://reactjs.org/docs/cdn-links.html + https://reactjs.org/docs/react-without-jsx.html -->