Tweak for self closing tag tip
Paul O’Shannessy committed
Nov 12, 2013 at 12:52 UTC
fe52e059b93193f062db217f11f98e88eebc4d53
1 file changed
+1
-1
docs/tips/04-self-closing-tag.md
+1
-1
@@ -7,7 +7,7 @@ prev: if-else-in-JSX.html
7
next: maximum-number-of-jsx-root-nodes.html
8
---
9
10
-In JSX, `<MyComponent />` alone is valid while `<MyComponent>` isn't.
10
+In JSX, `<MyComponent />` alone is valid while `<MyComponent>` isn't. All tags must be closed, either with the self-closing format or with a corresponding closing tag (`</MyComponent>`).
11
12
> Note:
13
>