1
0
Fork 0
Obsidian 管理的个人笔记仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
236 B

# 深入理解 JSX
```javascript
/**
* type JSX 的类型
* config JSX 中的属性
* children JSX 的子元素
*/
React.createElement(type, config, children)
```
- 有对应 DOM 节点的元素在 React 中被称为 Host Component