feat: create difference

This commit is contained in:
cqh963852 committed 2022-09-24 17:54:59 +08:00
1 parent 9c0d16ba83
commit c9ca639fa3
3 files changed
+13

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
---
sidebar_position: 3
---
# 相似与不同
React 的 App.js 和之前 hello_world 中的 index.html 有很大的不同
![不同](./difference.png)
这是因为 React 会把 App.js 作为组件挂载到页面视图上
![挂载](./what_happend.png)