From de7312cf8305a83103620e8ea2d66426d4b57e8d Mon Sep 17 00:00:00 2001 From: Kyle Polson Date: Sat, 9 Mar 2019 01:31:24 -0800 Subject: [PATCH] Changed tag to element as its easy to understand (#27543) * Changed tag to element as its easy to understand * Minor grammar fixes --- guide/english/react/jsx/index.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/guide/english/react/jsx/index.md b/guide/english/react/jsx/index.md index 5b8965e498..cf1b544b07 100644 --- a/guide/english/react/jsx/index.md +++ b/guide/english/react/jsx/index.md @@ -49,15 +49,19 @@ function who() { const greet =

Hello {who()}!

; ``` ### Only a single parent tag is allowed -A JSX expression must have only one parent tag. We can add multiple tags nested within the parent element only. +A JSX expression must have only one parent element. We can have multiple elements nested within the parent element. ```jsx // This is valid. const tags = ( - +
+

Hello World!

+

This is my special list:

+ +
); // This is not valid.