Small nit: add a sentence about readability back

This commit is contained in:
Dan Abramov
2016-11-18 16:20:17 +00:00
committed by GitHub
parent e4432c7f76
commit c47340acfb
+1 -1
View File
@@ -48,7 +48,7 @@ ReactDOM.render(
[Try it on CodePen.](http://codepen.io/gaearon/pen/PGEjdG?editors=0010)
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)
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