Skip to content

Commit fe1edb6

Browse files
committed
Merge pull request react#2759 from alextsg/patch-2
Update 05-maximum-number-of-jsx-root-nodes.md for capitalization
2 parents e072534 + 3fd6ac5 commit fe1edb6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)