From 20d2dfec1d876d28f0747c4e65754a2889c245fc Mon Sep 17 00:00:00 2001 From: amykyta Date: Wed, 21 Jan 2015 12:22:29 -0500 Subject: [PATCH] Update 02.1-jsx-in-depth.md --- docs/02.1-jsx-in-depth.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/02.1-jsx-in-depth.md b/docs/02.1-jsx-in-depth.md index 9940de1c..7394198e 100644 --- a/docs/02.1-jsx-in-depth.md +++ b/docs/02.1-jsx-in-depth.md @@ -89,7 +89,7 @@ If you want to use JSX, the [Getting Started](/react/docs/getting-started.html) ## Namespaced Components -If you are building a component that have a lot of childrens, or if you are building your application with some categories of reusable components (like a `Form` category), to make more simple and easiest, you can use a *namespaced component* to avoid something like this: +If you are building a component that has many children, or if you are building your application with some categories of reusable components (like a `Form` category), to make it simpler and easier, you can use a *namespaced component* to avoid something like this: ```javascript var Form = MyFormComponent; @@ -107,7 +107,7 @@ var App = ( ); ``` -Instead of declare a bunch of variables at the top, you'll get just one component that have other components as attributes. +Instead of declaring a bunch of variables at the top, you'll get just one component that has other components as attributes. ```javascript var Form = MyFormComponent; @@ -122,7 +122,7 @@ var App = ( ); ``` -For doing this, you just need to create your *"sub-components"* as attributes of the main component: +To do this, you just need to create your *"sub-components"* as attributes of the main component: ```javascript var MyFormComponent = React.createClass({ ... }); @@ -201,4 +201,4 @@ var content = ( > NOTE: > -> JSX is similar to HTML, but not exactly the same. See [JSX gotchas](/react/docs/jsx-gotchas.html) for some key differences. \ No newline at end of file +> JSX is similar to HTML, but not exactly the same. See [JSX gotchas](/react/docs/jsx-gotchas.html) for some key differences.