- Vue.js 2 Design Patterns and Best Practices
- Paul Halliday
- 100字
- 2021-06-24 18:33:08
Virtual DOM
Updating DOM nodes is computationally expensive and depending on the size of your application, this can substantially slow down the performance of your application. The Virtual DOM takes the concept of the DOM and provides us an abstraction, which allows for a diffing algorithm to be used to update DOM nodes. To fully take advantage of this, these nodes are no longer accessed with the document prefix and instead are often represented as JavaScript objects.
This allows Vue to work out exactly what changed and only re-render items in the actual DOM that is different from the previous.
推薦閱讀
- Cisco OSPF命令與配置手冊(cè)
- 面向物聯(lián)網(wǎng)的CC2530與傳感器應(yīng)用開發(fā)
- Building E-commerce Sites with VirtueMart Cookbook
- 電子政務(wù)效益的經(jīng)濟(jì)分析與評(píng)價(jià)
- Spring Boot 2.0 Projects
- TCP/IP入門經(jīng)典(第5版)
- Web Application Development with R Using Shiny
- SD-WAN架構(gòu)與技術(shù)(第2版)
- 物聯(lián)網(wǎng)時(shí)代
- 網(wǎng)絡(luò)安全技術(shù)與解決方案(修訂版)
- 邁向自智網(wǎng)絡(luò)時(shí)代:IP自動(dòng)駕駛網(wǎng)絡(luò)
- CCNP TSHOOT(642-832)認(rèn)證考試指南
- 網(wǎng)絡(luò)設(shè)計(jì)與應(yīng)用(第2版)
- 中國(guó)互聯(lián)網(wǎng)發(fā)展報(bào)告2021
- Web用戶查詢?nèi)罩就诰蚺c應(yīng)用