Files
stack/docs/web/hello_react/how_react_start.md
T
2024-11-08 11:06:12 +08:00

14 lines
252 B
Markdown

---
sidebar_position: 3
---
# 启动流程
React 的 App.js 和之前 hello_world 中的 index.html 有很大的不同
![不同](./difference.png)
这是因为 React 会把 App.js 作为组件挂载到页面视图上
![挂载](./what_happend.png)