mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
new line at end of nac_docs; update to entry 4
This commit is contained in:
@@ -39,4 +39,4 @@
|
||||
</ul>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -9,4 +9,6 @@ next: jsx-root-node-count.html
|
||||
|
||||
In JSX, `<MyComponent />` alone is valid while `<MyComponent>` isn't.
|
||||
|
||||
Related: every React component can be self-closing: `<div/>`.
|
||||
> Note:
|
||||
>
|
||||
> Every React component can be self-closing: `<div />`. `<div></div>` is also an equivalent.
|
||||
|
||||
Reference in New Issue
Block a user