@samitouri / QOS-React-2 / commits / 3fd6ac56c1

Update 05-maximum-number-of-jsx-root-nodes.md

Alexander Tseung committed Dec 20, 2014 at 23:59 UTC 3fd6ac56c18fc6fdcb85414c44dfb68ba6cb4192
1 file changed +1 -1
docs/tips/05-maximum-number-of-jsx-root-nodes.md
+1 -1
@@ -9,4 +9,4 @@ next: style-props-value-px.html
9
10 Currently, in a component's `render`, you can only return one node; if you have, say, a list of `div`s to return, you must wrap your components within a `div`, `span` or any other component.
11
12 -Don't forget that JSX compiles into regular js; returning two functions doesn't really make syntactic sense. Likewise, don't put more than one child in a ternary.
12 +Don't forget that JSX compiles into regular JS; returning two functions doesn't really make syntactic sense. Likewise, don't put more than one child in a ternary.