Skip to content

Commit

Permalink
docs: update docs/React/Real DOM_Virtual DOM.md
Browse files Browse the repository at this point in the history
  • Loading branch information
qiufeihong2018 committed May 2, 2024
1 parent 66900d0 commit cead635
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/React/Real DOM_Virtual DOM.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const vDom = React.createElement(

- 简单方便:如果使用手动操作真实 `DOM` 来完成页面,繁琐又容易出错,在大规模应用下维护起来也很困难

- 性能方面:使用 Virtual DOM,能够有效避免真实 DOM 数频繁更新,减少多次引起重绘与回流,提高性能
- 性能方面:使用 Virtual DOM,能够有效避免真实 DOM 频繁更新,减少多次引起重绘与回流,提高性能
- 跨平台:React 借助虚拟 DOM,带来了跨平台的能力,一套代码多端运行

缺点:
Expand Down

0 comments on commit cead635

Please sign in to comment.