diff --git a/docs/introducing-jsx.md b/docs/introducing-jsx.md index 75b9a562..9b313bad 100644 --- a/docs/introducing-jsx.md +++ b/docs/introducing-jsx.md @@ -48,7 +48,7 @@ ReactDOM.render( [Try it on CodePen.](http://codepen.io/gaearon/pen/PGEjdG?editors=0010) -We wrapped JSX in parentheses and split it over multiple lines for readability. This also helps avoid the pitfalls of [automatic semicolon insertion](http://stackoverflow.com/q/2846283). +We split JSX over multiple lines for readability. While it isn't mandatory, when doing this, we also recommend wrapping it in parentheses to avoid the pitfalls of [automatic semicolon insertion](http://stackoverflow.com/q/2846283). ### JSX is an Expression Too @@ -114,7 +114,7 @@ const title = response.potentiallyMaliciousInput; const element =