- 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.
推薦閱讀
- Application Development with Qt Creator(Second Edition)
- GPS/GNSS原理與應用(第3版)
- 計算機網絡與通信(第2版)
- Building RESTful Web services with Go
- Mastering Dart
- 光纖通信系統與網絡(修訂版)
- Building Web Applications with ArcGIS
- 5G技術與標準
- React Cookbook
- Scala Design Patterns.
- Implementing NetScaler VPX?
- 中國互聯網發展報告2021
- bash網絡安全運維
- Guide to NoSQL with Azure Cosmos DB
- 物聯網