You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/02.2-jsx-gotchas.md
-11
Original file line number
Diff line number
Diff line change
@@ -13,17 +13,6 @@ JSX looks like HTML but there are some important differences you may run into.
13
13
>
14
14
> For DOM differences, such as the inline `style` attribute, check [here](/react/docs/dom-differences.html).
15
15
16
-
## Whitespace Removal
17
-
18
-
JSX doesn't follow the same whitespace elimination rules as HTML. JSX removes all whitespace between two curly braces expressions. If you want to have whitespace, simply add `{' '}`.
0 commit comments