mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
Update 02.1-jsx-in-depth.md
Update 02.1-jsx-in-depth.md
This commit is contained in:
1 parent
ee06df1ac5
commit
2257d8aa76
1 file changed
+1
-1
@@ -22,7 +22,7 @@ It doesn't alter the semantics of JavaScript.
|
||||
|
||||
React can either render HTML tags (strings) or React components (classes).
|
||||
|
||||
To render a HTML tag, just use lower-case tag names in JSX:
|
||||
To render an HTML tag, just use lower-case tag names in JSX:
|
||||
|
||||
```javascript
|
||||
var myDivElement = <div className="foo" />;
|
||||
|
||||
Reference in new issue
Block a user