Skip to content

Commit 3fd6ac5

Browse files
committed
Update 05-maximum-number-of-jsx-root-nodes.md
1 parent f7166d0 commit 3fd6ac5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/tips/05-maximum-number-of-jsx-root-nodes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ next: style-props-value-px.html
99

1010
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.
1111

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.

0 commit comments

Comments
 (0)