From 5c995eebba86bfbc6fd6a5c66ef50432de195fc1 Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Fri, 18 Nov 2016 16:20:17 +0000 Subject: [PATCH] Small nit: add a sentence about readability back --- docs/introducing-jsx.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/introducing-jsx.md b/docs/introducing-jsx.md index 7272e6b0..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) -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