Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VirtualDOM与diff(Vue实现) #43

Open
sunchenguang opened this issue May 30, 2018 · 4 comments
Open

VirtualDOM与diff(Vue实现) #43

sunchenguang opened this issue May 30, 2018 · 4 comments

Comments

@sunchenguang
Copy link

updateChildren部分,倒数第二个图有错误,那3个新Vnode, 应该插到 oldStartIdx前面,不是放到后面

@Hooho
Copy link

Hooho commented Oct 23, 2018

updateChildren部分,倒数第二个图有错误,那3个新Vnode, 应该插到 oldStartIdx前面,不是放到后面

兄弟你是对的,估计是作者大意了

@wython
Copy link

wython commented Dec 3, 2019

updateChildren部分,倒数第二个图有错误,那3个新Vnode, 应该插到 oldStartIdx前面,不是放到后面

我也是这么觉得

@wangmeijian
Copy link

updateChildren为什么采用双端比对而不是其他算法?仅仅是因为复杂度低?

@gem-tech
Copy link

updateChildren部分,倒数第二个图有错误,那3个新Vnode, 应该插到 oldStartIdx前面,不是放到后面
还是你看得细

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants