@samitouri / QOS-React-2 / commits / 139020d982

Fixed link to displayName component spec from JSX in depth article

Fixed link to displayName component spec from JSX in depth article

Prathamesh Sonpatki committed Mar 29, 2015 at 16:50 UTC 139020d98218a94c66be150750d2b0fdc007bea4
1 file changed +6 -6
docs/docs/02.1-jsx-in-depth.md
+6 -6
@@ -73,7 +73,7 @@ var app = React.createElement(
73 );
74 ```
75
76 -JSX will infer the class's [displayName](/react/docs/component-specs.html#displayName) from the variable assignment when the displayName is undefined:
76 +JSX will infer the class's [displayName](/react/docs/component-specs.html#displayname) from the variable assignment when the displayName is undefined:
77
78 ```javascript
79 // Input (JSX):
@@ -92,7 +92,7 @@ If you want to use JSX, the [Getting Started](/react/docs/getting-started.html)
92 > Note:
93 >
94 > The JSX expression always evaluates to a ReactElement. The actual
95 -> implementation details may vary. An optimized mode could inline the
95 +> implementation details may vary. An optimized mode could inline the
96 > ReactElement as an object literal to bypass the validation code in
97 > `React.createElement`.
98
@@ -146,9 +146,9 @@ JSX will handle this properly when compiling your code.
146
147 ```javascript
148 var App = (
149 - React.createElement(Form, null,
150 - React.createElement(Form.Row, null,
151 - React.createElement(Form.Label, null),
149 + React.createElement(Form, null,
150 + React.createElement(Form.Row, null,
151 + React.createElement(Form.Label, null),
152 React.createElement(Form.Input, null)
153 )
154 )
@@ -210,5 +210,5 @@ var content = (
210 ```
211
212 > NOTE:
213 ->
213 +>
214 > JSX is similar to HTML, but not exactly the same. See [JSX gotchas](/react/docs/jsx-gotchas.html) for some key differences.