39

浅析Vue源码(九)——VirtualDOM与path

 5 years ago
source link: https://juejin.im/post/5bbb81086fb9a05cfb3dce27
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
今天来讲讲VirtualDom与path之间到底存在什么关系? VNode (VirtualDom) 在未出现双向绑定之前,我们需要在各个触发事件方法中直接操作DOM节点来达到修改相应视图的目的。但是当应用一大就会变得难以维护,reflow(回流)很影响性能的

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK