Browse Source

use an easier word (#8809)

* use an easier word

The word `mandatory` is relatively difficult for people with ESL (English as a second language), so I propose an alternative word.
This would be much easier to understand.

* use simpler word
main
DQNEO 8 years ago
committed by Dan Abramov
parent
commit
aa9abe5fde
  1. 2
      docs/introducing-jsx.md

2
docs/introducing-jsx.md

@ -48,7 +48,7 @@ ReactDOM.render(
[Try it on CodePen.](http://codepen.io/gaearon/pen/PGEjdG?editors=0010)
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).
We split JSX over multiple lines for readability. While it isn't required, 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

Loading…
Cancel
Save