From eb1e6ebf49682222e92142d20036c82d82f0e07f Mon Sep 17 00:00:00 2001 From: Julien Bordellier Date: Sat, 2 Aug 2014 11:32:31 +0200 Subject: [PATCH 1/2] Adding a note just below the jQuery inclusion in the tutorial to inform that jQuery is not mandatory. It's linked with #603 --- docs/tutorial.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/tutorial.md b/docs/tutorial.md index 9be7e4272..5c0cee359 100644 --- a/docs/tutorial.md +++ b/docs/tutorial.md @@ -50,6 +50,8 @@ For this tutorial we'll use prebuilt JavaScript files on a CDN. Open up your fav For the remainder of this tutorial, we'll be writing our JavaScript code in this script tag. +**Note:** We included jQuery but it's **NOT** mandatory for React to work. + ### Your first component React is all about modular, composable components. For our comment box example, we'll have the following component structure: From ccb9bd2ee2547dadf0c31f993aa6971225f2d906 Mon Sep 17 00:00:00 2001 From: Julien Bordellier Date: Mon, 4 Aug 2014 10:42:55 +0200 Subject: [PATCH 2/2] Using the markdown's quote syntax and explaining why use include jQuery --- docs/tutorial.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/tutorial.md b/docs/tutorial.md index 5c0cee359..bae097354 100644 --- a/docs/tutorial.md +++ b/docs/tutorial.md @@ -50,7 +50,9 @@ For this tutorial we'll use prebuilt JavaScript files on a CDN. Open up your fav For the remainder of this tutorial, we'll be writing our JavaScript code in this script tag. -**Note:** We included jQuery but it's **NOT** mandatory for React to work. +> Note: +> +> We included jQuery here because we want to simplify the code of our future ajax calls, but it's **NOT** mandatory for React to work. ### Your first component