Skip to content

Commit

Permalink
Tweak for self closing tag tip
Browse files Browse the repository at this point in the history
  • Loading branch information
zpao committed Nov 14, 2013
1 parent 684e592 commit fe52e05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tips/04-self-closing-tag.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ prev: if-else-in-JSX.html
next: maximum-number-of-jsx-root-nodes.html
---

In JSX, `<MyComponent />` alone is valid while `<MyComponent>` isn't.
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>`).

> Note:
>
Expand Down

0 comments on commit fe52e05

Please sign in to comment.