Skip to content

Commit 64832c0

Browse files
committed
fix: --
1 parent d423d09 commit 64832c0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

react/JSX.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,7 @@
1414
5. 只有一个根标签
1515
6. 标签必须闭合
1616
7. 标签首字母:若小写字母开头,则将改标签为html中同名元素;若html中无同名元素,则报错。 若大写字母开头,react就去渲染对应的组件,若组件没有定义,则报错。
17+
18+
## js表达式 与 js语句(代码)
19+
20+
1. 表达式:一个表达式会产生一个值,可以放在任何一个需要值的地方

0 commit comments

Comments
 (0)