@samitouri / QOS-React-2 / commits / b8f3c7f7fb

Update 02.1-jsx-in-depth.md

amykyta committed Jan 21, 2015 at 12:22 UTC b8f3c7f7fb9455f568610912ce877bb718843639
1 file changed +4 -4
docs/docs/02.1-jsx-in-depth.md
+4 -4
@@ -89,7 +89,7 @@ If you want to use JSX, the [Getting Started](/react/docs/getting-started.html)
89
90 ## Namespaced Components
91
92 -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:
92 +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:
93
94 ```javascript
95 var Form = MyFormComponent;
@@ -107,7 +107,7 @@ var App = (
107 );
108 ```
109
110 -Instead of declare a bunch of variables at the top, you'll get just one component that have other components as attributes.
110 +Instead of declaring a bunch of variables at the top, you'll get just one component that has other components as attributes.
111
112 ```javascript
113 var Form = MyFormComponent;
@@ -122,7 +122,7 @@ var App = (
122 );
123 ```
124
125 -For doing this, you just need to create your *"sub-components"* as attributes of the main component:
125 +To do this, you just need to create your *"sub-components"* as attributes of the main component:
126
127 ```javascript
128 var MyFormComponent = React.createClass({ ... });
@@ -201,4 +201,4 @@ var content = (
201
202 > NOTE:
203 >
204 -> 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
204 +> JSX is similar to HTML, but not exactly the same. See [JSX gotchas](/react/docs/jsx-gotchas.html) for some key differences.