Fork me on GitHub

Coding Poineer

Coding Poineer

Coding Poineer

Coding Poineer

Coding Poineer

Coding Poineer

Coding Poineer

Coding Poineer

Coding Poineer

Coding Poineer

Coding Poineer

摘要: 数组拖拽diff处理: 在数组中给每一项打上的key功效 Vue源码阅读尚不够深,基于已有知识初步判断 数组--> ··产生key映射到组件的哈希表·· --> 产生同一层级的虚拟DOM > 产生同一层级的真实dom 当数组更新后,新旧虚拟dom比较(首先比较key,然后比较key对应的元素) vu 阅读全文
posted @ 2021-11-03 17:57 365/24/60 阅读(21) 评论(0) 推荐(0) 编辑